Saahil Sirowa wrote:
[root@localhost trunk]# perl Makefile.PL
Can't locate *ExtUtils/MakeMaker.pm* in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 8.
BEGIN failed--compilation aborted at Makefile.PL line 8
line 8 is use ExtUtils::MakeMaker;
Thanks...
MakeMaker is a standard core Perl module for building module install
scripts.
I don't recall seeing which Linux distribution you're doing this on, but
you can try one of these depending on whether you're on an RPM-based
distribution (eg Fedora, RedHat, CentOS) or a Debian/dpkg-based one:
RPM:
rpm -q --whatprovides 'perl(ExtUtils::MakeMaker)'
or
Debian/dpkg:
dpkg -S ExtUtils/MakeMaker.pm
I get the following results for comparison:
CentOS 6:
$ rpm -q --whatprovides 'perl(ExtUtils::MakeMaker)'
perl-ExtUtils-MakeMaker-6.55-144.el6.x86_64
Debian 8 (jessie):
$ dpkg -S ExtUtils/MakeMaker.pm
perl-modules: /usr/share/perl/5.20.2/ExtUtils/MakeMaker.pm
If it's not found, you should be able to install the appropriate package.
-kgd