Click here to get back home

Trouble installing from CPAN

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Trouble installing from CPAN Bob Mortimer 11-20-2006
Posted by Bob Mortimer on November 20, 2006, 11:43 am
Please log in for more thread options


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):

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
Manifying blib/man3/XSLoader.3pm
Writing /usr/lib/perl5/5.8.8/i386-linux/auto/XSLoader/.packlist
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.

--
Regards,

Bob

Posted by Paul Lalli on November 20, 2006, 2:59 pm
Please log in for more thread options


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], 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" ?

Paul Lalli


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

Similar ThreadsPosted
Trouble installing GD November 5, 2004, 10:51 am
Trouble installing libapreq2-2.08 December 2, 2006, 6:37 am
Trouble installing libapreq2-2.08 December 2, 2006, 6:38 am
Having trouble installing MIME::Lite module July 6, 2006, 4:25 pm
Trouble installing storable 2.13 with perl 5.8.0 on redhat 9 machine December 10, 2004, 12:06 am
Trouble with readline in cpan, perl debug on Mac OS X September 9, 2004, 6:49 pm
Need help installing via CPAN March 17, 2005, 3:33 pm
CPAN Errors Installing Tk Module November 26, 2004, 9:56 pm
Installing a CPAN Module online June 26, 2005, 8:45 pm
Installing WWW::Mechanize from CPAN shell May 24, 2007, 4:56 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap