Basic compile problem - almost solved
Martin Fahrendorf
martin at fahrendorf.de
Sun Aug 25 10:28:01 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sonntag, 25. August 2002 19:41 schrieb Phil:
> On Sun, 25 Aug 2002 12:12, you wrote:
> > Hello all,
>
> <cut>
>
> > gcc: installation problem, cannot exec `cpp0': No such file or
> > directory
> >
> > What could be missing? I have gcc 2.96 and I want to install
> > kdevelop again.
>
> The problem was that I had versions 2.96 and 3.0 installed. I
> deleted 2.96.
>
> Now I have another problem that is probably just as easy to solve.
> I'm trying to compile kdevelop 2.1.2 for KDE 2.2.2.
>
> checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries)
> not found. Please check your installation!
>
> I have version 2.3.1 of libqt and libqt -devel stored in the usual
> place, /usr/lib/qt2. And I tried "./configure
> with-qt-dir=/usr/lib/qt2". So I suppose that I have the wrong
> version of qt.
Na,
this is possibly not the wrong version of qt but a wrong version of
gcc. Version 3.0 of gcc (only C++) is binary incompatible to version
2.96. so a program compiled with g++-3.0 does not link to a lib that
is compiled with g++-2.96 (like your qt-lib from mandrake). so either
compile qt2 with the version 3.0 gcc or use gcc-2.96 compiler.
Btw: instead using gcc3.0 take gcc3.2 from Cooker. This is the
upcomming standard compiler and should be a little bit faster.
Martin
>
> What have I overlooked?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9aKMlvwUy2pXU3/8RAh8eAJwN0rMTIOHiU35mP45/ToYhS+R4JwCfcfzy
kKMEUaDhhMXQ/K/9q6CW4V0=
=qOCA
-----END PGP SIGNATURE-----
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list