[Detroit-pm] problem installing XML::Parser (fwd)

Bill Hess bhess at techrg.com
Sat Apr 26 20:47:45 PDT 2008


You can always build expat yourself - download it from 
http://expat.sourceforge.net/

tar xzf expat-2.0.1.tar.gz
cd expat-2.0.1

./configure --prefix=/the/dir/for/expat

make
make install


Then build XML::Parser
http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz

perl Makefile.PL EXPATLIBPATH=/the/dir/for/expat/lib  
EXPATINCPATH=/the/dir/for/expat/include
make
make test
make install


While you are installing XML::Parser - I highly recommend XML-DOM-XPath

Here are the modules for it - in order:

http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-RegExp-0.03.tar.gz
http://search.cpan.org/CPAN/authors/id/K/KM/KMACLEOD/libxml-perl-0.08.tar.gz
http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-DOM-1.44.tar.gz
http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-XPathEngine-0.08.tar.gz
http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-DOM-XPath-0.13.tar.gz



Bill Hess
Technology Resource Group

Office:  248.546.6900 x12
Fax:     248.546.7310
Mobile: 248.703.1196




Ron Wilson wrote:
> Hi,
>
> I have been trying to install XML::Parser, but I keep getting file not found 
> for Expat.h when either cpan or make tries to compile Expat.c
>
> I have tried both "cpan XML::Parser" and teh "extract/perl Makefile.PL/make" 3 
> step and get the same results.
>
> I also tried "cpan XML::Parser::Expat" and got the same error.
>
> I have tried sveral older version of XML::Parser as well and still the error.
>
> I an running Mepis 7, updated with apt-get update;apt-get upgrade as of 
> yesterday.
>
> _______________________________________________
> Detroit-pm mailing list
> Detroit-pm at pm.org
> http://mail.pm.org/mailman/listinfo/detroit-pm
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/detroit-pm/attachments/20080426/b840c2b3/attachment.html 


More information about the Detroit-pm mailing list