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  <20102011  2012  2013  2014  2015  2016  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Solais 10 3.14.10 build problem
From: "Allison, Stephanie" <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Cc: tl <[email protected]>, "Michael P. Carpenter" <[email protected]>
Date: Thu, 4 Nov 2010 13:47:02 -0700
Hi Torben,

I had the same problem and in my case, I dropped down to gmake 3.81.  Janet Anderson also suggests this fix:

-----Original Message-----
From: Janet [mailto:[email protected]] 
Sent: Friday, August 27, 2010 4:23 PM
To: Allison, Stephanie
Subject: Re: GNU make 3.82 problem

Hi Stephanie,

I tried building the EPICS base (bazaar 3.14 branch ) with GNU make 3.82 
today on solaris-sparc and I too had build problems when installing 
shared libraries.  I made the following change and the build now seems 
to work. I will
test it more on Monday and commit the change if I don't encounter any 
problems. Thanks.

Janet


=== modified file 'configure/RULES_BUILD'
--- configure/RULES_BUILD       2010-08-04 19:16:14 +0000
+++ configure/RULES_BUILD       2010-08-27 20:28:09 +0000
@@ -378,7 +378,7 @@
         $(ECHO) "Installing library $@"
         @$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_LIB)

-$(INSTALL_SHRLIB)/lib%: lib%
+$(INSTALL_SHRLIBS): $(INSTALL_SHRLIB)/%: %
         $(ECHO) "Installing shared library $@"
         @$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_SHRLIB)
  ifneq (,$(strip $(SHRLIB_VERSION)))






On 8/23/2010 6:08 PM, Allison, Stephanie wrote:
> Hello,
>
> Has anybody built epics 3.14.11 using GNU make 3.82?  I had to upgrade my gnu make and got 3.82 but then had problems with the EPICS base build where it tried to install an object library as a shareable library (on both solaris-sparc-gnu and linux-x86).  I went back and got 3.81 instead - it works fine and I'll stick with it.  I see that 3.82 is a very recent release (July 28, 2010).  The software requirements for 3.14.11 say GNU make "3.81 or higher" so perhaps I'm doing something wrong.
>
> Thank you,
> Stephanie Allison
> [email protected]
>
>    

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of torben lauritsen
> Sent: Thursday, November 04, 2010 12:13 PM
> To: [email protected]
> Cc: tl; Michael P. Carpenter
> Subject: Solais 10 3.14.10 build problem
> 
> Hi,
> 
> I'm trying to compile EPICS base 3.14.10 on a Sun
> Solaris 10 machine. But the .a files in
> lib/solaris-sparc ends up being links to themselves
> and not copied/installed as they should, so the compilation
> fails. I cannot figure out what causes this problem!
> 
> I do this:
> 
> cd /dk/bgo41/tl/EPICS/base-3.14.10
> setenv EPICS_HOST_ARCH solaris-sparc
> setenv PATH /usr/bin:/opt/SUNWspro/bin:/usr/dt/bin:/usr/openwin/bin
> setenv LD_LIBRARY_PATH /usr/lib:/usr/openwin/lib:/usr/local/lib
> alias make /usr/local/bin/make
> make distclean
> make
> 
> It goes for quite a while, but then I see this
> 
> .
> .
> o devLibOSD.o taskwd.o epicsTimer.o timer.o timerQueue.o timerQueueActive.o
> timerQueueActiveMgr.o timerQueuePassive.o tsDefs.o     -lposix4 -lpthread     -lm -lsocket -
> lnsl -lumem -lCrun -lc -lCstd
> Installing shared library ../../../lib/solaris-sparc/libCom.so.3.14
> mkdir ../../../lib/solaris-sparc
> ln -s libCom.so.3.14 ../../../lib/solaris-sparc/libCom.so
> Installing shared library ../../../lib/solaris-sparc/libCom.a
> ln -s libCom.a ../../../lib/solaris-sparc/libCom.a
> make[3]: stat: ../../../lib/solaris-sparc/libCom.a: Number of symbolic links encountered during
> path name traversal exceeds MAXSYMLINKS
> Installing html ../../../html//freeList/freeList.html
> mkdir ../../../html
> mkdir ../../../html/freeList
> Installing html ../../../html//gpHash/gpHash.html
> mkdir ../../../html/gpHash
> make[3]: Leaving directory `/dk/bgo41/tl/EPICS/base-3.14.10/src/libCom/O.solaris-sparc'
> .
> .
> 
> and some time later it fails completely when it tries to use libCom.a
> 
> 
> 
> /usr/local/bin/make -C O.solaris-sparc -f ../Makefile TOP=../../.. T_A=solaris-sparc install
> make[3]: Entering directory `/dk/bgo41/tl/EPICS/base-3.14.10/src/libCom/O.solaris-sparc'
> make[3]: stat: ../../../lib/solaris-sparc/libCom.a: Number of symbolic links encountered during
> path name traversal exceeds MAXSYMLINKS
> Installing shared library ../../../lib/solaris-sparc/libCom.a
> Copy failed at ../../../bin/solaris-sparc/installEpics.pl line 88.
> make[3]: *** [../../../lib/solaris-sparc/libCom.a] Error 90
> make[3]: Leaving directory `/dk/bgo41/tl/EPICS/base-3.14.10/src/libCom/O.solaris-sparc'
> make[2]: *** [install.solaris-sparc] Error 2
> make[2]: Leaving directory `/dk/bgo41/tl/EPICS/base-3.14.10/src/libCom'
> make[1]: *** [libCom.install] Error 2
> make[1]: Leaving directory `/dk/bgo41/tl/EPICS/base-3.14.10/src'
> make: *** [src.install] Error 2
> 
> ------------------------------------------
> 
> and, indeed, when I look
> 
> ls -l lib/solaris-sparc
> total 1208
> lrwxrwxrwx   1 tl       tl             8 Nov  4 13:40 libCom.a -> libCom.a
> lrwxrwxrwx   1 tl       tl            14 Nov  4 13:40 libCom.so -> libCom.so.3.14
> -rw-r--r--   1 tl       tl        614976 Nov  4 13:40 libCom.so.3.14
> 
> I see libCom.a is a link to itself and was not copied as it should have been
> [libCom.a was actually compiled OK, I think it is just the installation
> that fail]
> 
> -----------------------------------------
> FYI:
> > make -version
> GNU Make 3.82
> Built for sparc-sun-solaris2.10
> Copyright (C) 2010  Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> ------------------------------------------
> FYI:
> > perl -version
> 
> This is perl 5, version 12, subversion 0 (v5.12.0) built for sun4-solaris
> 
> Copyright 1987-2010, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5 source kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl".  If you have access to the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
> ------------------------------------------
> FYI:
> > printenv
> USER=tl
> LOGNAME=tl
> HOME=/home3/tl
> PATH=/usr/bin:/opt/SUNWspro/bin:/usr/dt/bin:/usr/openwin/bin
> MAIL=/var/mail//tl
> SHELL=/bin/tcsh
> TERM=xterm
> DISPLAY=bohr:15.0
> HOSTTYPE=sun4
> VENDOR=sun
> OSTYPE=solaris
> MACHTYPE=sparc
> SHLVL=1
> PWD=/home3/tl
> GROUP=tl
> HOST=bohr
> REMOTEHOST=halfpint.phy.anl.gov
> EPICS_HOST_ARCH=solaris-sparc
> LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/local/lib
> ------------------------------------------
> FYI:
> > alias
> make    /usr/local/bin/make
> ------------------------------------------
> FYI:
> > echo $PATH
> /usr/bin:/opt/SUNWspro/bin:/usr/dt/bin:/usr/openwin/bin
> ------------------------------------------
> 
> If I compile under Linux, all works well
> 
> EPICS_HOST_ARCH="linux-x86"
> cd /home/tl/d6/EPICS/base-3.14.10
> make
> 
> It compiles flawlessly and I see
> 
> ls -l lib/linux-x86/libCom*
> -rw-r--r--. 1 tl tl 1649508 Nov  4 13:48 lib/linux-x86/libCom.a
> lrwxrwxrwx. 1 tl tl      14 Nov  4 13:48 lib/linux-x86/libCom.so -> libCom.so.3.14
> -rw-r--r--. 1 tl tl 1017267 Nov  4 13:48 lib/linux-x86/libCom.so.3.14
> 
> This time libCom.a is installed correctly and is NOT just a link to itself
> 
> ------------------------------------------
> 
> What can I do to fix this problem?
> 
> 
> 
> --
> Torben Lauritsen
> 9700 S. Cass Av.
> Argonne, IL 60439
> phone: 630.252.4026



References:
Solais 10 3.14.10 build problem torben lauritsen

Navigate by Date:
Prev: Solais 10 3.14.10 build problem torben lauritsen
Next: Re: making edm draw the desired related display based on value of a PV Dayle Kotturi
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Solais 10 3.14.10 build problem torben lauritsen
Next: base 3-14-11 and breakpoint tables for ai and ao Mark Clift
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 04 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·