Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Parser.ini in Fedora Core 2

by Akira71 (Scribe)
on Feb 03, 2005 at 22:26 UTC ( [id://427844]=perlquestion: print w/replies, xml ) Need Help??

Akira71 has asked for the wisdom of the Perl Monks concerning the following question:

Hello esteemed monks,

Once again I am having to ask what is likely a silly question but it needs to be asked. I am using Fedora Core 2, Apache 2+ and mod_perl to do some simple XML parsing. I have recieved the error in XML::SAX that ParserDetails.ini not found I did a quick search and see it all over Bugzilla as an issue with Fedora and that to make it happen one must use the regular perl parser and not mod_perl. Is there not a big fix for this out there? If so, what else might be a solution with mod_perl?

Again, I put myself out there in potential shame awaiting for possible answer.

Head bowed.. Akira

Replies are listed 'Best First'.
Re: Parser.ini in Fedora Core 2
by Akira71 (Scribe) on Feb 03, 2005 at 22:46 UTC
    Not 10 minutes after I posted this question, another wiser one from the office stumbled upon this solutions so I thought I would share it here for those in need.

    ok, here's what I did to get Simple XML working on Fedora Core 2

    There is a bug in Fedora Core 2 in the file ParserDetails.ini is not created by the install. It also is not created during the SAX install.

    1) run the following line to fix the ini file:

    perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"

    2) reinstall XML::SAX::Expat parser to correct its entry in the ini file:

    perl -MCPAN -e shell cpan>force install XML::SAX::Expat that's it. took me forever to get this worked out :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://427844]
Approved by holli
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-05-21 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found