On 2007-10-30 06:23+0100 Arjen Markus wrote:

> I can confirm this: apparently LD_LIBRARY_PATH is not used, but PATH is
> (as is the method for Windows programs in general).
>
> The one issue that is left is that I have to copy the font files
> manually from the directory with the sources, not the build directory,
> before the examples can run.

Moving files around (or even the preferred alternative of setting a lot of
environment variables) should only be an issue in the build tree.  In
general the build tree is a complicated situation because everything is
spread all over the place. To see what really has to be done in the build
tree have a look at how TEST_ENVIRONMENT is set up and used in
test/CMakeLists.txt.  Virtually none of these environment variable
complications are necessary in the install tree because everything
(including fonts) is installed in a known location that is built right into
the code.

Therefore, Arjen, have you actually tried building the examples in the
install tree (after "make install" has been run) and running make and
./plplot-test.sh in the installed examples directory (e.g., in
$prefix/share/plplot5.8.0-RC1/examples, where $prefix is the installation
prefix you specified on the cmake command line?  For that case, there should
be no need to copy any files (assuming you have $prefix/lib, the single
location where all the libraries are installed, on your PATH).

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to