Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: XML::Simple

by vbrtrmn (Pilgrim)
on Nov 06, 2002 at 23:25 UTC ( #210956=note: print w/replies, xml ) Need Help??

in reply to XML::Simple

I recently ran into a few problems installing XML::Simple on my linux box (mandrake 8.2). You currently can't install XML::Simple without XML::Parser.

Anyway, here's what you'll need to get it done:

  1. Install Expat XML Parser, download here:
    I advise installing from the source rather than using the RPM, as it didn't work for me.
  2. Install XML::Parser
    XML::Simple currently doesn't work with out XML::Parser. I just installed through the CPAN shell, no problems after installing expat.
  3. Install XML::Simple
    Also, installed easily through the CPAN shell.

Without installing expat, I could not install XML::(anything).

Updated Jan 31, 2003

I recently rebuilt the box with Mandrake 9.0, it was 8.0. Have the same problems with expat and XML::Simple & XML::Parser not installing with the expat RPMS.
I tried both the current release of expat (1.95.6) and the one from the Mandrake ISO (1.95.2); with NEITHER of the RPMS, will either of the mentioned XML modules install properly. Though if I install the (1.95.6) from source, both modules install fine.

Not sure if it is a Mandrake thing or what. I'm pretty sure I haven't been smoking too much crack though.


Replies are listed 'Best First'.
Re: Re: XML::Simple
by grantm (Parson) on Nov 07, 2002 at 00:06 UTC

    I'm not sure why you had RPM problems, but the first place to look for an RPM of expat is on the Mandrake CD. I'm not a mandrake user, but expat is a standard feature of RedHat.

    If you don't want to use XML::Parser then XML::Simple version 1.08_01 or later can work with *any* SAX parser. Just install XML::SAX and then say XML::LibXML.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://210956]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2022-08-11 02:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found