On 2014-11-28 12:12-0700 Walt Brainerd wrote:

> [...]Then I tried copying the entire install directory to a different location
> (if they are to become part of the Fortran Tools, they need to run
> in an arbitrary location, so people can install them in different places).

Hi Walt:

It appears to me you have pin-pointed the issue; PLplot needs access
to Hershey font files, color map files, and the directory where the
drivers are located.  For example 19 to work it also needs access to
map files. All those data are installed in certain hard-coded
locations in the install tree.  So if you attempt to copy the install
directory to a different location, for example, and the original
installation is lost or inaccessible (say on a different computer),
PLplot won't be able to find the data it needs without all the
workarounds that Arjen mentioned.

CMake does support DESTDIR (see
<http://www.gnu.org/software/automake/manual/html_node/DESTDIR.html for
a discussion of that concept), and that might be some partial help to
you.  For example,

make DESTDIR=<staging directory> install

allows you to collect the installation files in a different "staging"
prefix location then their final location as specified by the CMake
cached variable CMAKE_INSTALL_PREFIX.  This is very helpful for
package managers.  And it also might be a help to you where you appear
to need additional install locations.  However, note that the
hard-coded locations referred to above all use the install prefix
specified by CMAKE_INSTALL_PREFIX (for obvious reasons since that is
the only install prefix known at build time) so if you used DESTDIR to
install PLplot with a lot of different install prefixes, those would
only work if you used the workarounds suggested by Arjen to help
PLplot find what it needed in the location specified by DESTDIR (as
opposed to the hard-coded locations with the CMAKE_INSTALL_PREFIX that
it already knows about).

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to