Date: 2011-04-30 04:16:29 +0000 (Sat, 30 Apr 2011)
Update PDL::Graphics::PLplot build instructions consistent with the
latest release (0.55). Also, append PLplot Perl/PDL examples testing
--- trunk/examples/perl/README.perldemos 2011-04-30 02:53:48 UTC (rev 11731)
+++ trunk/examples/perl/README.perldemos 2011-04-30 04:16:29 UTC (rev 11732)
@@ -20,18 +20,13 @@
# Adjust this value to the prefix of that PLplot installation.
-# Check http://search.cpan.org/~dhunt/PDL-Graphics-PLplot-0.52 to see
-# if there is a later version than 0.52 (the latest version at this
+# Check http://search.cpan.org/~dhunt/PDL-Graphics-PLplot-0.55 to see
+# if there is a later version than 0.55 (the latest version at this
# time of writing).
# Adjust this value to the latest version.
-# Adjust this value for the path to the needed (for version 0.52 of
-# PDL::Graphics::PLplot) patch.
# Adjust this value to where you want the PDL Graphics PLplot module
# to be installed.
@@ -48,12 +43,6 @@
tar zxf $TARBALL_ROOT_NAME.tar.gz
-# Must patch plplot.pd to get it to work with preliminary versions of
-# PLplot-5.9.8 which has backwards incompatible changes due to
-# removed functions that have long been deprecated.
-patch -p0 <$PATCH
env PLPLOT_LIBDIR=$PLPLOT_INSTALL_PREFIX/lib \
@@ -61,14 +50,19 @@
# No hard rpath coded so that LD_LIBRARY_PATH will work
env LD_RUN_PATH= \
make -e >& make.out
+# N.B. this is also necessary for the PLplot detection of
+# PDL::Graphics::PLplot to work during cmake step of PLplot build.
make test >& make_test.out
# Remove this directory before using it for the install.
rm -rf $PDL_GRAPHICS_PLPLOT_PREFIX
make PREFIX=$PDL_GRAPHICS_PLPLOT_PREFIX install >& make_install.out
# Update the install location.
@@ -92,3 +86,23 @@
# do have to replace/symlink the .../PDL/Graphics/PLplot directory
# and also replace/symlink the individual file,
+Testing the Perl/PDL PLplot examples.
+1a. Make sure you have set LD_LIBRARY_PATH correctly, see above, and do
+not remove the PLplot installation. Otherwise, cmake won't be able to
+find the PDL::Graphics::PLplot installation that was just done.
+1b. Go ahead and remove the old PLplot installation, and skip version
+checks for PDL::Graphics::PLplot using -DSKIP_PDL_CHECK=ON for
+cmake step below.
+2. Normal cmake step for PLplot build. If you want to do build-tree
+tests of Perl/PDl examples, then use the -DBUILD_TEST=ON option.
+Check the cmake output to make sure PDL::Graphics::PLplot was found
+with correct version if -DSKIP_PDL_CHECK=ON option was not used.
+Alternatively, use -DSKIP_PDL_CHECK=ON (see 1b above) which skips
+all version checks for PDL::Graphics::PLplot
+3. Normal noninteractive test (e.g., ctest in the build tree or
+"make test_noninteractive" or "make test_diff_psc" in the build tree).
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.