Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- pdl on win32
December 13, 2009, 1:42 am
rate this thread
Re: pdl on win32
See? You don't need to ask us if you're missing any modules - Perl has
already told you that you are.
Installing PDL on ActiveState presents a bit of a Catch-22. There are
instructions for installing it with PPM in the win32/ subdirectory of
the module tarball, but using PPM means you don't normally download
tarballs and look inside.
Here's the instructions - it looks like you didn't install all of the
modules listed here.
Installing on Win32
To install via ppm:
First up install Astro::FITS::Header by running:
ppm install Astro-FITS-Header
Then install the OpenGL, PGPLOT and PDL modules from the uwinnipeg rep
For perl 5.8:
ppm install http://theoryx5.uwinnipeg.ca/ppms/OpenGL.ppd
ppm install http://theoryx5.uwinnipeg.ca/ppms/PGPLOT.ppd
ppm install http://theoryx5.uwinnipeg.ca/ppms/PDL.ppd
Re: pdl on win32
You can 'ppm install' PGPLOT from the uwinnipeg repository. The actual
command you need to run may vary depending upon whether you have
perl-5.8 or perl-5.10 (and upon whether you have added the appropriate
uwinnipeg rep to the list of reps that ppm searches by default).
The 5.8 rep is at http://theoryx5.uwinnipeg.ca/ppms and the 5.10 rep
is at http://cpan.uwinnipeg.ca/PPMPackages/10xx .
During installation of PGPLOT you'll be prompted to install some extra
files - make sure you accept those prompts.
There's also a PDL package at the uwinnipeg rep (for both 5.8 and
5.10) that includes some extra functionality, missing from the
ActiveState package, so you might like to re-install PDL from the
uwinnipeg rep. (To do that, you might first have to run 'ppm remove
You might also be interested in 'demo 3d' - though you may need the
uwinnipeg ppm package for that to do anything useful. I'm not sure
which version of PDL ActiveState are providing - the current version,
which is available from uwinnipeg, is 2.4.5. Version 2.4.6 will be
See how you go. Let us know if you strike a problem - and also tell us
which version of perl you have.
- » fputs() in XSUB modules broken (on Win32, or always?)
- — Previous thread in » PERL Modules Announcements