The error comes from XML::SAX::ParserFactory which is part of the XML::SAX distribution, so you obviously have that installed. Mysteriously, although XML::SAX::PurePerl is part of the same distribution, it clearly isn't working. You might want to try re-installing XML::SAX and look carefully for error messages during the install.

Some CPAN modules can be installed by simply copying the .pm files from the distribution tar file into a Perl lib directory (eg: this works for XML::Simple). XML::SAX is not one of those modules. It has magic stuff happening in the Makefile.PL that generates some .pm files on the fly.

Another thing to beware of is that XML::SAX::PurePerl relies on XML::SAX::Base which is a distribution nested inside the XML::SAX distribution. Running 'make' would normally recurse down into the nested directory but maybe that didn't happen on your system. Try cd'ing into XML-SAX-Base and running 'perl Makefile.PL; make test' there.


In reply to Re: XML::Simple on Solaris 8 by grantm
in thread XML::Simple on Solaris 8 by nitinep

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.