Bundle::CPAN install problem ?

Discussion in 'Perl Misc' started by John Smith, Aug 13, 2003.

  1. John Smith

    John Smith Guest

    Hi all,

    I'm updating Bundle::CPAN on a Perl 5.8 system (HP UX 11) with this command:
    /usr/local/bin/perl -e 'use CPAN; install Bundle::CPAN'

    Everything seems to go OK, yet at the end there is always this error
    Bundle summary: The following items in bundle Bundle::CPAN had installation
    Compress::Zlib Archive::Tar

    Which seems like a perfectly clear message, except look at the output while
    Bundle::CPAN attempted to install Archive::Tar and Compress::Zlib:
    All tests successful.
    Files=2, Tests=71, 2 wallclock secs ( 1.25 cusr + 0.20 csys = 1.45 CPU)
    /usr/bin/make test -- OK
    Running make install
    Appending installation info to
    /usr/bin/make install -- OK

    ....and for Compress::Zlib...
    All tests successful.
    Files=6, Tests=295, 5 wallclock secs ( 3.94 cusr + 0.46 csys = 4.40 CPU)
    /usr/bin/make test -- OK
    Running make install
    Files found in blib/arch: installing files in blib/lib into architecture
    dependent library tree
    Appending installation info to
    /usr/bin/make install -- OK

    So why does Bundle::CPAN think it had problems? Also, I've installed each
    of the 'trouble' packages on their own, and they also install seemingly
    without error:
    /usr/local/bin/perl -e 'use CPAN; install Archive::Tar'
    /usr/local/bin/perl -e 'use CPAN; install Compress::Zlib'

    Perl 5.6 is also installed on this system. But when I install modules to
    Perl 5.8, I am careful to always specify '/usr/local/bin/perl' which is the
    5.8 version. Could that be causing a problem anyway? Also, I wrote a tiny
    script that uses each of the modules:
    #!/usr/local/bin/perl -w
    use Archive::Tar;
    use Compress::Zlib;

    my $x = 'hello world';
    print "x is $x\n";

    I don't get any errors about not being able to find/use either module when I
    run the script.

    Any ideas? Is there even really something wrong?

    Thanks in advance,
    John Smith, Aug 13, 2003
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.