Bug #3295 Compile errors : libtool -e command not found
Submitted: 25 Mar 2004 15:47 Modified: 26 Mar 2004 3:16
Reporter: Sergey Petrunya Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.1-bk OS:Linux (RedHat Linux 8.0)
Assigned to: CPU Architecture:Any

[25 Mar 2004 15:47] Sergey Petrunya
Description:
gmake[2]: Entering directory `/home/psergey/mysql-4.1/libmysql_r'
gmake[2]: warning: -jN forced in submake: disabling jobserver mode.
... 
...
source='get_password.c' object='get_password.lo' libtool=yes \
depfile='.deps/get_password.Plo' tmpdepfile='.deps/get_password.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --preserve-dup-deps --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDONT_USE_RAID  -I. -I. -I.. -I../include     -O3 -DDBUG_OFF -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer  -c -o get_password.lo `test -f 'get_password.c' || echo './'`get_password.c
../libtool: line 1: s%^.*/%%: No such file or directory
../libtool: line 1: s%^.*/%%: No such file or directory
../libtool: line 1: s%^.*/%%: No such file or directory
../libtool: line 1: s%^.*/%%: No such file or directory
../libtool: line 1: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
../libtool: line 1: -e: command not found

{lots of errors like on last line omitted}

../libtool: line 1: -e: command not found
: compile: cannot determine name of library object from `'
gmake[2]: *** [manager.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....

How to repeat:
The system configuration is:
RedHat 8.0 
autoconf-2.53-8
automake-1.6.3-1
libtool-1.4.2-12
make-3.79.1-14
m4-1.4.1-11
bison 1.75 

There are no problems building current 5.0 tree on this configuration.

Also I can succesfully build 4.1 tree as well if if I set SED variable to be `which sed` before running any of /BUILD/compile* scripts.
[26 Mar 2004 1:47] Alexander Keremidarski
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.mysql.com/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.
[26 Mar 2004 3:16] Sergei Golubchik
Sergey, looks like it's something specific to RH8.
I tried libtool-1.4.3-5 and RH9 - the closest match to your configuration that I could find - no problems whatsoever. I tent to close this bugreport.