Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??

Something really weird is going on...I have created a Perl CGI site and it has been up and running on multiple linux machines for a long time. But all of a sudden I have started receiving the following error in my a few of my apache error logs:

  • "XMLin() requires either XML::SAX or XML::Parser are /PerlApp/lib/Globals.pm"

The CGI files are all compiled using perlapp, and the following module versions for XML use:

  • XML::Simple 2.15
  • XML::Parser 2.34

I have completely removed all existence of my site and apache, and reinstalled everything but I still am receiving the same error. I can install onto another machine with the same installation script and everything works fine. There is something corrupt or misconfigured on the actual machine, but I thought XML::Parser did not depend on any physical libraries.

The only thing that I have found that works is a complete reinstall of the OS on the broken machine, but I really need to find out what is causing this issue to fix the other few machines without a complete OS install.

Does anyone have any ideas on what is causing this, or how I could get a working machine into this state?

Thanks in advance Monks!


In reply to XML::Simple -> XMLin() requires either XML::SAX or XML::Parser by tptass

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.