Bug #14185 Build fails when using --without-server
Submitted: 20 Oct 2005 15:12 Modified: 20 Oct 2005 15:22
Reporter: Luke Hollins Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.13-rc OS:FreeBSD (FreeBSD 6.0)
Assigned to: CPU Architecture:Any

[20 Oct 2005 15:12] Luke Hollins
when using "configure --without-server" the configure script succeeds then during the build it fails in the mysys directory:

if gcc -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.    -O3 -DDBUG_OFF    -MT mf_keycache.o -MD -MP -MF ".deps/mf_keycache.Tpo" -c -o mf_keycache.o mf_keycache.c; \
then mv -f ".deps/mf_keycache.Tpo" ".deps/mf_keycache.Po"; else rm -f ".deps/mf_keycache.Tpo"; exit 1; fi
mf_keycache.c: In function `resize_key_cache':
mf_keycache.c:496: error: `my_thread_var' undeclared (first use in this function)
mf_keycache.c:496: error: (Each undeclared identifier is reported only once
mf_keycache.c:496: error: for each function it appears in.)

How to repeat:
use configure --without-server then run make

Suggested fix:
not sure sorry
[20 Oct 2005 15:22] Valeriy Kravchuk
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in MySQL.

Additional info:

It's a duplicate of a well-known bug, http://bugs.mysql.com/bug.php?id=11680, just yet another platform. The bug is fixed in 5.0.14. Wait for the release, please.