List:GUI Tools« Previous MessageNext Message »
From:Jorge del Conde Date:November 9 2002 11:50pm
Subject:Re: Can't compile mysqlcc 0.8.6a
View as plain text  
Hi!

Is your $QTDIR variable set correctly to point to the 3.0.5 distribution ?

The way the version is checked is by the following code:

AC_MSG_CHECKING("if Qt Version in $QTDIR is >= 3.0.5")
CPPFLAGS="$CPPFLAGS -I$QTDIR/include"
AC_TRY_CPP([
#include <qglobal.h>
#if QT_VERSION < 0x030005
#error
#endif

0.8.6a erroneously checks for 302 instead of 0x030005, but either way 302 is
still less than 0x030005 so it should still work

> locate libqt
> /usr/lib/libqt.so.3
> /usr/lib/libqt-mt.so.3
> /usr/lib/libqt.so.3.0.4
> /usr/lib/libqt.so.3.0
> /usr/lib/libqt-mt.so.3.0
> /usr/lib/libqthreads.so.9.0.0
> /usr/lib/libqthreads.so.9
> /usr/lib/libqt-mt.so.3.0.4

Apparently, even if you get past the configure script, mysqlcc will not
compile; I can't see libqt-so.3.0.5 or libqt-mt.so.3.0.5 in the above list
(Qt 3.0.5 is required for mysqlcc now) ...

Can you tell me what is QT_VERSION defined as in $QTDIR/include/qglobal.h by
doing the following:
grep QT_VERSION $QTDIR/include/qglobal.h

Regards,
Jorge
--
For technical support contracts, visit https://order.mysql.com/?ref=mjdc
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Jorge del Conde <jorge@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Full-Time Developer
/_/  /_/\_, /___/\___\_\___/   Mexico City, Mexico
       <___/   www.mysql.com


Thread
Can't compile mysqlcc 0.8.6aCarl B. Constantine9 Nov
  • Re: Can't compile mysqlcc 0.8.6aJorge del Conde10 Nov