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

In reply to make test for ParseXS can't find EXTERN.h by mtilmes

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.