Hi Monks,

I am trying to install XML Parser modules(Expat and XML::Paresr modules)in my unix box.But the installation of expat module gives me a problem while making, as follows.

/bin/sh ./libtool --silent --mode=compile cc -g -DHAVE_EXPAT_CONFIG_H + -I./lib -I. -o lib/xmlparse.lo -c lib/xmlparse.c (Bundled) cc: warning 480: The -g option is available only with the C/ +ANSI C product; ignored. (Bundled) cc: warning 480: The +Z option is available only with the C/ +ANSI C product; ignored. cpp: "lib/xmlparse.c", line 76: warning 2013: Unknown preprocessing di +rective. cpp: "lib/xmlparse.c", line 918: error 4065: Recursion in macro "XML_S +TATUS_ERROR". *** Error exit code 1 Stop.

I think the problem is with the absence of ANSI C compiler in the machine. Can I make the installable binary of this module in some other machine and bring it to my machine and install it? If I can, What are the files or directories i am supposed to bring from the other machine , so that I can just give a "make install" in my machine?Please enlighten me......

Also after installing expat module, can I adopt the same strategy to install Parser module also? Will it also require ANSI C compiler for installation?If yes, Please direct me with the details.......I don't find any clue to this in the README file.

Edited by Chady -- fixed formatting.


In reply to XML parser module installation by asifk1981

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.