----- Original Message ----- 
From: "Hugh Sasse" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 28, 2008 1:42 AM
Subject: [Perldl] PDL w/ activestate perl?


> I've been trying to install Perldl with activestate Perl.  It seems
> to require nmake

Probably better off using 'dmake' which is freely available from CPAN. (Some 
of the 'nmake' versions locatable on the web are fairly old - and may even 
lack some functionality.)

> and I found a copy available from a microsoft site
> it also requires a c compiler which I don't have

Install (the freely available) MinGW compiler (it's a Windows port of gcc).
MinGW and dmake work fine with ActiveState perl-5.8.8 (and later). Building 
PDL is then just a matter of running:

perl Makefile.PL
dmake test
dmake install

If you build PDL from source first install ExtUtils::F77.

[snip]

>
> I've looked on the Perldl website, and the Windows binary download
> says it is for perl-5.6.0, and I have 5.8.8

For 5.8.8 binaries, run (in order):
ppm install Astro-FITS-Header
ppm install http://theoryx5.uwinnipeg.ca/ppms/PGPLOT.ppd
ppm install http://theoryx5.uwinnipeg.ca/ppms/PDL.ppd

You may find that PGPLOT is unusable (because of a bug in DynaLoader.pm). If 
that's the case, and you want to make use of PGPLOT, let me know and I'll 
send you a corrected DynaLoader.pm. (It's the DynaLoader.pm that's included 
in ActiveState build 1002 if you want to track it down yourself.)

Cheers,
Rob 


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

Reply via email to