From: Alan W. I. <ir...@be...> - 2003-07-09 17:18:09
|
On Wed, 9 Jul 2003, Aldric L'Hernault wrote: > Hello, > > I managed to compile plplot 5.2.1 with static drivers, > but it fails as soon as I move the install tree from > $prefix location. > I verified each library: they all have the SHLIB_PATH/LD_LIBRARY_PATH > enable, with dynamic search for linked libraries. > > > I run into troubles when I try to load it into tcl > The 'package require Pltk' doesn't complain but doesn't > either return the version string (5.2.1) nore defines the plinit > and other pl* commands > All goes right if I move the tree back to original $prefix location > > Has someone succeeded into loading plplot package into tcl/wish > by the mean of SHLIB_PATH/LD_LIBRARY_PATH ? > > Thanks for any hint, The location where the PLplot libraries, fonts, drivers, etc. are installed is configured into the PLplot code so the most convenient way to change it is by running ./configure with the appropriate prefix option, rebuilding, and reinstalling. Note, the installed examples tree can be copied anywhere and should still work (so long as the libraries, fonts, etc. remain in the installed location). Note, I may be missing something here, but I don't see why you want to change the install location after the fact. Just specify the correct install location for your needs when you first configure, and everything is fine (at least on Linux) for tcl/tk if you follow the instructions in $prefix/lib/plplot5.2.1/examples/tcl/README.tcldemos and $prefix/lib/plplot5.2.1/examples/tk/README.tkdemos. Those instructions give you a whole series of things to try. Please let us know what works and what does not on HPUX (with lots of details such as error messages in the latter case). Thanks very much for helping to sort out the PLplot problems on HPUX. For that case we must rely on user reports like yours since that platform is not currently accessible to our developers. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), and the Loads of Linux Links project (loll.sf.net). __________________________ Linux-powered Science __________________________ |