Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Installing XML Module in Alternate Directory

by rupesh (Hermit)
on Nov 13, 2003 at 04:29 UTC ( [id://306722]=note: print w/replies, xml ) Need Help??


in reply to Installing XML Module in Alternate Directory

OK.. Here's what I found when I made a quick search:

The first thing, of course, is that you need to install expat first - and I suppose you already did that.
The default installation procedure for the expat library is:

./configure
make
make install

However, be aware that this will install the expat library files in /usr/local rather than /usr. If you then go to install the XML::Parser library, the make will fail due to an

#include <expat.h>

statement with Expat.xs. The reason for this is that expat.h has been installed in /usr/local/include rather than /use/include.

When running the expat install, run the expat configure script with the --prefix=/usr; this should ensure that the various expat library components get installed in /usr where XML::Parser expects them to be.
There was also this cpan link that would provide you with some extra information.

Hope this helps.
All the best!

"True!"
SRK.
  • Comment on Re: Installing XML Module in Alternate Directory

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-18 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found