Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Trouble installing from CPAN
- Bob Mortimer
November 20, 2006, 4:43 pm
rate this thread
Not sure if this is the right place to ask, if not I'll be happy to be
I installed an updated OS recently (Mandriva 2007) and have had trouble
installing perl modules since. I initially had a lot of 'no rule to make
target' messages whether installing via CPAN or just compiling the modules
manually but got that fixed by installing the perl-devel RPM.
I'm still getting lots of trouble with it. Here's a typical error report,
but I get similar ones with every module I try to install (via cpan as
All tests successful, 3 tests skipped.
Files=4, Tests=20, 1 wallclock secs ( 0.19 cusr + 0.07 csys = 0.26 CPU)
/usr/bin/make test -- OK
Running make install
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux/perllocal.pod
make: *** No rule to make target `1'. Stop.
/usr/bin/make install 1 -- NOT OK
I've tried trawling Google and Google Groups but haven't found any
solutions. Any ideas appreciated.
Re: Trouble installing from CPAN
Bob Mortimer wrote:
First thought is that it looks like CPAN.pm is erroneously giving an
argument of 1 to the `make install` command. From your CPAN shell,
o conf make_install_arg
If that shows you a , you need to clear that argument:
o conf make_install_arg ""
o conf commit
Otherwise, is it possible that whatever the command to `make` is in
CPAN is actually an alias for something like "/usr/bin/make $1 1" ?