Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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/CPAN.pm 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/RawInflate.pm, 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/RawInflate.pm 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. CPAN.pm 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689594]
help
Chatterbox?
[Corion]: Meh, I found another Amazon "used" scam reseller... If a product sells for "almost new" at half the price, it's a scam, most likely...
[ambrus]: Corion: that's not true. Actually for Christmas and Thanksgiving, a lot of people buy electronics such as cameras as present, then many of them figure out they don't need it,
[ambrus]: and the electronics gets reselled almost new, but it has to be sold at half price because otherwise everyone chooses to buy the new product which has fewer risk of selling damaged products labelled as almost new.
[ambrus]: You can actually get a lot of useful cheap really almost new products that way, with only a little risk of scams.
[ambrus]: That's what some of the "Black Friday" sales are about.
[Corion]: ambrus: Well, usually, these people don't have in their description "mail me at dodgy_reseller # g m a i l | co m" , replace the "#" by "@" :)
[Corion]: Oh, and the "o" in "com" is a zero

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2017-11-21 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (304 votes). Check out past polls.

    Notices?