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

Re: all KDE app builds fail



Hi,

Andrew Schulman wrote:

> I upgraded to KDE 3.1.3, in Debian unstable.  This includes libqt3c102-mt
> and all the related build packages: libqt3-mt-dev, kdelibs4-dev, and
> libqt3-compat-headers.  I also upgraded my gcc to version 3.2.2.
> 
> Now whenever I try to build a KDE app from source (e.g. kgpg, kopete,
> knowit), I get the infamous error message
> 
> # ./configure --with-qt-dir=/usr/share/qt3
> <snip>
> checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt) not
> found. Please check your installation!
> For more details about this problem, look at the end of config.log.
> Make sure that you have compiled Qt with thread support!
 
I was struggling with the same problem and found that its solution is
explicitly telling configure to use gcc-3.2. Thanks to 
http://opendoorsoftware.com/cgi/http.pl?p=DebianQTChecklist I realised that
the links /usr/bin/gcc, /usr/bin/cpp and /usr/bin/g++ were pointing to the
2.95 versions. 

I don't know what the recommended way is, but I left the links in place and
called configure with some environment variables set:

CC=/usr/bin/gcc-3.2 CPP=/usr/bin/cpp-3.2 CXX=/usr/bin/g++-3.2 ./configure

That seemed to work. BTW I was compiling platero, a gui for the mldonkey p2p
client.

HTH,
Chris



Reply to: