Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chromatic (983)

chromatic
  (email not shown publicly)
http://wgz.org/chromatic/

Blog Information [technorati.com] Profile for chr0matic [technorati.com]

Journal of chromatic (983)

Sunday July 29, 2007
06:05 PM

So That's a N/A Then?

[ #33916 ]

I'm really not sure what to do with a CPANPLUS failure report for P5NCI:

...
[MSG] [Sat Jul 28 18:04:16 2007] Extracted 'P5NCI-0.30/build_lib/'
[MSG] [Sat Jul 28 18:04:16 2007] Extracted 'P5NCI-0.30/build_lib/P5NCI/'
[MSG] [Sat Jul 28 18:04:16 2007] Extracted 'P5NCI-0.30/build_lib/P5NCI/GenerateXS.pm'
...
[ERROR] [Sat Jul 28 18:04:17 2007] Could not run 'Build': Can't locate P5NCI/GenerateXS.pm in @INC (@INC contains: /home/mauke/usr/local/lib/perl5/5.8.8/i686-linux-64int-ld /home/mauke/usr/local/lib/perl5/5.8.8 /home/mauke/usr/local/lib/perl5/site_perl/5.8.8/i686-linux-64int-ld /home/mauke/usr/local/lib/perl5/site_perl/5.8.8 /home/mauke/usr/local/lib/perl5/site_perl .) at build_lib/P5NCI/Build.pm line 53.

In other words, my Build.PL successfully loaded P5NCI::Build from the build_lib/ directory, but then it couldn't load P5NCI::GenerateXS, which is in the same directory as P5NCI::Build.

I find that difficult to believe.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • According to Barbie and some documentation lost in the mists, "NA" represents "Not Available" -- meaning that the OS or Perl version are not supported.

    This is a build failure -- it might be a problem with the toolchain, but it's a build failure all the same.

    And it's definitely weird. I can't see why 'build_lib' wouldn't be added to @INC in the Build file.

    As a side note, trying P5NCI on my system gives me another odd error:

    Use of uninitialized value in numeric lt (<) at build_lib/P5NCI/Build.pm l

  • I notice the only thing other than the system libs in the @INC is .

    So either something is missing from @INC, or something did a chdir unexpectedly?

  • In older versions of Module::Build, the API using Module::Build->new_from_context and the commandline invocation of perl Build.PL produced different Build files. The former mangled @INC differently than the latter, and sometimes left out additions from after use Module::Build.

    I'm having a bit of trouble finding the ticket in the Module::Build [cpan.org] queue, but it's been resolved some time ago. Of course, the user may not have upgraded yet :(

    Also, an unfortunately longstanding, unresolved issue [cpan.org] is that using