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: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.?
From: Ralph Lange <[email protected]>
To: [email protected]
Date: Thu, 05 Aug 2010 16:48:51 -0400
On 05.08.2010 16:18, Gary V. Vaughan wrote:
If you want to remove the RPATH entries you're probably better off editing the
configure/os/CONFIG files to remove the options, although you may find you
have to set /etc/ld.so.conf so our build tools like flex and antelope are able
to run.  I believe we've added an option to future releases to allow RPATH to
be turned off centrally.
On the contrary, RPATH entries are essential to the way our
packages are installed each to their own directory, otherwise
each user would have to maintain an insanely long LD_LIBRARY_PATH.
However, RPATHs pointing back to the build tree are not good,
which is why I took to the hack of installing each library and
binary in order and relinking it against the installed dependencies
with appropriate install tree RPATH settings (as opposed to
build tree RPATH settings).

If you look what was done for the HP-UX architecture (when it still was supported), we simply compiled *both* locations into RPATH: the build path first, and the generic final installation location second. That way the binaries were running on the development machine (for testing) using the locally build libraries, and when installed on a machine without the build location, they would use the libraries in the generic place.


Ralph


References:
Re: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.? Andrew Johnson
Re: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.? David Dudley
Re: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.? Gary V. Vaughan

Navigate by Date:
Prev: Re: VxWorks and Radius Authentication Ralph Lange
Next: Re: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.? J. Lewis Muir
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: Re: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.? Gary V. Vaughan
Next: Re: How do I install to $prefix/EPICS/bin, $prefix/EPICS/lib etc.? J. Lewis Muir
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, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·