hi all i am a linux admin and one of my user asked me to install some modules in perl. I am using RHEL 5.4 and the perl version is 5.8.8 When i try to install the module XML/Parser i was getting the following error.
(i didnt post the whole error part)Expat.c:2687: error: âXML_Parserâ u +ndeclared (first use in this function) Expat.c:2687: error: expected â;â before âparserâ Expat.c:2688: warning: ISO C90 forbids mixed declarations and code Expat.xs:2194: error: âparserâ undeclared (first use in this function) Expat.xs:2194: warning: cast to pointer from integer of different size Expat.xs:2205: warning: unused variable âpretâ Expat.xs:2194: warning: unused variable âcbvâ Expat.xs:2192: warning: unused variable âtypeâ make[1]: *** [Expat.o] Error 1 make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.40/Expat' make: *** [subdirs] Error 2 /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
Please help me to solve this issue.

In reply to problem in installing modules by kingstons

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.