Greeting fellow monastarians ,

Using v5.12.4 perl on Ubuntu 11.10, I seem to have run into problem(s) using h2xs on a header file including it's own nested header file(s) - whereby the attempt always fails to #include the nested file :

h2xs -Oxan IBM::Notes IBM/Notes/acl Defaulting to backwards compatibility with perl 5.12.4 If you intend this module to be compatible with earlier perl versions, + please specify a minimum perl version with the -b option. Overwriting existing IBM-Notes!!! Writing IBM-Notes/ppport.h Scanning typemaps... Scanning /usr/share/perl/5.12/ExtUtils/typemap Scanning IBM/Notes/acl.h for functions... In file included from <stdin>:1:0: IBM/Notes/acl.h:24:20: fatal error: global.h: No such file or director +y compilation terminated. In file included from <stdin>:1:0: IBM/Notes/acl.h:24:20: fatal error: global.h: No such file or director +y compilation terminated. Scanning IBM/Notes/acl.h for typedefs... Writing IBM-Notes/lib/IBM/Notes.pm Writing IBM-Notes/Notes.xs Writing IBM-Notes/fallback/const-c.inc Writing IBM-Notes/fallback/const-xs.inc Writing IBM-Notes/Makefile.PL Writing IBM-Notes/README Writing IBM-Notes/t/IBM-Notes.t Writing IBM-Notes/Changes Writing IBM-Notes/MANIFEST

I've tried the following, all without any success ....

In the interests of completeness, I have tried googling for the/any answer/help, but also to no avail, so any & all suggestions/advice gratefully received.

TIA & best rgds to all ,

A user level that continues to overstate my experience :-))

In reply to h2xs problem handling nested include file(s) by Bloodnok

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.