>However, I had some difficulty when installing both Expat and 
XML::Parser.
 >Using CPAN I was not able to locate Expat, so I pulled it down directly 
and
 >ran configure, make, make install. However, I had to remove references 
to
 >xmlwf in the makefile to make that work.
You can get expat to compile if you remove "-static" from all the places
it occurs in Examples/Makefile and xmlwf/Makefile.

 >Then once it worked I had to modify the Expatlibpath and expatincpath 
in the
 >makefile. This seemingly allowed me to correctly install XML::Parser.
Yes, you have to do
   perl Makefile.pl EXPATLIBPATH=/usr/local/lib 
EXPATINCPATH/usr/local/include

With these changes, I was able to get XML::Parser to work for my own
Perl CGI application 
(http://www.lightandmatter.com/spotter/spotter.html).

As I recall, I think I e-mailed someone relevant (Clark Cooper?) about 
this, but got no
response. (My memory could be faulty.) The XML::Parser web page
at http://wwwx.netheaven.com/~coopercc/xmlparser/intro.html
gives Cooper's e-mail as coopercc at netheaven.HEDOESN'TWANTSPAM.com,
but anyway, maybe it's something that should just be posted to the 
perl-xml
mailing list. This has come up several times on this list. Is there 
anyone
here who also subscribes to perl-xml and wants to try to initiate a 
discussion
there? Heck, I could probably write up a patch to the makefile myself --
it's just a question of establishing contact with the maintainer and 
getting
this trivial problem fixed for once and for all. Feel free to copy this 
message
to perl-xml.

Reply via email to