Bug #67998 compilation failed with libtool 2.4.2
Submitted: 31 Dec 2012 16:13 Modified: 15 Jan 2013 13:29
Reporter: Cyrille Giquello Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:gpl-5.2.45 OS:Linux
Assigned to: CPU Architecture:Any
Tags: Compilation, libtool

[31 Dec 2012 16:13] Cyrille Giquello
Description:
Hi,

Compilation of mysql-workbench-gpl-5.2.45-src failed. I think it's because of libtool (version 2.4.2) that need a MODE to be specified.

Here is the the "make" log part:

make[4]: entrant dans le répertoire « /home/cyrille/mysql-workbench/mysql-workbench-gpl-5.2.45-src/ext/antlr-runtime »
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -Iinclude    -O2  -Wall -MT antlr3baserecognizer.lo -MD -MP -MF .deps/antlr3baserecognizer.Tpo -c -o antlr3baserecognizer.lo `test -f 'src/antlr3baserecognizer.c' || echo './'`src/antlr3baserecognizer.c
./libtool: line 865: X--tag=CC: command not found
./libtool: line 898: libtool: ignoring unknown tag : command not found
./libtool: line 865: X--mode=compile: command not found
./libtool: line 1032: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1033: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1176: Xgcc: command not found
./libtool: line 1176: X-DHAVE_CONFIG_H: command not found
./libtool: line 1176: X-I.: command not found
./libtool: line 1176: X-I.: command not found
./libtool: line 1176: X-Iinclude: command not found
./libtool: line 1176: X-O2: command not found
./libtool: line 1176: X-Wall: command not found
./libtool: line 1176: X-MT: command not found
./libtool: line 1176: Xantlr3baserecognizer.lo: command not found
./libtool: line 1176: X-MD: command not found
./libtool: line 1176: X-MP: command not found
./libtool: line 1176: X-MF: command not found
./libtool: line 1176: X.deps/antlr3baserecognizer.Tpo: No such file or directory
./libtool: line 1176: X-c: command not found
./libtool: line 1229: Xantlr3baserecognizer.lo: command not found
./libtool: line 1234: libtool: compile: cannot determine name of library object from `': command not found

How to repeat:
$ cd mysql-workbench-gpl-5.2.45-src
$ sh ./configure
$ make
[31 Dec 2012 17:26] Cyrille Giquello
I did an
 $ autoreconf -fi
 $ make
and the compilation sucessed.
[15 Jan 2013 13:29] Ruben Dario Morquecho Valdez
Could you please provide the installer file name? In order to reproduce it.

Thank you for your interest in MySQL.
[15 Jan 2013 13:33] Ruben Dario Morquecho Valdez
Could you please provide the installer file name? In order to reproduce it.
and the  Linux Flavor and version used

Thank you for your interest in MySQL.
[7 Feb 2013 14:17] Jeff Eloff
Ruben,

I too get a similar error on Debian Wheezy 7 (kernel 3.2.0).

Debian has a .deb upstream but it is version 5.2.40 which has a "fetching" error in place of tables on all databases.

I am attempting to complile gpl-5.2.45 from source; ./configure completes and make errors:

Here is where appears to be the relevant output:

make[4]: Entering directory `/home/joof/Downloads/mysql-workbench-gpl-5.2.45-src/ext/antlr-runtime'
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -Iinclude    -O2  -Wall -MT antlr3baserecognizer.lo -MD -MP -MF .deps/antlr3baserecognizer.Tpo -c -o antlr3baserecognizer.lo `test -f 'src/antlr3baserecognizer.c' || echo './'`src/antlr3baserecognizer.c
./libtool: line 865: X--tag=CC: command not found
./libtool: line 898: libtool: ignoring unknown tag : command not found
./libtool: line 865: X--mode=compile: command not found
./libtool: line 1032: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1033: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1176: Xgcc: command not found
./libtool: line 1176: X-DHAVE_CONFIG_H: command not found
./libtool: line 1176: X-I.: command not found
./libtool: line 1176: X-I.: command not found
./libtool: line 1176: X-Iinclude: command not found
./libtool: line 1176: X-O2: command not found
./libtool: line 1176: X-Wall: command not found
./libtool: line 1176: X-MT: command not found
./libtool: line 1176: Xantlr3baserecognizer.lo: command not found
./libtool: line 1176: X-MD: command not found
./libtool: line 1176: X-MP: command not found
./libtool: line 1176: X-MF: command not found
./libtool: line 1176: X.deps/antlr3baserecognizer.Tpo: No such file or directory
./libtool: line 1176: X-c: command not found
./libtool: line 1229: Xantlr3baserecognizer.lo: command not found
./libtool: line 1234: libtool: compile: cannot determine name of library object from `': command not found
make[4]: *** [antlr3baserecognizer.lo] Error 1

Any advice would be wonderful.
[7 Feb 2013 14:24] Jeff Eloff
And to clarify, I too am using libtool 2.4.2