----- Original Message ----- 
From: "Jake Jaffe" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>
Cc: "Christian Soeller" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Saturday, September 02, 2006 6:23 AM
Subject: Re: [Perldl] Re: Is PDL Abandonware?


> Thank you all for the update on PDL and your suggestions.  Ultimately, I
> was able to compile PDL 2.4.3 with Slatec support for ActiveState Perl
> 5.8 Build 817 with a few tweaks.

Aaah - thanks for that. I had built PDL-2.4.3 with the same tools and same
perl as you just to see how it worked. (I don't usually use ActiveState
perl, preferring to use my MinGW-built perl 5.8.8 instead.) I looked quickly
at the 'dmake test' results, saw no failures and thought "you beaut ... that
worked fine". But on closer inspection, I find that slatec was not built -
though EU::F77 is installed and works fine. I'll have to look a little more
closely at this - it's probably some bug in the "seamless" interface between
ActiveState perl and MinGW.

A lot of people run ActiveState perl - it would be nice to get its interface
with MinGW functioning properly.

Have you considered building perl 5.8.8 from source with dmake and MinGW ?
It's dead easy, and could save you some stuffing around. PDL-2.4.3 (with
Slatec) really *does* build straight out of the box on MinGW-built perl 5.8.

There is one other option with ActiveState perl and MinGW:
Instead of relying on this "seamless" interface (which became available only
with build 817, btw), you can install ExtUtils::FakeConfig and set the
perl5opt environment variable to -MConfig_m. Then build PDL in the usual
way - 'perl Makefile.PL', etc. ... last time I tried that (with ActiveState
perl 5.8.4, build 810) it worked perfectly.

> I've attached a few build notes/traces
> that maybe you'll find useful.

Indeed they *will* be useful !! Thanks very much for the feedaback.

>
> Unfortunately, I will now have to go and build PDL for Perl 5.6 on Linux
> because the GenePattern folks won't be updating their Perl revision
> until November.  Any advice on which Release is likely to work best?
>

Not from me (I've never tried to build a PDL on perl 5.6) ... my impression
is that you'll need our *prayers* more than our *advice* :-)

> Failed Test Stat Wstat Total Fail  Failed  List of Failed
> --------------------------------------------------------------------------
-----
> t/fft.t                   10    3  30.00%  1 7 9

Those fft.t failures are a result of in an incorrectly extracted m51.fits.
When you extract the PDL-2.4.3 source you need to disable any "cleverness"
that your tar utility has, or it will convert (what it believes to be) Unix
line endings to Win32 line endings - and m51.fits ends up being (an
incorrect) 580kb instead of (a correct) 579kb. If you have difficulty with
that, let me know and I'll send you a corrected m51.fits.

> t/flexraw.t  255 65280    29   14  48.28%  23-29

Looks like it might have failed simply because you don't have a 'gzip.exe'
in your path. (You can get both a 'tar.exe' and 'gzip.exe' from
http://gnuwin32.sourceforge.net/packages.html if you're interested. Not
sure, but you might also need GetText from the same webpage.) If it turns
out there's more to the error than simply missing executables, then it
should be investigated - start by running 'perl t\flexraw.t'.

> t/slatec.t                37    1   2.70%

This should be fixed. What do you get from running 'perl t\slatec.t' ? (I'm
thinking you might get to see some useful diagnostic message ... not sure.)

Those are, of course, the only failures you got. As you pointed out, all
those other messages were a result of missing prerequisites - there's no
problem with any of that unless it's costing you some functionality that you
want.

Cheers,
Rob



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

Reply via email to