&Compress::Zlib::gzopen and Scalar::Util errors

Discussion in 'Perl Misc' started by Tim Boyer, Nov 7, 2007.

  1. Tim Boyer

    Tim Boyer Guest

    I'm running Red Hat Enterprise version 5 in a mixture of 32 and 64 bit
    environments. There was a Perl security update last night, updating perl
    5.8.8-10. to 5.8.8-10_02.

    Since then, I've been having problems running a number of perl applications.
    For instance, SpamAssassin:

    [root@roosevelt scripts]# spamassassin --lint
    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.
    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.

    or CPAN:

    cpan> install Bundle::CPAN
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Sun, 19 Aug 2007 04:36:49 GMT
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
    http://mirror.hyperian.net/CPAN/authors/01mailrc.txt.gz
    Use of uninitialized value in concatenation (.) or string at
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
    Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
    Undefined subroutine &Compress::Zlib::gzopen called at
    /usr/lib/perl5/5.8.8/CPAN.pm line 5721.

    I've ?fixed? the Scalar::Util problem by doing a force install Scalar::Util.
    I've tried to do the same with Compress::Zlib, but with less luck:

    cpan> install Compress::Zlib
    Running install for module Compress::Zlib
    Running make for P/PM/PMQS/Compress-Zlib-2.007.tar.gz
    Undefined subroutine &Compress::Zlib::gzopen called at
    /usr/lib/perl5/5.8.8/CPAN.pm line 5721.

    So apparently I can't install Compress::Zlib until I get Compress::Zlib
    working. This is... a conundrum.

    Pointers in the right direction greatly appreciated.

    --
    tim boyer
     
    Tim Boyer, Nov 7, 2007
    #1
    1. Advertising

  2. Tim Boyer

    Guest

    On 8 Kas m, 01:17, "Thrill5" <> wrote:
    > I would suggest backing out the security update to get your production
    > system up and running and then testing your applications on another machine
    > to figure out what you need to do to get your apps working with the security
    > update.
    >
    > "Tim Boyer" <> wrote in message
    >
    > news:...
    >
    >
    >
    > > I'm running Red Hat Enterprise version 5 in a mixture of 32 and 64 bit
    > > environments. There was a Perl security update last night, updating perl
    > > 5.8.8-10. to 5.8.8-10_02.

    >
    > > Since then, I've been having problems running a number of perl
    > > applications.
    > > For instance, SpamAssassin:

    >
    > > [root@roosevelt scripts]# spamassassin --lint
    > > 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.
    > > 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.

    >
    > > or CPAN:

    >
    > > cpan> install Bundle::CPAN
    > > CPAN: Storable loaded ok
    > > Going to read /root/.cpan/Metadata
    > > Database was generated on Sun, 19 Aug 2007 04:36:49 GMT
    > > CPAN: LWP::UserAgent loaded ok
    > > Fetching with LWP:
    > > http://mirror.hyperian.net/CPAN/authors/01mailrc.txt.gz
    > > Use of uninitialized value in concatenation (.) or string at
    > > /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 30.
    > > Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
    > > Undefined subroutine &Compress::Zlib::gzopen called at
    > > /usr/lib/perl5/5.8.8/CPAN.pm line 5721.

    >
    > > I've ?fixed? the Scalar::Util problem by doing a force install
    > > Scalar::Util.
    > > I've tried to do the same with Compress::Zlib, but with less luck:

    >
    > > cpan> install Compress::Zlib
    > > Running install for module Compress::Zlib
    > > Running make for P/PM/PMQS/Compress-Zlib-2.007.tar.gz
    > > Undefined subroutine &Compress::Zlib::gzopen called at
    > > /usr/lib/perl5/5.8.8/CPAN.pm line 5721.

    >
    > > So apparently I can't install Compress::Zlib until I get Compress::Zlib
    > > working. This is... a conundrum.

    >
    > > Pointers in the right direction greatly appreciated.

    >
    > > --
    > > tim boyer
    > > - Al nt y gizle -

    >
    > - Al nt y göster -


    Hi,

    Try to upgrade CPAN

    #perl -MCPAN -e shell
    > install Bundle::CPAN


    it solved my problem.
     
    , Nov 12, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony
    Replies:
    0
    Views:
    1,463
  2. ixtahdoom
    Replies:
    0
    Views:
    568
    ixtahdoom
    Jun 15, 2004
  3. Mike
    Replies:
    1
    Views:
    1,021
    John Harrison
    Aug 3, 2003
  4. ngoc

    error in Compress-Zlib-1.32

    ngoc, Dec 16, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    105
  5. Yakov
    Replies:
    1
    Views:
    136
    brian d foy
    May 13, 2007
Loading...

Share This Page