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

All,

I am having trouble with "make test" for ExtUtils::ParseXS version 2.08. I am using perl 5.8.6 that I compiled, running on Fedora core3. I have searched on google and here, but I can't find anything about my error.

I do perl Makefile.PL, make, then make test.
Here is the output I get:
[software@shaggy ExtUtils-ParseXS-2.08]$ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic....ok 3/10XSTest.xs:1:20: EXTERN.h: No such file or directory XSTest.xs:2:18: perl.h: No such file or directory XSTest.xs:3:18: XSUB.h: No such file or directory
EXTERN.h is actually in /usr/local/lib/perl/CORE, and the ParseXS Makefile has this in it - PERL_INC = /usr/local/lib/perl/CORE which makes me wonder why the test can't find it.

I guess I don't really understand how the perl xs stuff finds header files - when I copy EXTERN.h to /usr/local/include, it get's further, but gives me this:
t/basic....ok 3/10In file included from XSTest.xs:2: /usr/local/include/perl.h:37:23: config.h: No such file or directory /usr/local/include/perl.h:475:21: embed.h: No such file or directory


I would appreciate any help with this.

Mark

Replies are listed 'Best First'.
Re: make test for ParseXS can't find EXTERN.h
by Joost (Canon) on Apr 23, 2005 at 20:45 UTC
      Sorry, that wasn't the problem. I actually had a link from /usr/bin/perl to /usr/local/bin/perl, and to make completely sure, I put /usr/local/bin first in my path...