LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me about " Can't locate ExtUtils/MakeMaker.pm " (http://www.linuxquestions.org/questions/linux-newbie-8/help-me-about-cant-locate-extutils-makemaker-pm-718432/)

ngothuhang 04-11-2009 10:29 AM

Help me about " Can't locate ExtUtils/MakeMaker.pm "
 
I am doing about CA and i install OpenCA on Linux(Fedora core 10). But when i tried to to install modules perl , i have a error:


[root@hang Authen-SASL-2.04]#perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC(@INC contains: /usr/lib/perl5/5.10/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/lib/perl/site_perl.) at Makefile.PL line 4
BEGIN failed--complication aborted at Makefile.PL line 4

I enter command line # perl Makefile.PM to install modules perl and occurred that error
I also update perl but it isnt better
Help me !
Thanks everybody

TB0ne 04-11-2009 11:17 AM

Quote:

Originally Posted by ngothuhang (Post 3505539)
I am doing about CA and i install OpenCA on Linux(Fedora core 10). But when i tried to to install modules perl , i have a error:


[root@hang Authen-SASL-2.04]#perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC(@INC contains: /usr/lib/perl5/5.10/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/lib/perl/site_perl.) at Makefile.PL line 4
BEGIN failed--complication aborted at Makefile.PL line 4

I enter command line # perl Makefile.PM to install modules perl and occurred that error
I also update perl but it isnt better
Help me !
Thanks everybody

You need to install the MakeMaker. You can get it here: http://search.cpan.org/~mschwern/Ext...akeMaker-6.50/, and it has complete installation instructions.

ngothuhang 04-11-2009 12:51 PM

Hic hic....I cant do it.I still met that error
# wget http://mirror-fpt-telecom.fpt.net/cp...er-6.50.tar.gz
# cd ExtUtils-MakeMaker-6.50
# perl Makefile.PL
And has a error:
# perl Makefile.PL
Using included version of ExtUtils::Command (1.16) as it is newer than the installed version (1.13).
Writing Makefile for ExtUtils::MakeMaker
[root@thuhang ExtUtils-MakeMaker-6.50]# make
Can't locate ExtUtils/Install.pm in @INC (@INC contains: blib/arch blib/lib /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 2

Help me. I dont know how to do

stefanolima 12-03-2009 02:36 AM

Can't locate ExtUtils/Install.pm ( ExtUtils/MakeMaker.pm) in @INC
 
Quote:

Originally Posted by ngothuhang (Post 3505650)
Hic hic....I cant do it.I still met that error
# wget http://mirror-fpt-telecom.fpt.net/cp...er-6.50.tar.gz
# cd ExtUtils-MakeMaker-6.50
# perl Makefile.PL
And has a error:
# perl Makefile.PL
Using included version of ExtUtils::Command (1.16) as it is newer than the installed version (1.13).
Writing Makefile for ExtUtils::MakeMaker
[root@thuhang ExtUtils-MakeMaker-6.50]# make
Can't locate ExtUtils/Install.pm in @INC (@INC contains: blib/arch blib/lib /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 2

Help me. I dont know how to do


I have the same problem, After getting the error I downloaded ExtUtils-MakeMaker and perl Makefile PL was ok, but make returned the following error that ExtUtils-Install is missing, I downloaded ExtUtils-Install and perl Makefile.PL returned the same error that "Can't locate ExtUtils/MakeMaker.pm in @INC...".

Please help how to resolve the problem
------------------------------------------------------------------------
[root@mylinuz ExtUtils-MakeMaker-6.55_02]# make
Can't locate ExtUtils/Install.pm in @INC (@INC contains: blib/arch blib/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 2



[root@mylinuz ExtUtils-Install-1.54]# perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at Makefile.PL line 24.
BEGIN failed--compilation aborted at Makefile.PL line 24.
------------------------------------------------------------------------

Tinkster 12-03-2009 02:52 AM

Not sure what you guys are doing/trying to do, but
Code:

cpan -i ExtUtils::MakeMaker
works just fine on Slack64 13.0.


Code:

perl -v

This is perl, v5.10.0 built for x86_64-linux-thread-multi



All times are GMT -5. The time now is 06:10 PM.