Bug #13336 Problem compiling mysql 5.0.12
Submitted: 20 Sep 2005 5:53 Modified: 24 Sep 2005 5:27
Reporter: Pierre Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.12 OS:Linux (GNU/Linux)
Assigned to: MySQL Verification Team CPU Architecture:Any

[20 Sep 2005 5:53] Pierre
Description:
# make
make  all-recursive
make[1]: Entering directory `/tmp/mysql-5.0.12-beta'
Making all in .
make[2]: Entering directory `/tmp/mysql-5.0.12-beta'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta'
Making all in include
make[2]: Entering directory `/tmp/mysql-5.0.12-beta/include'
make  all-am
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/include'
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta/include'
Making all in Docs
make[2]: Entering directory `/tmp/mysql-5.0.12-beta/Docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta/Docs'
Making all in extra/yassl
make[2]: Entering directory `/tmp/mysql-5.0.12-beta/extra/yassl'
Making all in taocrypt
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/extra/yassl/taocrypt'
Making all in src
make[4]: Entering directory `/tmp/mysql-5.0.12-beta/extra/yassl/taocrypt/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/mysql-5.0.12-beta/extra/yassl/taocrypt/src'
make[4]: Entering directory `/tmp/mysql-5.0.12-beta/extra/yassl/taocrypt'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/mysql-5.0.12-beta/extra/yassl/taocrypt'
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/extra/yassl/taocrypt'
Making all in src
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/extra/yassl/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/extra/yassl/src'
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/extra/yassl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/extra/yassl'
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta/extra/yassl'
Making all in cmd-line-utils
make[2]: Entering directory `/tmp/mysql-5.0.12-beta/cmd-line-utils'
Making all in libedit
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/cmd-line-utils/libedit'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/cmd-line-utils/libedit'
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/cmd-line-utils'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/cmd-line-utils'
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta/cmd-line-utils'
Making all in sql-common
make[2]: Entering directory `/tmp/mysql-5.0.12-beta/sql-common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta/sql-common'
Making all in pstack
make[2]: Entering directory `/tmp/mysql-5.0.12-beta/pstack'
Making all in aout
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/pstack/aout'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/pstack/aout'
make[3]: Entering directory `/tmp/mysql-5.0.12-beta/pstack'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O3 -DDBUG_OFF -s -O3 -march=i686   -MT bucomm.o -MD -MP -MF ".deps/bucomm.Tpo" -c -o bucomm.o bucomm.c; \
then mv -f ".deps/bucomm.Tpo" ".deps/bucomm.Po"; else rm -f ".deps/bucomm.Tpo"; exit 1; fi
bucomm.c:25:23: libiberty.h: No such file or directory
make[3]: *** [bucomm.o] Error 1
make[3]: Leaving directory `/tmp/mysql-5.0.12-beta/pstack'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mysql-5.0.12-beta/pstack'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mysql-5.0.12-beta'
make: *** [all] Error 2

How to repeat:
./configure --with-pstack
make
[20 Sep 2005 16:46] Hartmut Holzgraefe
Looks like your system has the libiberty library insalled but not its header file libiberty.h
header file.

Can you please add more detailed information on the system you are using?
(On my system (SuSE 9.3) both files are part of the binutils package so they are always
available.)
[20 Sep 2005 22:12] Pierre
It is LFS.
I will try to compile the latest binutils.
[24 Sep 2005 5:27] MySQL Verification Team
I was not able to repeat the behavior reported, your issue most
probably the issue pointed by Hartmut. However still happens the
issue reported at bug:

http://bugs.mysql.com/bug.php?id=13354
[26 Sep 2005 0:48] Pierre
The binutils install doesn't seem to install this file.
I'm gonna see this with the binutils people.
But maybe a configure check could be added to detect this problem ?