[xslt] compiling kdelib 3.0 with libxslt (libxslt-1.0.16) fails



Hi,

i try to compile kdelibs 3.0 with gcc 2.95.3 and libxslt and get the following
error:

/bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../kioslave -I../kioslave/gzip -I../kioslave/bzip2 -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/opt/local/qt302/include  -I/opt/local/kde/include -I/opt/local/include -I/opt/local/gcc-2.95.3/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/libxml2 -DSRCDIR="\"/opt/local/src/kde/3.0/kdelibs-3.0/kdoctools\""  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -I/opt/local/include  -O2 -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kio_help.lo est -f kio_help.cpp || echo './'io_help.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../kioslave -I../kioslave/gzip -I../kioslave/bzip2 -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I/opt/local/qt302/include -I/opt/local/kde/include -I/opt/local/include -I/opt/local/gcc-2.95.3/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/libxml2 -DSRCDIR=\"/opt/local/src/kde/3.0/kdelibs-3.0/kdoctools\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -I/opt/local/include -O2 -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c kio_help.cpp -Wp,-MD,.deps/kio_help.TPlo  -fPIC -DPIC -o .libs/kio_help.o
In file included from /opt/local/include/libxslt/xsltutils.h:20,
                 from kio_help.cpp:43:
/opt/local/include/libxslt/xsltInternals.h:48: syntax error before ;'
/opt/local/include/libxslt/xsltInternals.h:249: syntax error before ;'
/opt/local/include/libxslt/xsltInternals.h:502: syntax error before ('
In file included from kio_help.cpp:43:
/opt/local/include/libxslt/xsltutils.h:132: lOutputBufferPtr' was not declared in this scope
/opt/local/include/libxslt/xsltutils.h:132: parse error before ,'
In file included from kio_help.cpp:44:
/opt/local/include/libxslt/transform.h:62: type specifier omitted for parameter
/opt/local/include/libxslt/transform.h:62: parse error before )'
/opt/local/include/libxslt/transform.h:68: type specifier omitted for parameter
/opt/local/include/libxslt/transform.h:68: parse error before ,'
make[2]: *** [kio_help.lo] Error 1
make[2]: Leaving directory /opt/local/src/kde/3.0/kdelibs-3.0/kdoctools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /opt/local/src/kde/3.0/kdelibs-3.0'
make: *** [all] Error 2

Seems like it's an error of libxslt and not kdelib(?). Please help! :)
System is Solaris 2.7, libxml is libxml2-2.4.20.

Regards, Marc.





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