开发者

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

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开发者_JS百科 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.


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


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


In the case of Fedora, this would be

yum install perl-devel

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜