vincentor / google-mysql-tools

Automatically exported from code.google.com/p/google-mysql-tools
Apache License 2.0
0 stars 0 forks source link

MySql 5.0.37 errors #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I try to install MySql-5.0.37 with patch http://google-mysql-
tools.googlecode.com/svn/trunk/mysql-patches/mysql-5.0.37-patches.

./configure - OK
make exit with error:

then mv -f ".deps/sql_cache.Tpo" ".deps/sql_cache.Po"; else rm -f ".deps/
sql_cache.Tpo"; exit 1; fi
if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/
usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -
I. -I. -I.. -I../innobase/include -I../innobase/include -I../include -I../
include -I../regex -I.     -DDBUG_OFF -O2 -DDBUG_OFF    -fno-implicit-
templates -fno-exceptions -fno-rtti   -fno-implicit-templates -fno-
exceptions -fno-rtti -MT slave.o -MD -MP -MF ".deps/slave.Tpo" -c -o 
slave.o slave.cc; \
        then mv -f ".deps/slave.Tpo" ".deps/slave.Po"; else rm -f ".deps/
slave.Tpo"; exit 1; fi
slave.cc: In function 'void* handle_slave_io(void*)':
slave.cc:3777: error: 'LOCK_stats' was not declared in this scope
slave.cc:4060: error: 'LOCK_stats' was not declared in this scope
make[4]: *** [slave.o] Error 1
make[4]: Leaving directory `/root/mysql-patch/mysql-5.0.37/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/mysql-patch/mysql-5.0.37/sql'
make[2]: *** [all] Error 2

Did anybody encounter the problem and solve it?

Original issue reported on code.google.com by mrvarla...@gmail.com on 7 Jul 2008 at 3:04

GoogleCodeExporter commented 9 years ago
I had a quick hack around in the source last night, and came up with a fix for 
the
build errors in the 5.0.37 patch:
http://notcoding.blogspot.com/2008/08/google-mysql-tools-fix-for-5037.html

Success/failure feedback is very welcome :-)

Original comment by cron...@gmail.com on 20 Aug 2008 at 9:34

GoogleCodeExporter commented 9 years ago
The patch-fix patch works! Thanks a lot!

Linux 2.6.28-15-generic #49-Ubuntu

Original comment by real...@gmail.com on 11 Sep 2009 at 6:06