On 2008-12-04 14:50-0700 Doug Hunt wrote: >> Also, could you put some basic cookbook-style instructions in >> examples/perl/README.perldemos so a perl newbie (like me) could download >> and >> install PDL-Graphics-PLplot-0.40? I would like to test out your updated >> examples. (My current installed version of PDL is 2.4.3-8 from Debian >> Lenny.) > > You should be able to download PDL-Graphics-PLplot-0.40.tar.gz from CPAN, > then: > > tar -xvzf PDL-Graphics-PLplot-0.40.tar.gz > cd PDL-Graphics-PLplot-0.40 > perl Makefile.PL > make > make test > make install
I would prefer to be able to switch back and forth between the official Debian PDL interface to PLplot and this new version so I can compare results for both versions. So what is the best way to set that up? I assume there is a way to install to a separate install prefix so you don't overwrite the system version. What is the syntax for that? Also, how do you hook up the system versions of Perl and PDL with that separate install prefix for PDL-Graphics-PLplot-0.40? > I just uploaded a new version to CPAN which should support this [version test]. > Now: > > perl -MPDL::Graphics::PLplot -e 'print "$PDL::Graphics::PLplot::VERSION\n"' > > should work, printing '0.41'. A test of 0.41 or greater should suffice, as I > know I'll be releasing 0.42 soon. Thanks for this. I just checked that the above command returns the null string for the official Debian Lenny version (instead of erroring out) so it should be straightforward to use this command inside a CMake execute_process command to help set HAVE_PDL_GRAPHICS_PLPLOT_40. 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 __________________________ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel