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: "J. Lewis Muir" <[email protected]>
To: Rahul Jain <[email protected]>
Cc: [email protected]
Date: Thu, 29 Jan 2015 10:15:51 -0600
On 1/28/15 10:22 PM, Rahul Jain wrote:
> 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.

Hello, Rahul.

How did you extract the EPICS Base source to /opt/epics/base-3-14-11?
If you extracted it as root or with sudo, then the ownership and
permissions might be such that you could get this kind of error when
running "make" from your regular account.

One way to fix this would be the following, assuming your regular
account user is "rahuljain" and your group is "users":

$ sudo chown -R rahuljain:users /opt/epics/base-3-14-11

Now, as your regular user ("rahuljain") do the following:

$ cd /opt/epics/base-3-14-11
$ make clean uninstall
$ make

Lewis

References:
Re: Problem in building EPICS Johnson, Andrew N.
Re: Problem in building EPICS Rahul Jain

Navigate by Date:
Prev: Re: trouble building asyn driver on FreeBSD Andrew Johnson
Next: Re: trouble building asyn driver on FreeBSD 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 
Navigate by Thread:
Prev: Re: Problem in building EPICS Rahul Jain
Next: Issues with installing the adPython plugin for areaDetector David Michel
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 ·