Bug #25860 Compile problem on mysql-gui-common when using autogen.sh
Submitted: 26 Jan 2007 9:54 Modified: 8 Jul 2009 11:32
Reporter: Stephen Gornick Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL GUI Common Severity:S3 (Non-critical)
Version:1.2.9 rc OS:Linux (Ubuntu 6.06 LTS AMD64 x86_64)
Assigned to: CPU Architecture:Any
Tags: 6.06, 64 bit, amd64, autogen, autogen.sh, build, compile, Debian, error, error 127, make, myx_sql_resultset.pp, ubuntu, x86_64

[26 Jan 2007 9:54] Stephen Gornick
Description:
I was following the instructions from here:
http://dev.mysql.com/doc/query-browser/en/mysql-gui-install-source-linux-compiling.html
which instructs to configure using autogen.sh, which I did but then the build failed later with an error.

I then read the mysql-gui-common/README which said the instructions are here:
http://forge.mysql.com/wiki/Building_MySQL_GUI_Tools_on_Linux

and that doesn't use autogen.sh at all.

I then wiped and recreated the mysql-gui-common directory and just ran
  ./configure 
without doing the autogen.sh first and it built just fine.

How to repeat:
  $ sh ./autogen.sh 
  $ ./configure
  $ make 

There are 43 warnings, then an error: "No such file or directory", as shown below:

ar cru .libs/libsqlrs.a .libs/MYXResultSetStorage.o .libs/MYXMySQLResultSetStorage.o .libs/MYXMySQLResultSetSource.o
ranlib .libs/libsqlrs.a
creating libsqlrs.la
(cd .libs && rm -f libsqlrs.la && ln -s ../libsqlrs.la libsqlrs.la)
 -c myx_sql_resultset.c
/bin/sh: line 1: -Wp,-MD,.deps/myx_sql_resultset.pp: No such file or directory
make[4]: *** [myx_sql_resultset.lo] Error 127

Suggested fix:
If autogen.sh should not be used then documentation on dev.mysql.com should be modified, or otherwise if autogen.sh should work,
[26 Jan 2007 11:12] Stephen Gornick
mysql-gui-common doesn't have its own version number from what I can tell.  The build was attempted against the GUI Tools mysql-gui-tools-5.0r9
[29 Jan 2007 15:13] MySQL Verification Team
Thank you for the bug report. I was unable to compile on Ubuntu 6.10 using both
procedures mentioned:

myx_exporter.c:847: warning: unused parameter 'text'
make[4]: *** [myx_exporter.lo] Error 1
make[4]: Leaving directory `/home/miguel/test2/mysql-gui-tools-5.0r9/mysql-gui-common/library/base-library/source'
make[3]: *** [all-recursive] Error 1
[29 Jan 2007 18:43] Alfredo Kojima
Miguel, Stephen

Please provide version number of automake and autoconf (as given by automake --version and autoconf --version).

Thanks
[29 Jan 2007 20:58] Stephen Gornick
$ automake --version
automake (GNU automake) 1.4-p6

$ autoconf --version
autoconf (GNU Autoconf) 2.59

$ apt-cache showpkg automake1.4
Package: automake1.4
Versions:
1:1.4-p6-9(/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_dapper_main_binary-amd64_Packages)(/var/lib/dpkg/status)

$ apt-cache showpkg autoconf
Package: autoconf
Versions:
2.59a-7(/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_dapper_main_binary-amd64_Packages)(/var/lib/dpkg/status)
[3 Feb 2007 1:47] Stephen Gornick
Changing Category to MySQL GUI Common now that that category was recently made available.
[8 Jul 2009 11:32] Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of MySQL GUI Tools into MySQL Workbench. Unfortunately you are using an unsupported platform. More informations about supported platforms you will find here:

http://www.mysql.com/support/supportedplatforms/tools.html

More informations about MySQL Workbench you will find here:

http://dev.mysql.com/workbench/