Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Bundle::CPAN still failing.

by Seumas (Curate)
on Jun 01, 2008 at 21:00 UTC ( #689594=note: print w/replies, xml ) Need Help??

in reply to Bundle::CPAN still failing.

I'd been bashing my head against the bug for awhile as well, before waiting for it to be fixed and propegate to at least the /testing branch.

If you look at the error below, it looks like you may not have 'make' installed. Depending on how you installed your instance of Debian, you may need to install moer than just gcc and libc6-dev.

Can't exec "make": No such file or directory at /usr/share/perl/5.10/ line 7698.

It would be nice if the summarization of events at the very end said something simple like "YOU DO NOT HAVE MAKE INSTALLED", but alas it does not.

If you apt-get build-essential, you should be good to go.

Replies are listed 'Best First'.
Re^2: Bundle::CPAN still failing.
by Anonymous Monk on Jun 01, 2008 at 22:38 UTC
    That did it, thank you!
Re^2: Bundle::CPAN still failing.
by drench (Beadle) on Mar 28, 2009 at 12:47 UTC

    I found this thread after getting a similar error message about /usr/share/perl5/IO/Uncompress/, but lack of "make" wasn't my problem.

    I built Perl 5.10.0 from source, installed it under /opt/local, and put /opt/local/bin at the front of my $PATH. Perl -V says my @INC is:

    /opt/local/lib/perl5/5.10.0/i686-linux /opt/local/lib/perl5/5.10.0 /opt/local/lib/perl5/site_perl/5.10.0/i686-linux /opt/local/lib/perl5/site_perl/5.10.0 .

    Yet I was still seeing this error when working in the CPAN shell:

    Can't call method "value" on an undefined value at /usr/share/perl5/IO +/Uncompress/ line 64.

    /usr/share/perl5 ? I didn't ask for that (or maybe I inadvertently did by running "Configure -de" when I built it).

    My kludge was to block Perl from even trying to look at /usr/share/perl5:

    chmod 0000 /usr/share/perl5 && perl -MCPAN -eshell && chmod 0755 /usr/ +share/perl5

    This was only necessary once. learned its lesson and is now looking in the "correct" place for IO::Uncompress::RawInflate.

    Update 5/1/2009: Scratch most of the above. It wasn't Perl 5.10's fault!

    It was a PATH problem. Though /opt/local/bin was in my PATH as a 'normal' user, it wasn't under sudo (in some cases), so I was actually using the system Perl without knowing it:

    % perl -v This is perl, v5.10.0 (GitLive-maint-5.10-1091-g36d9847*) built for i6 +86-linux [...] % sudo perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi [...]
    So the real fix is to be explicit:
    % sudo /opt/local/bin/perl -MCPAN -eshell
Re^2: Bundle::CPAN still failing.
by Anonymous Monk on Apr 23, 2009 at 10:19 UTC
    "apt-get build-essential " Solved my problem also ... Thanks!
      How do you run apt-get build-essential, I tried it using in terminal and i'm getting an error Unknown shell command 'apt-get'. Type ? for help.
        Use: apt-get install build-essential
        This should be:-
        apt-get install build-essential
        Then it works :)
        sudo apt-get install build-essentials

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://689594]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-12-10 08:29 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (39 votes). Check out past polls.