I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2012-07-27 07:36:09.259504-07 by puterfreek
Compile Question
I've recently downloaded the latest Params-Util-1.07 and am trying to compile/install into our homegrown perl/perl_modules build and am receiving the following:

sanexs-ABTdB.c:1:20: error: EXTERN.h: No such file or directory
sanexs-ABTdB.c:2:18: error: perl.h: No such file or directory
sanexs-ABTdB.c:3:18: error: XSUB.h: No such file or directory
Unresolvable broken external dependency.
This package requires a C compiler with full perl headers.
Trivial test code using them failed to compile.
NA: Unable to build distribution on this platform.


The perl headers this Makefile.PL is referencing exist in a non-standard location but I see no ready means to pass along this location to the Makefile.PL I've tried adding INC and CCFLAGS to the command as follows, but it appears to be ignored.

/builds/perlbuild2/dist/x86_64-linux/perl/link_to_perl/bin/perl Makefile.PL PERL_SRC=/builds/perlbu +ild2/perl/build/x86_64-linux/src/perl-5.16.0 PREFIX=/tools/perl/perl-5.16.0 DESTDIR=/builds/perlbu +ild2/dist/x86_64-linux/perl LIB=/tools/perl/perl-5.16.0/lib/site_perl/5.16.0 INC="-I/builds/perlbu +ild2/perl/build/x86_64-linux/src/perl-5.16.0" CCFLAGS="-I/builds/perlbuild2/perl/build/x86_64-linu +x/src/perl-5.16.0"

How can I pass the INC dir to the MakeMaker? I should mention that we've been compiling successfully and using the 1.0 version in this same build setup for quite some time now.(around 8 years)

Compile host info:
gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)
Linux myhost 2.6.18-274.18.1.el5 #1 SMP Fri Jan 20 15:11:18 EST 2012 x86_64 x86_64 x86_64 GNU/Linux



Thanks for any input.
Direct Responses: 13760 | Write a response