Thanks Rob. I forgot to install the EU::F77 first. I went back and then 
reinstalled via the ppm listed in the PDL web page as previously.

What works:
Demo pdl
Demo 3d - but the GLUT window doesn't close, and if it doesn't close properly 
then 3d2 will fail.
Demo 3d2 - same issue as above.
Demo pgplot - can't run more than once or pdl2 shell crashes. If you don't 
close the window  - it will work.
Demo OOplot - can't run after pgplot or be run more than once or the pdl2 shell 
crashes. If you don't close the window  - it will work.
PDL::Demos::Gnuplot_demo -> run() - but the graphics window stays open - don't 
know if that supposed to happen or not. Also demo gnuplot does not appear in 
the listings.
Demo transform - partially works. After the point where it performs coordinate 
transform - the plot windows show up but there is no image in them but the axes 
have been modified for the new coordinates - i.e. all that you see is a black 
background with axes labelling. Same issue as above with pgplot/OOplot if the 
GrWin is closed, the continuation of the demo will crash the pdl2 shell (it 
exits). The second half of the demo also only partially works - some of the 
animation works - other portions just show the black background.
Demo cartography - doesn't work at all.
Demo bad 
Demo bad2 - same issue with pgplot...

Prima works external from the pdl2 shell, but not within it - or at least I 
don't know how to run it if it isn't the same as running it from the command 
line.
I am wondering if some of the PGPlot issues that I am have are from the initial 
install? I can try deleting the original PDL install and reinstalling it if you 
think that it would change the outcome.

Thanks Cliff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: February 27, 2013 5:12 AM
To: Clifford Sobchuk; [email protected]
Subject: Re: [Perldl] Win64 version PDL

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