Click here to get back home

problem upgrading Bundle::CPAN

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
problem upgrading Bundle::CPAN si 05-25-2008
Get Chitika Premium
Posted by si on May 25, 2008, 12:21 am
Please log in for more thread options


hi, i've been using cpan for several years with very few problems, i
just tried to upgrate my Bundle::CPAN install and got a lot of
failures. I'm running FC6 on an AMD opteron machine. could someone
give me a hint how i might fix this?

thx in advance.


DIED. FAILED tests 1-29
        Failed 29/29 tests, 0.00% okay
t/14gzopen......Use of uninitialized value in concatenation (.) or
string at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Scalar/
Util.pm line 30.
t/14gzopen......NOK 1
# Failed test (t/14gzopen.t at line 25)
# Tried to use 'Compress::Zlib'.
# Error: is only avaliable with the XS version at /root/.cpan/
build/Compress-Zlib-2.011/blib/lib/Compress/Zlib.pm line 9
# BEGIN failed--compilation aborted at t/14gzopen.t line 25.
# Compilation failed in require at (eval 31) line 2.
# BEGIN failed--compilation aborted at (eval 31) line 2.
t/14gzopen......ok 2/250Global symbol "$gzerrno" requires explicit
package name at t/14gzopen.t line 49.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 53.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 56.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 59.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 66.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 94.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 97.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 100.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 104.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 111.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 111.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 117.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 118.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 480.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 481.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 499.
Global symbol "$gzerrno" requires explicit package name at t/
14gzopen.t line 502.
Bareword "Compress::Zlib::zlib_version" not allowed while "strict
subs" in use at t/14gzopen.t line 38.
Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at t/
14gzopen.t line 38.
Bareword "Z_FINISH" not allowed while "strict subs" in use at t/
14gzopen.t line 98.
Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/
14gzopen.t line 110.
Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/
14gzopen.t line 111.
Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/
14gzopen.t line 446.
Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/
14gzopen.t line 461.
Execution of t/14gzopen.t aborted due to compilation errors.
# Looks like you planned 250 tests but only ran 2.
# Looks like your test died just after 2.
t/14gzopen......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3-250
        Failed 249/250 tests, 0.40% okay
t/99pod.........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/000prereq.t 4 1024 6 4 66.67% 2-4 6
t/01version.t 255 65280 2 3 150.00% 1-2
t/03zlib-v1.t 255 65280 401 797 198.75% 1 4-401
t/05examples.t 255 65280 ?? ?? % ??
t/06gzsetp.t 255 65280 ?? ?? % ??
t/08encoding.t 255 65280 29 57 196.55% 1-29
t/14gzopen.t 255 65280 250 497 198.80% 1 3-250
Failed 7/8 test scripts, 12.50% okay. 683/689 subtests failed, 0.87%
okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


Posted by Ben Morrow on May 25, 2008, 10:01 am
Please log in for more thread options

>
> hi, i've been using cpan for several years with very few problems, i
> just tried to upgrate my Bundle::CPAN install and got a lot of
> failures. I'm running FC6 on an AMD opteron machine. could someone
> give me a hint how i might fix this?
>
> thx in advance.
>
>
> DIED. FAILED tests 1-29
>         Failed 29/29 tests, 0.00% okay
> t/14gzopen......Use of uninitialized value in concatenation (.) or
> string at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Scalar/
> Util.pm line 30.

You need to install the XS version of Scalar::Util (for which you need a
C compiler). For some reason Fedora comes with the pure-Perl version,
which is Not Good Enough.

Ben

--
I have two words that are going to make all your troubles go away.
"Miniature". "Golf".
[ben@morrow.me.uk]

Similar ThreadsPosted
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails May 10, 2005, 9:29 pm
Upgrading Bundle::CPAN freezes during tests September 25, 2007, 9:45 pm
install Bundle::CPAN in Cygwin failed October 17, 2004, 9:09 am
Easy way to create a Mac app bundle that runs a Perl script? January 8, 2008, 12:50 pm
CPAN problem February 24, 2005, 7:08 pm
CPAN problem on sun-sloaris, help me November 17, 2006, 5:35 am
cpan shell and MyConfig.pm problem May 7, 2008, 6:31 am
Problem with search.cpan.org grep tool January 29, 2006, 7:02 pm
Problem installing ExtUtils::Command from CPAN October 30, 2006, 11:43 pm
cpan module install woes - UTF-8 problem? October 30, 2007, 8:46 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap