Re: libXSLT

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <20100502204057.GB960@wladimir>
Maurice Mengel schrieb am 02.05.2010 um 21:32:28 (+0200):

> I am trying to install XML::LibXSLT under cygwin (1.7.5). I am stuck.
> Maybe you have an idea. Thanks in advance! I already had libxslt
> installed thru cygwin package manager, including devel. My problem is
> that I get "libxslt not found" when I try perl Makefile.PL

I just installed it via the cpan shell. Did force install XML::LibXML
first, because my version was compiled against an older version of the
library, which triggers a warning and makes one test fail. Then, I did
force install XML::LibXSLT, because when test failed:

  t/14security.t ... 1/26 # Failed test 24 in t/14security.t at line 192
  #  t/14security.t line 192 is: ok($@ =~ /unable to save to \Q$file\E/);
  t/14security.t ... Failed 1/26 subtests

> I am not sure where the problem is.  I tried various combinations of
> -LIB and -INC, e.g.
>    perl Makefile.PL INC="-I/usr/include" LIBS="-L/usr/lib -xslt -lxml2
> -lz -liconv -lm"

All this wasn't necessary here. The libraries are in their default
location.

> xslt-config --libs
> gives me
> -L/usr/lib -lxslt -lxml2 -lz -liconv -lm

Same here.

-- 
Michael Ludwig
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.