Bug #30011 | Item.cc parse error when compiling 5.1.20 on Mac OS X Server 10.3.9 | ||
---|---|---|---|
Submitted: | 24 Jul 2007 16:26 | Modified: | 13 Jan 2008 19:12 |
Reporter: | Ben Vaughn | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 5.1.20 | OS: | MacOS (10.3.9, 10.4.10) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | compile, item.cc, macosx, server |
[24 Jul 2007 16:26]
Ben Vaughn
[24 Jul 2007 17:02]
Ben Vaughn
After a make clean and make, my error has changed to: item.cc: In member function `Field* Item::tmp_table_field_from_field_type(TABLE*, bool)': item.cc:4407: error: parse error before `(' token item.cc: In constructor `Item_type_holder::Item_type_holder(THD*, Item*)': item.cc:6523: error: `Item_geometry_func' undeclared (first use this function) item.cc:6523: error: (Each undeclared identifier is reported only once for each function it appears in.) item.cc:6523: error: parse error before `)' token This now clearly appears to be related to bug# 29772.
[24 Jul 2007 17:08]
Hakan Küçükyılmaz
I could verify the failure on Intel/Mac running Mac OS X 10.4.10 with following configure line: ./configure '--prefix=/usr/local/mysql-5.1.20-beta' '--without-innodb' \ '--without-berkeley-db' '--without-example-storage-engine' \ '--without-blackhole-storage-engine' '--without-ndbcluster' '--without-docs' \ '--without-man' '--without-bench' '--with-big-tables' '--without-geometry' \ '--without-debug' '--with-mysqld-user=mysql' '--enable-thread-safe-client' \ '--enable-assembler' '--with-extra-charsets=complex' '--with-readline' \ '--enable-local-infile' if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql-5.1.20-beta\"" -DDATADIR="\"/usr/local/mysql-5.1.20-beta/var\"" -DSHAREDIR="\"/usr/local/mysql-5.1.20-beta/share/mysql\"" -DLIBDIR="\"/usr/local/mysql-5.1.20-beta/lib/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../regex -I. -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT item.o -MD -MP -MF ".deps/item.Tpo" -c -o item.o item.cc; \ then mv -f ".deps/item.Tpo" ".deps/item.Po"; else rm -f ".deps/item.Tpo"; exit 1; fi item.cc: In member function 'Field* Item::tmp_table_field_from_field_type(TABLE*, bool)': item.cc:4407: error: expected type-specifier before 'Field_geom' item.cc:4407: error: cannot convert 'int*' to 'Field*' in assignment item.cc:4407: error: expected `;' before 'Field_geom' item.cc: In constructor 'Item_type_holder::Item_type_holder(THD*, Item*)': item.cc:6523: error: 'Item_geometry_func' was not declared in this scope item.cc:6523: error: expected primary-expression before ')' token item.cc:6523: error: expected primary-expression before ')' token make[4]: *** [item.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 hakan@au0012:~/work/mysql Please note that the sphinx plugin was not known on my system> configure: error: unknown plugin: sphinx
[4 Dec 2007 21:41]
Konstantin Osipov
Geometry issue.
[14 Jan 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".