| CPAN Ratings (Gamma) XML-LibXSLT reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of XML-LibXSLT
4 out of 4 found this review helpful:
The fastest and most compliant XSLT library I could find for Perl.
Dan Harbin - 2006-09-26 12:46:19
Was this review helpful to you?
Yes
No
Fast, compliant and built on a well trusted base of libxslt, if there's nothing stopping you from building it on your platform of choice then this is the XSLT processor to use.
Jonathan Stowe - 2006-08-02 04:23:38
Was this review helpful to you?
Yes
No
Fails to build with Solaris 8, Google search indicates this is not an issolated problem. I believe it has something to do with the cludge on executing external programs as the Conftest.so (which does not initially exist and is deleted before the script finished) is not found for loading. Quote the author:
"Functions
- these shoudl really be in MakeMaker... But &shrug;"
Output of 'perl Makefile.PL DEBUG=1'
# perl Makefile.PL DEBUG=1
running xslt-config... xslt-config --version
xslt-config --libs
xslt-config --cflags
ok
looking for -lxslt... perl Makefile.PL 'INC=-I/usr/local/include -I/usr/local/include/libxml2' 'LIBS=-L/usr/local/lib -R/usr/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lsocket -lnsl -lm'
INC = -I/usr/local/include -I/usr/local/include/libxml2
LIBS = -L/usr/local/lib -R/usr/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lsocket -lnsl -lm
Writing Makefile for Conftest
make test 'OTHERLDFLAGS=-lxslt'
cp Conftest.pm blib/lib/Conftest.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.5/ExtUtils/typemap Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c
gcc -B/usr/ccs/bin/ -c -I/usr/local/include -I/usr/local/include/libxml2 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1\" -DXS_VERSION=\"1\" -fPIC "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" Conftest.c
Running Mkbootstrap for Conftest ()
chmod 644 Conftest.bs
rm -f blib/arch/auto/Conftest/Conftest.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib Conftest.o -lxslt -o blib/arch/auto/Conftest/Conftest.so -L/usr/local/lib -R/usr/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lsocket -lnsl -lm
gcc: file path prefix `/usr/ccs/bin/' never used
chmod 755 blib/arch/auto/Conftest/Conftest.so
cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs
chmod 644 blib/arch/auto/Conftest/Conftest.bs
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
# Running under perl version 5.008005 for solaris
# Current time local: Wed Nov 9 14:26:18 2005
# Current time GMT: Wed Nov 9 19:26:18 2005
# Using Test.pm version 1.25
Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: ld.so.1: perl: fatal: libgcc_s.so.1: open failed: No such file or directory at /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 230.
at test.pl line 2
Compilation failed in require at test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.
not ok 1
# Failed test 1 in test.pl at line 1
# test.pl line 1 is: use Test; BEGIN { plan tests => 1; } END { ok($loaded) }
make: *** [test_dynamic] Error 255
system call to 'make test 'OTHERLDFLAGS=-lxslt'' failed at Makefile.PL line 139.
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.
#
bdgregg - 2005-11-09 11:29:44
Was this review helpful to you?
Yes
No
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|