Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Error when running make Makefile

by locust (Sexton)
on Nov 15, 2010 at 19:30 UTC ( [id://871557]=perlquestion: print w/replies, xml ) Need Help??

locust has asked for the wisdom of the Perl Monks concerning the following question:

I get the following error when running make Makefile:

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

Well, as it turns out, the config.h file does not exist in that directory..or on my box anywhere.

Replies are listed 'Best First'.
Re: Error when running make Makefile
by Anonymous Monk on Nov 15, 2010 at 21:56 UTC
    My crystal ball says you need to install the perl-devel rpm package for your system.

    Most distros split runtime and development stuff into separate packages, and header files belong in the development category (i.e. things for building software). The respective *-devel packages are usually not installed by default.

      My manager went ahead and installed perl-devel.i686 using yum. This solved the issue. Thanks for the help!
Re: Error when running make Makefile
by marto (Cardinal) on Nov 15, 2010 at 19:52 UTC

    Which operating system are you running?

      I'm running Fedora Linux, kernel 2.6.32.16-150.fc12.i686.

        Ah, I asked because I've seen certain operating systems make a mistake and blitz things Perl needs. OS X did this a while ago. Try installing the perl-devel package for your OS, since most modules you try to install will look require this.

        Update: a google search of the interwebs for the error message you have shows several results, the first looks promising

Re: Error when running make Makefile
by AndyZaft (Hermit) on Nov 15, 2010 at 22:01 UTC
    Seems like you are missing libs that are required to compile perl...I'm assuming that's what you are trying to do based on the path... and this website. Since I never compiled perl this before, is there a configure before the make? Usually that will point out the missing libs and other things that are needed for successful compilation.
Re: Error when running make Makefile
by Anonymous Monk on Nov 15, 2010 at 20:53 UTC
    What are you trying to build?
      Longer story... I wanted to install the CPAN module. CPAN, requires ExtUtils::MakeMaker.pm. So, I'm trying to install MakeMaker.pm so I can then install CPAN..so then I can be truly lazy, and let CPAN deal with all this fun stuff. :-)
        So, I'm trying to install MakeMaker.pm
        Why? Something else must be wrong. ExtUtils::MakeMaker has been a core module for a long long time:

        $ corelist ExtUtils::MakeMaker ExtUtils::MakeMaker was first released with perl 5

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://871557]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-19 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found