----- Original Message ----- 
From: "Christian Soeller" <[EMAIL PROTECTED]>
.
.
> Begin forwarded message:
>
>> From: Torben Haenke <[EMAIL PROTECTED]>
>> Date: 15 March 2008 8:56:45 AM
>> To: [EMAIL PROTECTED]
>> Subject: Question on PDL for Windows XP
>>
>> Dear Christian
>>
>> I started to play a little around with PDL and found it to be very
>> usefull. After I had it running on my Linux machine I tied to get
>> it working under Windows, but I didn't succeed. I never got PGPLOT
>> or Plplot working.
>> I saw that you were involved in porting PDL to Windows and would
>> like to ask you if there is somewhere a binary package available
>> including PGPLOT or PLplot.
>>

Windows binaries for PGPLOT and PDL are available from:
http://theoryx5.uwinnipeg.ca/ppms/ (perl 5.8)
and
http://cpan.uwinnipeg.ca/PPMPackages/10xx (perl 5.10)

So, assuming Torben is running an ActiveState-type build of perl 5.10, and 
has a functioning ppm utility:

ppm install Astro-FITS-Header
then
ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/PGPLOT.ppd
then
ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/PDL.ppd

(If it's 5.8, just modify the url in the commands appropriately. If it's 
earlier than 5.8, then you're out of luck re PDL ... though I think I have 
5.6 binaries for PGPLOT.)

Those perl binaries need some dll's - the 'ppm install' process attends to 
that aspect, too !! (You'll be prompted to download them into one of your 
path folders.)

Ooow ... just remembered, PGPLOT won't work on Windows on stock-standard 
5.10.0, but it will work on ActiveState's most recent build of 5.10.0 (build 
1002). And it will work on 5.10.1 when that is released. I can provide a 
patch to DynaLoader.pm if the PGPLOT module must be got working on 
stock-standard 5.10.0.

Torben, if you have the pgplot C library, the PGPLOT module should build 
easily from source using the MinGW compiler. And PDL should build easily, 
too, using the same compiler. (I'd be interested in the details if you found 
that to *not* be the case.)

If you want plplot on windows, then you'll probably have to use Cygwin - I 
don't know of a native windows plplot port (though I haven't looked for one 
for a while).

Cheers,
Rob 


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

Reply via email to