On Thu May 19 09:26:20 2011, SUKRIA wrote:
Show quoted text>
> I'm using PDL and have issues with PDL::Slatec:
>
> $ cpanm PDL
> PDL is up to date. (2.4.9)
>
> $ perl -MPDL::Slatec -le '1'
> Can't locate PDL/Slatec.pm in @INC (@INC contains:
> /home/alexis/perl5/perlbrew/perls/perl-
> 5.12.2/lib/site_perl/5.12.2/x86_64-linux
> /home/alexis/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2
> /home/alexis/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux
> /home/alexis/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .).
> BEGIN failed--compilation aborted.
>
> After looking at the distro, it looks like the Slatec.pm file is
> missing...
Sorry to have been so cryptic earlier. Were you able to determine
if the $PDL::Config{WITH_SLATEC} was set. If not, the Slatec
modules were not built for your PDL. PDL has a lot of external
library dependencies which are difficult to install via cpan or
cpanm magic. With cpanm and its much fewer messages, it
is possible that it wasn't clear what actually ended up getting
built. If you look at the output from 'make test' you should see
skip messages by the tests relating to things that were not
built.
As sysiphus has mentioned, the problem may be that you
either don't have ExtUtils::F77 or don't have a fortran compiler
(or both).
I do recommend that you join the perldl mailing list
referred to above as the CPAN bug report is not
really used by our project and it can take a while
for us to see a message posted there. You were
lucky that I happened to check so soon.
NOTE: The mailing list have archives which can
be browsed or searched which may also be of
use.
Happy PDL-ing,
Chris
Show quoted text> Any idea?
>
> Thanks!