On Thu, 22 Apr 2004, Steven Palm wrote: > Using the production code 4.0.18 on a UnixWare 7.1.0 system, it fails > to compile here. > > I do not have a 'CC' executable, so I am using gcc. If this is the > problem, did I just miss installng the CC (c++) compiler at some point?
You have to use the following. CC=gcc CXX=gcc ./configure ..... > Anyway, the errors: > > source='sql_lex.cc' object='sql_lex.o' libtool=no \ > depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ > depmode=gcc /bin/ksh ../depcomp \ > g++ -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER > -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" > -DDATADIR="\"/usr/local/mysql/var\"" > -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. > -I.. -I../innobase/include -I./../include -I./../regex -I. > -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA > -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test > -f 'sql_lex.cc' || echo './'`sql_lex.cc > In file included from item.h:474, > from mysql_priv.h:311, > from sql_lex.cc:20: > item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)': > item_sum.h:394: integer constant out of range > > Any ideas? I've used the suggested configure line. I was able to build it with the following... CC="gcc" CFLAGS="-I/usr/local/include" CXX="gcc" CXXFLAGS="-I/usr/local/include" ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=comples I had to make sure all the patches for the OS were installed. Good Luck, -- Boyd Gerber <[EMAIL PROTECTED]> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]