This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
There are several ways to address this; and before making this change I think we should consider our options:
- wire build RPATH into binaries
Doesn't work: the installed binary could load incorrect build-tree solibs and vice versa
- rely on the developers to provide the path explicitly: LD_LIBRARY_PATH=<path-to-all-solibs> ./frysk-core/frysk/bindir/fhpd (chance of us getting that right? 0 :-)
- provide a wrapper script that sets the environment vis: ./BuildTree ./frysk-core/frysk/bindir/fhpd
- have 'TestRunner' export LD_LIBRARY_PATH before invoking any utilities
- create two versions of the binary; one for build-tree and one for install tree
- switch to install-tree testingIMO should be install tree testing anyway, as it simulates the environment when Frysk is deployed much more accurately. +1 for this way,
Would mean breaking configure convention and set --prefix=. On the other hand it would mean only testing one way.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |