Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PDL CPAN distribution.

Report information
The Basics
Id: 68314
Status: resolved
Priority: 0/
Queue: PDL

People
Owner: Nobody in particular
Requestors: sukria [...] sukria.net
Cc: stephane [...] weborama.com
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: stephane [...] weborama.com
Subject: PDL::Slatec missing
Hello, 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... Any idea? Thanks!
RT-Send-CC: perldl [...] jach.hawaii.edu, stephane [...] weborama.com
On Thu May 19 09:26:20 2011, SUKRIA wrote:
Show quoted text
> Hello,
>
> 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...

No.

Show quoted text
> Any idea?

Check the value of $PDL::Config{WITH_SLATEC} in the perldl shell.
1 means Slatec was built.  Forwarding to the perldl list for further
discussion.  (That is where PDL support takes place).

http://pdl.perl.org/?page=mailing-lists

Cheers,
Chris

Show quoted text
> Thanks!


CC: <stephane [...] weborama.com>, <perldl [...] jach.hawaii.edu>
Subject: Re: [Perldl] [rt.cpan.org #68314] PDL::Slatec missing
Date: Fri, 20 May 2011 10:18:49 +1000
To: <bug-PDL [...] rt.cpan.org>
From: "Sisyphus" <sisyphus1 [...] optusnet.com.au>
Show quoted text
----- Original Message ----- From: "Chris Marshall via RT"
>> After looking at the distro, it looks like the Slatec.pm file is >> missing... >> Any idea?
Most likely cause would be that ExtUtils::F77 is not installed. What does the following output: perl -MExtUtils::F77 -le '1' Also, if you still have the 'perl Makefile.PL' output available, check it for hints. Cheers, Rob
RT-Send-CC: perldl [...] jach.hawaii.edu
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!


On Thu May 19 09:26:20 2011, SUKRIA wrote:
Show quoted text
>
> After looking at the distro, it looks like the Slatec.pm file is
> missing...
>
> Any idea?

Forgot to mention, the main Slatec.pm is generated from the
slatec.pd file.  There is another Slatec.pm file in the PDL-2.4.9.tar.gz
but that is not the problem.

Also, I just realized that you can run 'perldl -V' to get full
information about your PDL install which will also
include the values in the %PDL::Config hash including
$PDL::Config{WITH_SLATEC}...

Updating the priority and status of this ticket.
It appears the problem might be an install
issue and not a missing or incomplete
distribution file.  Marking this as stalled
until follow up from the original submitter,
either here to close out the ticket or via
the perldl mailing list which is the preferred
support mechanism for PDL.

Thanks,
Chris
Marking this ticket as resolved.  Any further issues,
please follow up via the perldl mailing list and our
PDL project page at sf.net.

You can get to both from our PDL web site at
http://pdl.perl.org .

Thanks,
Chris