[xslt] Lib::XSLT compile error



Hi,

I'm having trouble recompiling XML::LibXSLT (1.0.9) after upgrading to
libxml2-2.4.9 and libxslt-1.0.6 -- error messages below.

gcc is version 2.96 20000731 (Red Hat Linux 7.0)
do I need a new gcc perhaps?

many thanks,
-ben


running xslt-config... ok
looking for -lxslt... yes
Checking if your kit is complete...
Looks good
Writing Makefile for XML::LibXSLT
cp benchmark.pl blib/lib/XML/benchmark.pl
cp LibXSLT.pm blib/lib/XML/LibXSLT.pm
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i686-linux
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap
LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c
Please specify prototyping behavior for LibXSLT.xs (see perlxs manual)
cc -c -I/usr/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2
-I/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fpic
-I/usr/local/lib/perl5/5.6.1/i686-linux/CORE -DHAVE_BLANK LibXSLT.c
In file included from LibXSLT.xs:15:
/usr/include/libxslt/xslt.h:51: syntax error before `extern'
/usr/include/libxslt/xslt.h:58: syntax error before `extern'
/usr/include/libxslt/xslt.h:65: syntax error before `extern'
/usr/include/libxslt/xslt.h:72: syntax error before `extern'
make: *** [LibXSLT.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible



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