From: Clifford Sobchuk

Does Strawberry Perl 64 bit really not work, or can I try to use the same ppd files that are listed for Win32 Strawberry and Win32/64 ActiveState Perl?

Strawberry 64-bit is fine with PDL.
If you run 'cpan -i PDL' it should install PDL-2.4.11 (and pre-requisites) just fine. As Mark said, if you install EU::F77 ('cpan -i ExtUtils::F77') beforehand you'll also get PDL::Slatec and PFL::Minuit capability.

What you won't get is:
a) OpenGL capability - because you don't have the OpenGL library and it doesn't build readily on Strawberry 64-bit;
b) FFTW2 capability - because you don't have the FFTW2 library;
c) PGPLOT capability - because you don't have PGPLOT, and it doesn't build readily on Strawberry;
d)PLplot capability - because you don't have the plplot library;
e) PROJ4 capbility - because you don't have the proj4 library;
f) GSL cpability - because you don't have the gsl library;
g) GD capability - because you don't have this library configured in. (I could be wrong about this - you *might* have GD capability, after all.)

With Strawberry Perl 64 bit you can also, however, use PPM to install PDL (and its dependencies) from the sisyphusion repo (http://www.sisyphusion.tk/ppmindex.html). Doing so will give you PDL::Slatec and PDL:Minuit, and will also fix a), b), c), d), e), f) and g) - but there's a couple of things to do first. Firstly, you need to check that strawberry/perl/vendor/lib/ppm.xml has set the sisyphusion repo details correctly. (Some versions of Strawberry have it set incorrectly.)
It needs to specify:
<REPOSITORY LOCATION="http://www.sisyphusion.tk/ppm/"; NAME="Sisyphusion" SUMMARYFILE="searchsummary.ppm" />

(I don't think that "NAME" is all that important, and I don't think the order in which the 3 components appear is all that important - but it does need to specify the LOCATION and SUMMARYFILE correctly.)

You also need to be aware that Strawberry's PPM utility apparently doesn't automatically install pre-requisites.
To help with that aspect, I recently uploaded a script:
http://www.sisyphusion.tk/ppm/scripts/ppm_req

If you grab that script and run 'perl ppm_req PDL', it should terminate with a list of 'ppm install' commands that you need to run in order to install PDL and its pre-requisites.

It won't mention PGPLOT. It probably should, even though PGPLOT is technically a pre-requisite. (I'll attend to this oversight when the next stable version of PDL is released.) Anyway - if you want PGPLOT capability in your PDL, it's just a matter of 'ppm install PGPLOT'. And I think that should work irrespective of whether PDL was installed via 'ppm' or via 'cpan -i'.

If (in the course of doing whatever you do) you uncover any inconsistency with what I've claimed and what actually happens, please let me know.

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to