EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem in building EPICS
From: "Rahul Jain" <[email protected]>
To: "Johnson, Andrew N." <[email protected]>
Cc: [email protected]
Date: Thu, 29 Jan 2015 09:52:05 +0530
Hello,

When I just run 'make' without the 'sudo', I get following error message:-

make -C ./configure install
make[1]: Entering directory `/opt/epics/base-3-14-11/configure'
perl ../src/tools/makeMakefile.pl O.linux-x86 ../..
Cannot create O.linux-x86/Makefile at ../src/tools/makeMakefile.pl line 41.
make[1]: *** [O.linux-x86] Error 2
make[1]: Leaving directory `/opt/epics/base-3-14-11/configure'
make: *** [configure.install] Error 2

As you suggested, I tried to build the latest version 3.14.12.4 by using
'make' without the 'sudo' and it also gave the same above mentioned error
message, but when I used 'sudo make' it was successfully built and
installed.
My directory for the EPICS installation is as follows:-
/opt/epics/base-3.14.12.4
I doubt that 'sudo' is required because I am building EPICS Base in /opt
directory. Please comment on this.

I am trying to build "Libera EPICS Drivers (ver-2.05.2, downloaded from
http://controls.diamond.ac.uk/downloads/other/libera/index.php)", in which
they recommend to build old version of Base 3.14.11. Actually I am a
beginner in EPICS and don't know much about the compatibility of versions.

Please offer your valuable comments on this.

--
Rahul Jain


> ---------------------------- Original Message ----------------------------
> Subject: Re: Problem in building EPICS
> From:    "Johnson, Andrew N." <[email protected]>
> Date:    Wed, January 28, 2015 11:45 am
> To:      "Rahul Jain" <[email protected]>
> Cc:      "EPICS mailing list" <[email protected]>
> --------------------------------------------------------------------------
>
> What happens if you just run 'make' without the 'sudo' (which you should
> not be using, Base does not need to be built as root)?
>
> Are you building an old version of Base for any specific reason? The
> latest version is 3.14.12.4 and contains various advances and bug fixes
> since 3.14.11. The Channel Access network protocol is compatible across
> different versions.
>
> - Andrew
>
> --
> Sent from my iPad
>
>> On Jan 27, 2015, at 11:26 PM, Rahul Jain <[email protected]> wrote:
>>
>> Hello
>>
>> I am trying to build EPICS base 3.14.11 on linux-x86 (32 bit) but when I
>> run sudo make command, I get following error:
>>
>> confiugure/CONFIG:55: configure/os/CONFIG.unsupported.Common: No such
>> file
>> or directory
>> *** No rule to make target 'configure/os/ CONFIG.unsupported.Common'.
>> Stop
>>
>> I have used following configuration set up for crosscompiling EPICS
>>
>> Set up of configure/CONFIG_SITE script
>> CROSS_COMPILER_TARGET_ARCHS=linux-arm
>> CROSS_COMPILER_HOST_ARCHS=linux-x86
>> SHARED_LIBRARIES=NO
>> STATIC_BUILD=YES
>>
>> Our cross-compiling toolchain is in
>> $HOME/local/x-tools/arm-unknown-linux
>> gnueabi, so I used following configuration:-
>>
>> Set up of configure/os/CONFIG_SITE.linux-x86.linux-arm
>> GNU_DIR = $HOME/local/x-tools/arm-unknown-linux gnueabi
>> GNU_TARGET = arm-unknown-linux gnueabi
>>
>> I have also tried setting up EPICS_HOST_ARCH environment variable
>> seperately by using following command:
>>
>> export EPICS_HOST_ARCH=linux-x86
>>
>> I am still getting same error message, Please solve my above query.
>>
>>
>> Thanks
>>
>> Rahul Jain
>>
>>
>


Replies:
Re: Problem in building EPICS J. Lewis Muir
References:
Re: Problem in building EPICS Johnson, Andrew N.

Navigate by Date:
Prev: RE: trouble building asyn driver on FreeBSD Mark Rivers
Next: RE: caQtDM Zai Wang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem in building EPICS Johnson, Andrew N.
Next: Re: Problem in building EPICS J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·