[prev in list] [next in list] [prev in thread] [next in thread]
List: kde3alpha
Subject: Re: [Kde3alpha] Problems building kdelibs - libxslt vs kdoctools
From: Brad Hards <bhards () bigpond ! net ! au>
Date: 2001-11-17 7:17:41
[Download RAW message or body]
Brad Hards wrote:
>
> I am updating my tree to CVS HEAD, but am having some problems. I have
> overcome most of them by removing moc files and deleting a few obsolete
> library versions. However I cannot make kdelibs build. I am building on
> linuxppc with gcc 2.95.3. Here is an extract of the build logs:
>
> Making all in kdoctools
> make[2]: Entering directory `/usr/src/kde/kdelibs/kdoctools'
> /bin/sh ../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I..
> -I../kio -I.. -I../kio/gzip -I../kio/bzip2 -I../dcop -I../libltdl -I../kdecore
> -I../kdeui -I../kssl -I/usr/src/kde/qt-copy/include -I/usr/X11R6/include
> -I/opt/kde2/include -I/opt/kde2/include/libxml2/libxml
> -I/opt/kde2/include/libxml2 -I/include -I/opt/kde2/include
> -I/opt/kde2/include/libxml2/libxml -I/opt/kde2/include/libxml2 -I/include
> -DSRCDIR="\"/usr/src/kde/kdelibs/kdoctools\"" -DQT_THREAD_SUPPORT
> -D_REENTRANT -I/usr/local/include -O2 -fno-exceptions -fno-check-new
> -ftemplate-depth-99 -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c kio_help.cpp
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kio -I.. -I../kio/gzip -I../kio/bzip2
> -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kssl
> -I/usr/src/kde/qt-copy/include -I/usr/X11R6/include -I/opt/kde2/include
> -I/opt/kde2/include/libxml2/libxml -I/opt/kde2/include/libxml2 -I/include
> -I/opt/kde2/include -I/opt/kde2/include/libxml2/libxml
> -I/opt/kde2/include/libxml2 -I/include
> -DSRCDIR=\"/usr/src/kde/kdelibs/kdoctools\" -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/local/include -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99
> -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
> -Wp,-MD,.deps/kio_help.pp -c kio_help.cpp -fPIC -DPIC -o .libs/kio_help.o
> In file included from /opt/kde2/include/libxslt/xsltInternals.h:18,
> from kio_help.cpp:44:
> /opt/kde2/include/libxslt/xslt.h:51: syntax error before `extern'
> /opt/kde2/include/libxslt/xslt.h:58: syntax error before `extern'
> /opt/kde2/include/libxslt/xslt.h:65: syntax error before `extern'
> /opt/kde2/include/libxslt/xslt.h:72: syntax error before `extern'
> In file included from kio_help.cpp:46:
> /opt/kde2/include/libxslt/xsltutils.h:97: syntax error before `extern'
> /opt/kde2/include/libxslt/xsltutils.h:98: syntax error before `extern'
> /opt/kde2/include/libxslt/xsltutils.h:99: syntax error before `extern'
> /opt/kde2/include/libxslt/xsltutils.h:100: syntax error before `extern'
> make[2]: *** [kio_help.lo] Error 1
> make[2]: Leaving directory `/usr/src/kde/kdelibs/kdoctools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/kde/kdelibs'
> make: *** [all-recursive-am] Error 2
>
> Investigations:
> libxslt is 1.0.7, and the offending definition seems to be LIBXSLT_PUBLIC.
Someone suggested I might have a problem with missing bits (eg rpms). I built
from source, so I think that it should be complete. I also tried with 1.0.6
(since the person using rpms was using this), and get the same problems.
I eventually managed to get past this problem by deleting the four
LIBSXSLT_PUBLIC definitions in each of xslt.h and xsltutils.h.
I still don't know why kdelibs can't be built with libxslt built from source.
Brad
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic