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,