Use $KDEDIR if you want to point to KDE-2 installation dir instead of KDE-1.x And don't use those extra-includes options, it's dangerous IMHO. Simply $QTDIR and $KDEDIR correctly set, remove config.cache, re-run configure, and off you go. On Sun, Jul 25, 1999 at 07:00:29PM -0700, Jerome Loisel wrote: > > Hi, > > Sorry for spamming the list. I tried compiling Koffice without KDEbase > (but with KDElibs). I got some problems again... > I used this line for my configure: > > # ./configure --prefix=/usr/local/kdecvs --with-qt-dir=/usr/local/qt20x > # --with-extra-includes=/usr/local/kdecvs/include > # --with-extra-includes=/usr/local/include |more > > It would not compile. I noticed that it was still looking in /opt/kde > for some includes and some libs, which probably did not help, as KDE 1.1.2 is > located there on my machine. I edited the makefile by hand, substituting all > instances of /opt/kde by /usr/local/kdecvs. (I may be a newbie and have no clue > what I'm doing, but I'm a *determined*, clueless newbie.) > Needless to say that still did not work. I am consistently getting this > error message. > > # make[3]: Entering directory `/root/koffice/lib/kofficecore' > # /bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > # -I../.. -I../../lib/store -I../../lib/store -I./../ -I/opt/kde/include > # -I/usr/local/qt20x/include -I/usr/local/include -I/usr/X11R6/include > # -I/usr/local/include -O2 -c koDocument.cc In file included from > # koDocument.h:26, from koDocument.cc:20: koffice.h:20: kom.h: > # No such file or directory koffice.h:28: openparts_ui.h: No such file or > # directory koffice.h:36: openparts.h: No such file or directory In file > # included from koDocument.cc:20: koDocument.h:28: opDocument.h: No such file or > # directory make[3]: *** [koDocument.lo] Error 1 > # make[3]: Leaving directory `/root/koffice/lib/kofficecore' > # make[2]: *** [all-recursive] Error 1 > # make[2]: Leaving directory `/root/koffice/lib' > # make[1]: *** [all-recursive] Error 1 > # make[1]: Leaving directory `/root/koffice' > # make: *** [all-recursive-am] Error 2 > > Any clue? Thanks a lot for your help. > > > Jérôme Loisel -- David FAURE david.faure@insa-lyon.fr, faure@kde.org http://www.insa-lyon.fr/People/AEDI/dfaure/index.html KDE, Making The Future of Computing Available Today