Because PLplot now has an incremented SOVERSION, I had to rebuild
PDL::Graphics::PLplot (the latest version = 0.52).  I have attached my
cookbook for doing that in case anybody else wants to do complete
testing of PDL::Graphics::PLplot against modern PLplot.

The result is a PDL module which is linked against the svn trunk of
PLplot (SOVERSION 10), and which also suppresses the use of rpath.
That suppression is fairly essential since use of rpath means
LD_LIBRARY_PATH is ignored, and that environment variable helps us
switch between the build-tree version of PLplot and the install-tree
version of PLplot (see plplot_test/test_pdl.sh(.in).

Here is the PostScript difference summary:

perl
  Missing examples            :
  Differing postscript output :  03 04 16 19 25 26 29 30
  Missing stdout              :
  Differing stdout            :

Those many differing PostScript results show the PDL bindings and
examples need some TLC.

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
__________________________
Instructions for building and installing Doug Hunt's latest version of the
PDL Graphics PLplot module (currently version 0.52)

export PDL_GRAPHICS_PLPLOT_VERSION=0.52

export TARBALL_ROOT_NAME=PDL-Graphics-PLplot-$PDL_GRAPHICS_PLPLOT_VERSION

wget \
http://search.cpan.org/CPAN/authors/id/D/DH/DHUNT/$TARBALL_ROOT_NAME.tar.gz

# To look at contents of tarball
less $TARBALL_ROOT_NAME.tar.gz

tar zxf $TARBALL_ROOT_NAME.tar.gz

cd $TARBALL_ROOT_NAME

env PLPLOT_LIBDIR=/home/software/plplot_svn/installcmake/lib \
PLPLOT_INCDIR=/home/software/plplot_svn/installcmake/include/plplot \
perl Makefile.PL
# No hard rpath coded so that LD_LIBRARY_PATH will work
env LD_RUN_PATH= \
make -e >& make.out
make test >& make_test.out

# Before using this directory you should make sure it is empty.

rm -rf /home/software/pdl/install-$PDL_GRAPHICS_PLPLOT_VERSION

# Go ahead and install

export PDL_GRAPHICS_PLPLOT_PREFIX=\
/home/software/pdl/install-$PDL_GRAPHICS_PLPLOT_VERSION
make PREFIX=$PDL_GRAPHICS_PLPLOT_PREFIX install >& make_install.out

# Update install location.

cd ..

rm -f install
ln -s install-$PDL_GRAPHICS_PLPLOT_VERSION install

Normally, that should be sufficient if the file manifest/organization
is not changed from the previous release of PDL/PLplot, but if you
want to/need to check further in detail, the do the following:

# Check what files have been installed

find $PDL_GRAPHICS_PLPLOT_PREFIX -type f

# Find the equivalent files in your PDL installation.  For example, on my
# system the equivalent files are

/usr/lib/perl5/PDL/Graphics/PLplot.pm
/usr/lib/perl5/auto/PDL/Graphics/PLplot
/usr/lib/perl5/auto/PDL/Graphics/PLplot/PLplot.so
/usr/lib/perl5/auto/PDL/Graphics/PLplot/PLplot.bs

# Back those up (so none of your further changes are irrevocable), and
# replace them (probably with the aid of symlinks for convenience).  You can
# ignore some of the list you generate with the above find command, but you
# do have to replace/symlink everything in the .../PDL/Graphics/PLplot
# directory and also replace/symlink the individual file,
# .../PDL/Graphics/PLplot.pm.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to