You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "S.tygian B.lacksmith S.tudios" <st...@zero.zero.xs2.net> on 2002/06/25 05:21:24 UTC

(newbie) Problems compiling XML::LibXSLT

Hello,

I'm having some problems compiling the XML::LibXSLT module and was
wondering if anyone could help. I've successfully compiled and tested
libxml2 2.4.22 and libxslt 1.0.18, and have been able to get the make
procedures to find libxml when compiling things like Sablotron, etc.
However, I can't get the XML::LibXSLT makefile to find my libxslt
libraries. No matter what options I pass for LIBS and INC, I keep
getting the following result:

running xslt-config... failed
using fallback values for LIBS and INC
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxslt -lxml2 -lz -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ perl5 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxslt... no
libxslt not found
Try setting LIBS and INC values on the command line
Or get libxslt and libxml2 from 
  http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.

I installed libxml2 and libxslt from tar.gz files on a FreeBSD 4.4
system, but it's set up a bit strangely... It's on a "virtual server,"
so / actually maps to /usr/home/username/. Libxml is installed at (using
the virtual directory structure) /usr/local/libxml2-2.4.22 and libxslt
is installed at /usr/local/libxslt-1.0.18. Additionally, I have soft
links in the /usr/local directory (libxml -> libxml2-2.4.22, libxslt ->
libxslt-1.0.18).

I've tried passing LIBS='-L/usr/home/username/usr/local/libxslt/lib'
INC='-I/usr/home/username/usr/local/libxslt/include' on the command line
as suggested, as well as variants omitting the /usr/home/username part
and using the full directory names instead of the links. Same results
each time.

I'm not too familiar with passing compiler flags, though. Am I passing
the wrong values, or is there something I'm missing?

TIA.

Sincerely,
Scott G. Kearn


Re: (newbie) Problems compiling XML::LibXSLT

Posted by Stas Bekman <st...@stason.org>.
Sorry Scott, this is the *mod_perl* list. And this kind of questions is 
very non-desired here, since it has absolutely nothing to do with 
mod_perl. The XML::LibXSLT manpage includes the email of the author (hey 
Matt :) and he will be able to help you directly or point you to the 
mailing list that is created for this purpose if any.

Please refrain from posting this kind of questions to this list in the 
future and stick to the mod_perl topics.

Thanks.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com