----- Original Message ----- From: "Hugh Sasse" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Friday, March 28, 2008 5:40 AM Subject: Re: [Perldl] PDL w/ activestate perl?
> On Fri, 28 Mar 2008, Sisyphus wrote: > >> >> ----- 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.) > > Will the Perl make process detect that or the Mingw make? It will detect 'dmake' - so long as dmake.exe is in your path, and nmake.exe is *not* in your path. If 'nmake.exe' is in your path, then 'perl Makefile.PL' will write a Makefile for nmake - and dmake won't be able to make sense of that generated Makefile. So, if you want to use dmake, make sure you first remove nmake from your path. And if 'cl.exe' is found in you path, then ActivePerl will assume you are going to use that as your compiler. So, if you're wanting to use MinGW, make sure that cl.exe is not in your path. (You won't have cl.exe unless you've installed a Microsoft compiler.) >> >> > 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). > > I'd forgotten about that. Thanks > >> 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. >> > > thank you. >> [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 > > ... ! Oh, I didn't know about ppm, thanks for that. I'll explore that > further. You already have ppm - and it should work without any other action on your part (other than being connected to the internet). Firewalls and proxy servers can create problems for ppm - but these are easily fixed and the issue is addressed somewhere in the ActivePerl FAQ. (Holler out if you need to find it, but can't.) >> >> You may find that PGPLOT is unusable (because of a bug in DynaLoader.pm). >> If > > Is that only the case iff I go the ppm route? No - even if you build PGPLOT yourself, you'll still face that same issue. The module will build ok, but won't run because DynaLoader insists that PGPLOT.dll be loaded - but PGPLOT.dll can't be loaded because the build process built a loadable object named 'PGPLOT.xs.dll' instead. This affects only perl 5.10.0 (will be fixed in 5.10.1) and some 5.8.x builds of ActivePerl. > > thank you. I'll have to tackle this tomorrow now. No worries. Get back if there are any problems. Cheers, Rob _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
