[xslt] Fwd: FYI: local install of XML::LibXML and XML::LibXSLT



Whoops, wrong mail address again (OS X).

A little more detail .. the problem with XML::LibXML not detecting the  
library was the same problem with xsubpp although it took a while to  
figure that out. The Makefile.PL generated a Conftest.PL type test to  
see if the library was available. Makefile.PL generated a Makefile with  
the hard-coded path in it, which is why I said it was a MakeMaker  
problem. changing to this
XSUBPPDIR = /home/simon/local/share/perl/5.6.1/ExtUtils
made the problem go away.

Simon

Begin forwarded message:

> From: Simon Woodside
> Date: Sun Apr 6, 2003  11:36:03  PM America/Montreal
> To: axkit-users@axkit.org
> Cc: xslt@gnome.org
> Subject: FYI: local install of XML::LibXML
>
> FYI
>
> I installed XML::LibXML locally (without root) into a situation where  
> my libxml2 was also installed locally. I was having trouble with it  
> not detecting the installed library that I eventually resolved by  
> commenting out the tests in Makefile.PL
>
> I had  
> PERL5LIB=/home/simon/local/lib/perl/5.6.1:/home/simon/local/share/ 
> perl/5.6.1
>
> and I ran perl Makefile.PL PREFIX=/home/simon/local
>
> Then running make gave the following error:
> make: *** No rule to make target  
> `/usr/share/perl/5.6.1/ExtUtils/xsubpp', needed by `LibXML.c'.  Stop.
>
> This is a problem (I guess) with MakeMaker not applying the proper  
> prefix to find xsubpp (which is installed in  
> /home/simon/local/share/perl/5.6.1/ExtUtils/) I hacked the Makefile to  
> manually change the path.
>
> simon
>
>
--
      anti-spam: do not post that address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel




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