I am still attempting to install XML::Parser on my two HP_UX systems (11.11).
I have version 1.58 of CPAN and version 4.0.2 of gcc.
I am getting a note and beaucoups errors.
The note is: Note (probably harmless): No library found for -lexpat
Then it proceeds to do the makes for XML::Parser and XML::Parser::Expat.
Later, when trying to compile Expat.c I get the errors:
Expat.xs:12:19: error: expat.h: No such file or directory
Expat.xs:60: error: syntax error before 'XML_Parser'
Expat.xs:60: warning: no semicolon at end of struct or union
Expat.xs:78: error: syntax error before ':' token
Expat.xs:79: error: syntax error before ':' token
Expat.xs:80: error: syntax error before ':' token
Expat.xs:106: error: syntax error before '}' token
Expat.xs:106: warning: data definition has no type or storage class
Expat.xs:111: error: syntax error before 'nsdelim'
.
.
.
Expat.c: In function 'XS_XML__Parser__Expat_Do_External_Parse':
Expat.c:2643: error: 'XML_Parser' undeclared (first use in this function)
Expat.c:2643: error: syntax error before 'parser'
Expat.xs:2194: error: 'cbv' undeclared (first use in this function)
Expat.xs:2194: error: syntax error before ')' token
Expat.xs:2197: error: 'parser' undeclared (first use in this function)
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
My question is: does the note have anything to do with the errors, and how do I correct?
Is there an error in the module?
I would gladly appreciate even a hint from the learned brethren.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.