Has anyone installed XML::LibXML and XML::LibXSLT? I installed
XML::LibXML without any problems, but hit a wall with LibXSLT. The
configure step works fine with Perlgcc, but make gives errors (see
below). I have Solaris 9 and Perl 5.00503. Any suggestions?
 
bash-2.05# perlgcc Makefile.PL
running xslt-config... ok
looking for -lxslt... yes
looking for -lexslt... yes
Writing Makefile for XML::LibXSLT
bash-2.05# make
gcc -c -I/usr/local/include/libxml2  -O2 -fno-strict-aliasing
-DVERSION=\"1.57\" -DXS_VERSION=\"1.57\" -fPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DHAVE_BLANK -DHAVE_BLANK
-DHAVE_EXSLT LibXSLT.c
LibXSLT.xs: In function `LibXSLT_input_match':
LibXSLT.xs:80: error: `dTHX' undeclared (first use in this function)
LibXSLT.xs:80: error: (Each undeclared identifier is reported only once
LibXSLT.xs:80: error: for each function it appears in.)
LibXSLT.xs: In function `LibXSLT_input_open':
LibXSLT.xs:137: error: `dTHX' undeclared (first use in this function)
LibXSLT.xs: In function `LibXSLT_input_read':
LibXSLT.xs:194: error: `dTHX' undeclared (first use in this function)
LibXSLT.xs: In function `LibXSLT_input_close':
LibXSLT.xs:256: error: `dTHX' undeclared (first use in this function)
LibXSLT.xs: In function `LibXSLT_iowrite_scalar':
LibXSLT.xs:304: warning: passing arg 2 of `Perl_sv_catpvn' discards
qualifiers from pointer target type
LibXSLT.xs: In function `LibXSLT_generic_function':
LibXSLT.xs:450: warning: passing arg 2 of `Perl_sv_catpv' discards
qualifiers from pointer target type
LibXSLT.xs:452: warning: passing arg 2 of `Perl_sv_catpv' discards
qualifiers from pointer target type
LibXSLT.xs:492: warning: passing arg 2 of `Perl_sv_setref_pv' discards
qualifiers from pointer target type
LibXSLT.xs: In function `XS_XML__LibXSLT_register_function':
LibXSLT.xs:660: warning: passing arg 2 of `Perl_sv_catpv' discards
qualifiers from pointer target type
LibXSLT.xs:662: warning: passing arg 2 of `Perl_sv_catpv' discards
qualifiers from pointer target type
make: *** [LibXSLT.o] Error 1
 
Bob Richart
Systems Librarian
Medical Library
Madigan Army Medical Center
(253) 968-0120
http://www.mamc.amedd.army.mil/medlib/ml_hmeinfo.htm
 

Reply via email to