Experimental Physics and
| |||||||||||||||||
|
Unset RUNTIME_LDFLAGS in your Makefile or CONFIG.*. But then you must setup LD_LIBRARY_PATH properly or use ldconfig. However, what I do is to set INSTALL_LOCATION of base to a specific installation directory, e.g. /usr/local/epics/base-3.14.8. This will be used for rpath, not the source directory! Then I build base, pack the installation directory and install it to all PCs. However, for extensions like medm, I set EPICS_BASE to /usr/local/epics/base, which is a symbolic link to the current base version. > ls -l /usr/local/epics total 40 lrwxrwxrwx 1 root root 11 Jun 1 02:36 base -> base-3.14.8 drwxrwxr-x 9 root sls 4096 Apr 12 2006 base-3.13.10 drwxr-xr-x 10 root sls 4096 Apr 12 2006 base-3.13.2 drwxr-xr-x 10 root sls 4096 Apr 12 2006 base-3.13.9 drwxrwxr-x 11 root sls 4096 Dec 14 2006 base-3.14.7 drwxrwxr-x 11 root sls 4096 Jul 17 13:23 base-3.14.8 drwxrwxr-x 11 root sls 4096 May 16 17:44 base-3.14.9 drwxrwxr-x 11 root sls 4096 Nov 23 2006 base-3.14.CVS drwxrwxr-x 12 root sls 4096 Nov 17 2006 extensions lrwxrwxrwx 1 root sls 10 Aug 17 2006 seq -> seq-2.0.10 drwxrwxr-x 7 root sls 4096 Jun 21 15:02 seq-2.0.10 drwxrwxr-x 3 root sls 4096 Apr 3 2006 seq-2.0.8 Thus, when I change the symbolic link to a new version of base, all client programs will automatically use the new version. Dirk Heinrich du Toit wrote: Hi
| ||||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |