1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 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 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [EPICS] Support for Staged Installs ? |
From: | Michael Davidsaver <[email protected]> |
To: | [email protected] |
Date: | Sun, 05 Oct 2014 12:54:25 -0400 |
On 10/05/2014 09:08 AM, Ralph Lange
wrote:
... The EPICS makefiles don't allow the full generality of autoconf/automake, but they come close. The rough equivalent of $ ./configure --prefix=/usr/local/epics Would be $ make FINAL_LOCATION=/usr/local/epics INSTALL_LOCATION=/tmp/builddir LINKER_USE_RPATH=NO The LINKER_USE_RPATH=NO is necessary as rpath is always set using INSTALL_LOCATION. So unlike auto* it will be necessary for users to set LD_LIBRARY_PATH. Alternately you can adjust the runtime linker config[3], or use an ELF file editor[1] to set rpath yourself. I use this recipe (almost) when building debian linux packages[2]. I don't bother with INSTALL_LOCATION since I already have to pick which files to include in the installable package. It can be helpful if you're looking to quickly tar the result. [1] http://nixos.org/patchelf.html [2] https://github.com/epicsdeb/epics-base/blob/master/debian/rules [3] cf. /etc/ld.so.conf |