[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde3alpha
Subject:    Re: Re[[Kde3alpha] Problems building
From:       Brad Hards <bhards () bigpond ! net ! au>
Date:       2001-11-17 8:40:30
[Download RAW message or body]

Ghiora Drori wrote:
> 
> Correct me if I am wrong but you are mixing kde2 and kde (which I assume is your \
> kde3) includes. If your current kde2 is what resides in /opt/kde2/include It should \
> not be there when you configure.
Maybe (I will try deleting everything in /opt when I next update and rebuild),
but I don't think so.

/opt/kde is the original LinuxPPC2000 install - I assume a KDE 1 install
/opt/kde2 is kde3alpha, which seems to be the default install location.
My 2.2.1 RELEASE is in /opt/kde2.2.1. 

In any case, libxslt 1.0.6 (or 1.0.7 when I used that) is installed in
/opt/kde2. The only problem I can see (now that you mention it) is that
qt-copy is coming from /opt/kde, which doesn't look right.

I think that the real problem is either in libxslt or the way in which we are
using it.

Brad

> 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
> 
> _______________________________________________
> kde3alpha mailing list
> kde3alpha@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde3alpha


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic