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: "Gary V. Vaughan" <[email protected]>
Cc: [email protected]
Date: Thu, 05 Aug 2010 14:16:51 -0400
Are you aware that BNL provides EPICS packages for Debian/-derivatives, and Cosylab packaged it for Fedora?

Ralph


On 05.08.2010 14:14, Gary V. Vaughan wrote:
Hi,

I am in the process of trying to package EPICS base 3.14.11 into
native package format on several commercial UNICES, but I can't
find a nice way to have it install into a standard tree:

   $INSTALL_PREFIX/
     +-- bin/
     |    '-- {binaries and scripts go here}
     +-- db/
     |    `-- softIocExit.db
     +-- dbd/
     |    `-- {dbd files}
     +-- doc/
     |    '-- html/
     |         `-- {html documentation}
     +-- include/
     |    `-- {C and C++ header files}
     +-- lib/
     |    +-- {compiled libraries}
     |    `-- perl-5.8.8/
     |         `-- {perl modules}
     `-- templates/
          `-- {template files}

If I change INSTALL_LOCATION to be anything other than $(TOP)
then make fails to find any sources to link, and there don't
appear to be any installation rules to relink the libraries
and binaries at install time -- nearly all other programs I've
packaged provide a 'make install' rule for this purpose.

I've got a kludgy workaround that finds lines in the build.log
file beginning 'g++ -o', and calls the installed libtool script
to relink targets that match into the install tree structure above
without leaving references to directories or libraries in the build
tree in RPATH entries.

Is there a way to install a runtime EPICS base into the root
directory using the existing build system?

Thanks in advance for your help!

Cheers,

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

Navigate by Date:
Prev: 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.? Davidsaver, Michael
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: 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.? Gary V. Vaughan
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 ·