From: Alan W. I. <ir...@be...> - 2001-11-27 00:38:22
|
On Tue, 27 Nov 2001, [iso-8859-1] Jo=E3o Cardoso wrote: > But I still have one doubt. Currently, $driverlibs in dyndrv.in uses > all libs that libplplot is linked with; I think that the dyn-drivers > only needs to be linked with libplplot itself, (as libplplot itself > is linked with tclmatrix, etc, and as such the dyn-driver will find > them). Probably....;-) > > But this dyn-driver linking stuff has given so many problems (sorry > Geoffrey :) that I'm afraid to change it again. I am afraid also....;-) > I would > like to try the java bindings but somehow I forgot the environment > variables receipe (CLASSPATH=3Djava and LD_LIBRARY_PATH=3D`pwd` ? "make > jdemos" runs OK). Here is the java recipe I use: #point to whatever jdk you have setenv JAVA_HOME /home/software/java/jdk1.2.2/ #so you have access to java and javac setenv PATH $PATH":$JAVA_HOME/bin" setenv CLASSPATH java setenv LD_LIBRARY_PATH . #to run in plplot/tmp Then run configure with appropriate options (and make sure it finds java). make; cd tmp; make jdemos java plplot.examples.x01 -dev png -o test.png That last command works fine for me with the current CVS. Note on newer jdk's you can use the command "java plplot/examples/x01 ...", instead, but that doesn't work on old jdk versions so I stick with the dots. > > Can you check it out, Alan? Yes, java with -dev png works fine with current CVS (see above). Alan email: ir...@be... phone: 250-727-2902=09FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |