|
Posted by Bob Mortimer on November 20, 2006, 3:47 pm
Please log in for more thread options
Paul Lalli wrote:
> Bob Mortimer wrote:
>> Not sure if this is the right place to ask, if not I'll be happy to be
>> redirected.
>>
>> 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
>> root):
>
>> make: *** No rule to make target `1'. Stop.
>> /usr/bin/make install 1 -- NOT OK
>
> 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,
> type:
> o conf make_install_arg
> If that shows you a [1],
Yes:
cpan> o conf make_install_arg
make_install_arg [1]
> you need to clear that argument:
> o conf make_install_arg ""
> o conf commit
Yep, that did it and all seems to be working nicely again :-)
Thanks very much Paul, much appreciated.
--
Regards,
Bob
|