Bug #31042 Compilation erreurs
Submitted: 15 Sep 2007 16:54 Modified: 29 Nov 2007 16:48
Reporter: Eclipse Manu Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL GUI Common Severity:S1 (Critical)
Version: OS:Linux (mdv2006 32bit)
Assigned to: CPU Architecture:Any

[15 Sep 2007 16:54] Eclipse Manu
Description:
First, i instal mysql-gui-tools.

Then:/tmp/mysql-gui-tools-5.0r12/mysql-gui-common>./configure
Then:/tmp/mysql-gui-tools-5.0r12/mysql-gui-common> ./make
    Error !

Do yo meet this bug ? And how to fix it ? Thanks !!!!

In file included from ../include/myx_recordset.h:24,
                 from myx_recordset.c:20:
../include/myx_query.h:72:8: warning: extra tokens at end of #endif directive
myx_recordset.c: In function 'myx_query_execute':
myx_recordset.c:291: error: 'MYSQL_TYPE_BIT' undeclared (first use in this funct                                                                           ion)
myx_recordset.c:291: error: (Each undeclared identifier is reported only once
myx_recordset.c:291: error: for each function it appears in.)
myx_recordset.c:303: error: 'MYSQL_TYPE_NEWDECIMAL' undeclared (first use in thi                                                                           s function)
myx_recordset.c:396: warning: pointer targets in initialization differ in signed                                                                           ness
myx_recordset.c: In function 'myx_query_apply_actions':
myx_recordset.c:1447: warning: unused variable 'pks'
make[4]: *** [myx_recordset.lo] Erreur 1
make[4]: Leaving directory `/tmp/mysql-gui-tools-5.0r12/mysql-gui-common/library                                                                           /base-library/source'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/tmp/mysql-gui-tools-5.0r12/mysql-gui-common/library                                                                           /base-library'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/tmp/mysql-gui-tools-5.0r12/mysql-gui-common/library                                                                           '
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/tmp/mysql-gui-tools-5.0r12/mysql-gui-common'
make: *** [all] Erreur 2

How to repeat:
DL tarball mysql-gui-tools-6.0r12.tar.gz

./configure
then:> ./make
[29 Nov 2007 16:48] Susanne Ebrecht
This is not a bug.

Please, make sure, that you have installed MySQL 5.0 client libs and headers.
If you don't have installed MySQL Server 5.0 from Source, then you need to install a package like libmysqlclient15-dev or libmysql15-devel or mysql-devel. Unfortunately, I don't have Mandriva here, to look for the correct package name.
[29 Nov 2007 16:59] Susanne Ebrecht
I foget to say:
Consider, the MySQL GUI Tools Bundle is for MySQL Server 5.0.
They won't work with older server version.

Many thanks for trusting MySQL.