On Tuesday, November 9, 2010 at 09:57:30 (-0800) Alan W. Irwin writes:
 > ...
 > Hi Arjen:
 > 
 > I have moved this part of the plplot-general thread to plplot-devel
 > under a new subject.
 > 
 > Setting PLPLOT_DRV_DIR and PLPLOT_LIB was necessary long ago on the
 > Unix side of things in order to allow the build tree examples to work,
 > but that is no longer necessary.  And from your remarks above it is
 > only necessary now for the VS Windows build environment but not the nmake
 > one.  To help figure out why there is a difference, here is where 
 > PLPLOT_DRV_DIR and PLPLOT_LIB appear in the source tree:
 > ...

FWIW, these are also useful if one needs to relocate the installed library.
I.e. if you want to be able to install a product that links with plplot to a
different location, you can set these:

    export PLPLOT_DRV_DIR=$MYPREFIX/lib/plplot/driversd
    export PL_LIBRARY=$MYPREFIX/share/plplot/tcl
    export PLPLOT_LIB=$MYPREFIX/share/plplot

where $MYPREFIX points to your new "prefix" area containing plplot and other
dependent packages (tcl etc).  Then everything works AFAIK, where "everything"
is defined as the parts of plplot that I use. ;)

-- 
Maurice LeBrun

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to