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

List:       koffice
Subject:    Re: KOffice-1.1.1 compile error
From:       Holger =?iso-8859-15?q?Schr=F6der?= <holger-kde () holgis ! net>
Date:       2002-02-25 13:37:03
[Download RAW message or body]

Am Montag, 25. Februar 2002 02:42 schrieb Rob Benton:
> On Sunday 24 February 2002 05:47 pm, David Faure wrote:
> > On Monday 25 February 2002 00:06, Rob Benton wrote:
> > > c++ -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE
> > > -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o libkstore.la.closure
> > > .libs/libkstore_la_closure.o .libs/koStore.o  -L/usr/lib
> > > /usr/lib/libksycoca.so /usr/lib/libkio.so -L/usr/X11R6/lib
> > > -L/usr/lib/qt2/lib -L/usr/lib/gcc-lib/i386-redhat-linux/2.96
           ^^^^^^^^^^^^^

> > > -L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../..
> > > /usr/lib/libkdesu.so -lutil /usr/lib/libkssl.so
> > > /usr/lib/libkdeui.so /usr/lib/libkdecore.so -ldl
> > > /usr/lib/libDCOP.so -lqt -lpng /usr/lib/libjpeg.so -lXext -lX11
> > > -lSM -lICE -lresolv -lz /usr/lib/libfam.so -lstdc++ -lm -lc -lgcc
> > > /usr/bin/ld: cannot find -lqt
> >
> > Do you have Qt2 installed ?
> > In particular, configure seems to have found it in
> > /usr/lib/qt2/lib/, is it still under there ?
> > If not, remove config.cache and re-run configure.
> >
> > Do not upgrade to Qt3/kde3 yet - or if you do, get the
> > KOFFICE_1_1_KDE3 branch of koffice from CVS.
>
> My QT is version 2.3.1 and it's installed in /usr/lib/qt-2.3.1
                                                             ^^^^^^^^^^^
You see the difference between /usr/lib/qt2 and /usr/lib/qt-2.3.1 ?
The problem is as David wrote.
To get it working, you should remove the file config.cache, which is in 
the main koffice source directory, so the configure process forgets 
about the old wrong qt-library-path.
then you do 
	# export QTDIR=/usr/lib/qt-2.3.1
cd to the koffice source directory
this deletes the old cache file         	
	# rm config.cache
	# ./configure
	# make

now you should have a (better chance to) a working koffice...

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

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