PDA

View Full Version : Problems updating CPAN Data::Dumper



bphillips
06-22-2005, 10:21 PM
I'm trying to update CPAN in preparation for a Spamassassin upgrade, per
http://codeworks.gnomedia.com/westhost-introduction/perl-modifying-the-installation/
When updating CPAN, I got the following errors:

Bundle summary: The following items in bundle Bundle::CPAN had installation problems:
Bundle::libnet and the following items had problems during recursive
bundle calls: Data::Dumper Net::Cmd


I then tried to install Data::Dumper and got these errors:

cpan> o conf makepl_arg '' makepl_arg

cpan> install Data::Dumper

Going to read /home/NAME/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /home/NAME/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Wed, 22 Jun 2005 03:06:35 GMT
CPAN: HTTP::Date loaded ok
Going to read /home/NAME/.cpan/sources/modules/03modlist.data.gz
Running install for module Data::Dumper
Running make for I/IL/ILYAM/Data-Dumper-2.121.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /home/NAME/.cpan/sources/authors/id/I/IL/ILYAM/Data-Dumper-2.121.tar.gz ok
Scanning cache /home/NAME/.cpan/build for sizes
Data-Dumper-2.121/
Data-Dumper-2.121/t/
Data-Dumper-2.121/t/overload.t
Data-Dumper-2.121/t/dumper.t
Data-Dumper-2.121/t/pair.t
Data-Dumper-2.121/Dumper.xs
Data-Dumper-2.121/Makefile.PL
Data-Dumper-2.121/MANIFEST
Data-Dumper-2.121/Dumper.pm
Data-Dumper-2.121/Todo
Data-Dumper-2.121/Changes
Removing previously used /home/NAME/.cpan/build/Data-Dumper-2.121

CPAN.pm: Going to build I/IL/ILYAM/Data-Dumper-2.121.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Data::Dumper
mkdir blib
mkdir blib/lib
mkdir blib/lib/Data
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Data
mkdir blib/arch/auto/Data/Dumper
mkdir blib/lib/auto
mkdir blib/lib/auto/Data
mkdir blib/lib/auto/Data/Dumper
cp Dumper.pm blib/lib/Data/Dumper.pm
/bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux -I/usr/local/perl/lib/5.6.0 /usr/local/perl/lib/5.6.0/ExtUtils/xsubpp -typemap /usr/local/perl/lib/5.6.0/ExtUtils/typemap Dumper.xs > Dumper.xsc && mv Dumper.xsc Dumper.c
gcc -c -fno-strict-aliasing -I/usr/local/include -O2 -DVERSION=\"2.121\" -DXS_VERSION=\"2.121\" -fpic -I/usr/local/perl/lib/5.6.0/i686-linux/CORE Dumper.c
Dumper.xs: In function `Perl_utf8_to_uvchr':
Dumper.xs:29: `UTF8_ALLOW_ANY' undeclared (first use in this function)
Dumper.xs:29: (Each undeclared identifier is reported only once
Dumper.xs:29: for each function it appears in.)
Dumper.xs:29: warning: passing arg 2 of `Perl_utf8_to_uv' makes pointer from integer without a cast
Dumper.xs:29: too many arguments to function `Perl_utf8_to_uv'
make: *** [Dumper.o] Error 1
/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

cpan>


Apparently others have observed this error, unrelated to WestHost:
http://www.nntp.perl.org/group/perl.cpan.testers/102585
and also
http://www.talkaboutmac.com/group/perl.macosx/messages/3438.html

This message suggests it may not be critical, that the version included with Perl may be adequate (I have no idea if Spamassassin need the newer version of it or not):
http://www.talkaboutmac.com/group/perl.macosx/messages/3441.html

Has anyone else encountered this? What can I do to resolve this error? Should I ignore it?

(Side note - I did a force install Net::Cmd, since it was just failing on the FTP test.)