Jeri has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm trying to set up cpan on Ubuntu 12.04 LTS. In the terminal I wrote
sudo perl -MCPAN -e shell
make install
install Bundle::CPAN
I've done an update and upgrade and have also installed perl.
When I try to download XML::Parser in cpan it complains
make: *** [subdirs] Error 2 TODDR/XML-Parser-2.41.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: TODDR/XML-Parser-2.41.tar.gz : make NO
This happens with any module I try to download. I noticed it was discussed in this 2010 thread http://www.perlmonks.org/?node_id=866275 with no luck. Any help solving the cause of this error would be appreciated.
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN - error with installation
by marto (Cardinal) on May 17, 2012 at 17:01 UTC | |
by Jeri (Scribe) on May 17, 2012 at 17:46 UTC | |
by marto (Cardinal) on May 17, 2012 at 17:52 UTC | |
by Anonymous Monk on Jan 27, 2013 at 11:24 UTC | |
by marto (Cardinal) on Jan 27, 2013 at 11:30 UTC | |
|
Re: CPAN - error with installation
by tweetiepooh (Hermit) on May 17, 2012 at 16:56 UTC | |
|
Re: CPAN - error with installation
by Jeri (Scribe) on May 17, 2012 at 16:28 UTC |