Bob mortimer 2007-04-14 04:34:43
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.
Paul lalli 2007-04-14 04:35:11
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” ?
Bob mortimer 2007-04-14 09:05:36
cpan> o conf make_install_arg make_install_arg 
Yep, that did it and all seems to be working nicely again 🙂
Thanks very much Paul, much appreciated.