Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I deal with a missing CORE/config.h when building a Perl module?

Tags:

makefile

perl

Every time I try to use Makefile.PL to install Data::UUID, I get this:

perl Makefile.PL
Configured options (run perl Makefile.PL --help for how to change this):
        UUID state storage: /tmp
        default umask: 0007
Writing Makefile for Data::UUID

Then when I run make, I get this:

make: *** No rule to make target /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/config.h', needed by Makefile'. Stop.

How can I deal with this?

I'm using Fedora, by the way.

like image 204
jack Avatar asked Dec 09 '25 23:12

jack


2 Answers

Sorry for way late reply jack, but this might be useful for others who are new to managing linux packages.

As Grrrr pointed out you should install a perl-devel package. If managing packages and perl modules are new to you perhaps you will appreciate a step by step answer...

To view installed packages execute:

  rpm -qa | grep perl-devel

if perl-devel is installed it will be listed like this:

  [root@gonzo ~]# rpm -qa |grep perl-devel
  perl-devel-5.10.1-115.el6.x86_64
  [root@gonzo ~]#

if it is not installed, execute:

  yum install perl-devel
like image 85
mcchiz Avatar answered Dec 11 '25 15:12

mcchiz


Use your distribution's package manager to make sure the package that provides the missing file has been installed.

like image 23
Sherm Pendley Avatar answered Dec 11 '25 15:12

Sherm Pendley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!