The pgplot binding for PDL uses the standard perl PGPLOT module to access the pgplot library. If you got PGPLOT up and running, the PDL should be able to use it.
For my own installations, I use the system perl location and then create my own local path and perl library. For example, I have two directories (/home/chm/pstuff and /home/chm/pstuff/lib/perl5) as my personal libraries locations: pstuff for the general stuff like /usr/local and pstuff/lib/perl5 for the perl module stuff like with /usr/lib/perl5. Then I do two things: set PERL5LIB env variable to /home/chm/pstuff/lib/perl5 and when I configure PDL I use Makefile.PL PREFIX=/home/chm/pstuff LIB=/home/chm/pstuff/lib/perl5 which configures the module to run from the non-system locations. --Chris . Matthew Kenworthy wrote: > > I'm working through compiling PDL with PGPLOT support under Fedora > Core 9, and I'm trying to work out the best path to go. > > I've installed perl-PDL-2.4.3-12.fc9.i386 from the fedora > repositories, and I assume that the least painful way would be to > build against the fedora core approved sources. > > I have already been able to build the pgplot libraries from source, > but what's the best way to go? > > Is it: > > 1) pull the latest PDL source, compile it, and build against the > system installed perl and my local copy of PGPLOT > > or > > 2) pull my own PERL distribution and everything else, and compile in > my home directory? Problem is, would I have to pully my own PERL > modules into my home directory too? > > or > > 3) someone has a set of RPM for FC9 already built :) > > In any case, if I get it all working, I'll post back an annotated > how-to to the list, if it's useful for others to see. > > Cheers, > > Matt > > -- > Matthew Kenworthy / Assistant Astronomer / Steward Observatory > 933 N. Cherry Ave. / Tucson AZ 85721 / vox 520 626 6720 > > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
