[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [system-traders] help!



Le Sat, Jan 11, 2003 at 09:31:50PM +0900, Edward Davies écrivait:
> I then got errors saying
> 
>    Can't locate XML/LibXML.pm in @INC
> 
> I tried installing thet XML::LibXML module (again), and I got this error:
> 
> 
> XML::LibXML needs libxml2 version 2.4.20 or higher (found VERSION 2.4.2 
> at Makefile.PL line 40.
> )
> Running make test
>  Make had some problems, maybe interrupted? Won't test
> Running make install
>  Make had some problems, maybe interrupted? Won't install
> 
> 
> So I then installed libxml2 and libxml2-devel, but when I tried again to 
> install XL:LibXML I got the same error.
> It seems as though it cannot find the the new libxml2 libraries....can 
> you help me solve this one?

The Makefile.PL script uses xml2-config --version to determine the
version that you have installed. Check that this program has been
correctly installed with your libxml2-devel package ... and check
what it returns.

Check that you don't have two concurrent versions installed ... if
needed tell the script where you have installed your libxml:
$ XMLPREFIX=/usr/local perl Makefile.PL

[ Here you see how great it is to have everything already packaged by
Debian... ;-) apt-get install libxml-libxml-perl and there it goes ]

Cheers,
-- 
Raphaël Hertzog -+- http://www.ouaza.com
Formation Linux et logiciel libre : http://www.logidee.com