in reply to MakeMaker dies looking for Perl headers

Try setting INC and LIB as well.

Did you actually try to read the ExtUtils::MakeMaker documentation? It lists every single parameter it knows about and what it means ...


The Perfect is the Enemy of the Good.

  • Comment on Re: MakeMaker dies looking for Perl headers

Replies are listed 'Best First'.
Re^2: MakeMaker dies looking for Perl headers
by reyjrar (Hermit) on May 03, 2005 at 15:50 UTC

    Did you read the OP's node? He clearly states the use of perldoc for MakeMaker. I've been trying to help him fix this OOB for a few days and we've both exhausted all logical paths with the installation and configuration. This should be easier. Someone has to have done this.

    While I appreciate your concern and excellent link to the ExtUtils::MakeMaker documentation, I find it slightly offensive to read considering I just clicked from that open tab (where its been open for a while as we read through each of the ENV variables we could be setting) to this one.

    Sure, RTFM replies are great, but it'd be nice if someone who's actually solved this problem posted a reply saying "OH HEY I SET THIS VARIABLE!" so when google spiders thepen someone in our position can actually find the solution to their problem instead of links to general documentation that they're probly already reading.

    -brad..
Re^2: MakeMaker dies looking for Perl headers
by fuzzyping (Chaplain) on May 03, 2005 at 15:24 UTC
    Of course I did, that's where I found out about PERL_INC. I don't see how modifying @INC or @LIB will help:

    $ ~/perl5/bin/perl -e 'print "$_\n" foreach (@INC)' /home/jason/perl5/lib/perl5/5.8.6/x86_64-linux /home/jason/perl5/lib/perl5/5.8.6 /home/jason/perl5/lib/perl5/site_perl/5.8.6/x86_64-linux /home/jason/perl5/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/5.8.6/x86_64-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl . $ ~/perl5/bin/perl -e 'print "$_\n" foreach (@LIB)' $ /usr/bin/perl -e 'print "$_\n" foreach (@LIB)'
    -fp
      Not @INC or @LIB. The INC and LIB parameters to Makefile.PL

      The Perfect is the Enemy of the Good.

        Sorry, I don't see how INC or LIB is more applicable than PERL_INC. Looking at the pod, it seems that PERL_INC is the way to set the path to CORE. LIB sets INSTALLPRIVLIB and INSTALLSITELIB, which aren't applicable anyways.

        -fp