Friday, February 15, 2013

make: *** No rule to make target `/usr/lib64/perl5/CORE/config.h', needed by `Makefile'. Stop.

Problem


While compiling ExtUtils-MakeMaker-6.64 on CentOS 6.3: x64

cd /usr/local/src
wget http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/ExtUtils-MakeMaker-6.64.tar.gz
tar -xzf ExtUtils-MakeMaker-6.64.tar.gz
cd ExtUtils-MakeMaker-6.64
perl Makefile.PL
make

I get the following error:
make: *** No rule to make target `/usr/lib64/perl5/CORE/config.h', needed by `Makefile'.  Stop.

Solution


The package perl-devel needs to be installed then make again:
yum -y install perl-devel

cd /usr/local/src
cd ExtUtils-MakeMaker-6.64
make
make install

No comments:

Post a Comment