Bug #13657 Compile Error on Debian 3.1
Submitted: 30 Sep 2005 14:18 Modified: 30 Sep 2005 16:06
Reporter: Sebastian Nohn Email Updates:
Status: Can't repeat Impact on me:
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.13-rc OS:Linux (Linux (Debian 3.1))
Assigned to: CPU Architecture:Any

[30 Sep 2005 14:18] Sebastian Nohn
make[2]: Entering directory `/home/sebastian/mysql-5.0.13-rc/mysys'
source='my_new.cc' object='my_new.o' libtool=no \
depfile='.deps/my_new.Po' tmpdepfile='.deps/my_new.TPo' \
depmode=none /bin/sh ../depcomp \
g++ -DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR="\"/usr/local/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.    -O -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti -c -o my_new.o my_new.cc
../depcomp: line 502: exec: g++: not found
make[2]: *** [my_new.o] Error 127
make[2]: Leaving directory `/home/sebastian/mysql-5.0.13-rc/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sebastian/mysql-5.0.13-rc'
make: *** [all] Error 2

How to repeat:
$ ./configure ; make

gcc version 3.3.6 (Debian 1:3.3.6-8)
[30 Sep 2005 16:06] Valeriy Kravchuk
Sorry, but I was not able to repeat on our Debian machine with 5.0.13-rc. The following sequence of actions work for me:

./configure --prefix=/users/vkravchuk/dbs/5.0-debx86
make install

vkravchuk@debx86:~/mysql-5.0.13-rc$ uname -a
Linux debx86 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux
vkravchuk@debx86:~/mysql-5.0.13-rc$ gcc --version
gcc (GCC) 3.3.6 (Debian 1:3.3.6-6)

Our machine uses 2.4 kernel, but I do not think it may explain the difference.

So, please, try once more, being carefull. Try to check MD5 checksum for the file you downloaded. MySQL on Debian simply works for me.
[30 Sep 2005 16:24] Sebastian Nohn
I downloaded it from three mirros (Zedat, KTG, Plusline), all show

$ md5sum mysql-5.0.13-rc.tar.gz
d9500d81b4253142a2a3c68b53942aab  mysql-5.0.13-rc.tar.gz

While http://dev.mysql.com/downloads/mysql/5.0.html#Source

Says 52ce66773505a9128accc64b44d1ecf2 is the MD5
[30 Sep 2005 16:42] Valeriy Kravchuk
vkravchuk@debx86:~$ md5sum mysql-5.0.13-rc.tar.gz
d9500d81b4253142a2a3c68b53942aab  mysql-5.0.13-rc.tar.gz

That is the file I used for the verification. It works. So, please, try once more. It should be a hardware|configuration problem of your system in case it repeats.
[12 Jan 2007 13:45] Philip Stoev
Please see


for further discussion of the error.