Re: Problem installing ExtUtils::Command from CPAN
- From: "Vincent Foley" <vfoley@xxxxxxxxx>
- Date: 31 Oct 2006 04:06:02 -0800
I just tried installing WWW::Mechanize and IO::Prompt and both failed
because of the absence of ExtUtils/Command.pm in my @INC.
I have downloaded libperl-dev from apt-get, but this hasn't fixed the
problem. When I went to ~/.cpan/build/ExtUtils-Command-1.12/ and tried
the perl Makefile.PL; make test, I got the same error as before.
Now, I just tried something that I think worked, but I'm not sure: I
copied ExtUtils/Command.pm into my @INC so that I could perform the
manual installation of the module and this worked. If I run into more
problems, I'll let you know.
Also, I would be interested to know if you guys think I should compile
Perl5 from scratch instead of using the Ubuntu-provided packages; I
know the Ruby guys strongly recommend against using the Debian package
of Ruby because it lacks all sorts of modules that are normally
installed by default.
Vincent
Sisyphus wrote:
"Vincent Foley" <vfoley@xxxxxxxxx> wrote in message
news:1162269791.526273.284920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.
.
CPAN.pm: Going to build R/RK/RKOBES/ExtUtils-Command-1.12.tar.gz
Argument "6.30_01" isn't numeric in numeric ge (>=) at Makefile.PL line
22.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::Command
Can't locate ExtUtils/Command.pm in @INC (@INC contains:
/home/vince/perl /home/vince/perl/lib/perl/5.8.7
/home/vince/perl/share/perl/5.8.7 /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
make: *** [blib/lib/ExtUtils/.exists] Error 2
/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
Neat joke, indeed :-)
EU::Command is part of core perl with 5.8.7 and 5.8.8 - so definitely should
have been part of your perl to begin with. What became of it ?
Does the module install if you simply download ExtUtils-Command-1.12.tar.gz
from CPAN, extract to some location, cd to that location, and run:
perl Makefile.PL
make test
make install
Are you able to install *any* perl modules at all ? (Sometimes the default
perl installation is not fully functional - and to get a fully functional
version of perl it is necessary to install the perl "devel" version from the
OS installation media. But if we're dealing with a perl that you've built
yourself then this should *not* be the case.)
EU::Command is pure perl, so if all else fails, you might be able to get
things working by copying Command.pm to the ExtUtils directory under one of
the @INC directories. But if you're missing the "devel" installation then
that probably won't be sufficient in itself.
Cheers,
Rob
.
- References:
- Problem installing ExtUtils::Command from CPAN
- From: Vincent Foley
- Re: Problem installing ExtUtils::Command from CPAN
- From: Sisyphus
- Problem installing ExtUtils::Command from CPAN
- Prev by Date: Re: How to get a full trace of a prog's execution?
- Previous by thread: Re: Problem installing ExtUtils::Command from CPAN
- Next by thread: FAQ 4.70 How do I handle binary data correctly?
- Index(es):
Relevant Pages
|
|