Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

jplindstrom
  (email not shown publicly)

Journal of jplindstrom (594)

Saturday April 24, 2004
04:02 PM

Broken CPAN fix

[ #18470 ]

Scalar::Util didn't have a ppm for 5.6.1 so I did

perl -MCPAN -e "install Scalar::Util"

The install phase failed miserably, as so many other CPAN installs recently:

Running install for module Scalar::Util
Running make for G/GB/GBARR/Scalar-List-Utils-1.13.tar.gz
Fetching with LWP:
  ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/G/GB/GBARR/Scalar-List-Utils-
    1.13.tar.gz
CPAN: MD5 loaded ok
Fetching with LWP:
  ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/G/GB/GBARR/CHECKSUMS
Checksum for \.cpan\sources\authors\id\G\GB\GBARR\Scalar-List-Utils-1.13.tar.gz
ok
Scanning cache \.cpan\build\. for sizes
Can't cd to \.cpan\build\ExtUtils-ModuleMaker-0.31229\./blib/lib/ExtUtils/Module
Maker/test place/ExtUtils/ModuleMaker/testplace/ExtUtils/ModuleMaker/testplace/Ex
tUtils/M oduleMaker/testplace/ExtUtils/ModuleMaker/testplace/ExtUtils/ModuleMaker
/testp lace/ExtUtils../../../../../../../../../../../../../../../../.. at c:/Perl
/lib/File/Find.pm line 535.

I changed the die at line 535 to a confess and found that File::Find wasn't passed weird input. So what's wrong then? There is, for some reason, a very deep directory structure in the Extutils directory, that's what File::Find barfs at.

Removing the directory stucture fixed my CPAN installation.

It appears an older version of ExtUtils::ModuleMake caused this. I think it's fixed in the latest version.

Hopefully someone else with this problem will stumble across this post and be able to solve it.

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.