Hello agin

I want to install some perl modules using the perl -MCPAN -e 'install Bundle::Catalyst' command, since it's not available using apt (debian package).

However, i get the following errors on all modules i try to install:
CPAN.pm: Going to build S/SR/SRI/Catalyst-Plugin-Prototype-1.31.tar.gz Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Catalyst-Plugin-Prototype' version '1 +.31' -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
and the module isn't installed.
However, when i go to the .cpan/build//Catalyst-Plugin-Prototype-1.31 folder, and do a
perl Makefile.PL make make test make install
All goes fine!
I don't want to install all modules by hand though (there are a lot of prerestiques), and i like to have my perl work normally.
Anyone got a possible solution for me?
ps. yes, i run the command as root, or with sudo.

**UPDATE**
Solved!
After all your tips (i installed it now using apt, thanks to Arunbear), i reinstalled Module::Build by hand, but the cpan command did not work.

Then i came here, and did a cpan> o conf, and found out that my make argument was empty!
so i did a vi /etc/perl/CPAN/Config.pm, changed the line 'make' => q[], to 'make' => q[/usr/bin/make], and it's working again!
Thanks again for all the help

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

In reply to Install using perl -MCPAN -e 'install module' doesn't work by jbrugger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.