On Apr 22, 2004, at 3:28 PM, Boyd Lynn Gerber wrote:
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.

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

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

On a 7.1.0 system or a later version? My gcc is 2.95.2. Using the above gives me the same error as originally quoted.


I had to make sure all the patches for the OS were installed.

I have all the critical ones and nothing else seems relevant. I wish that it wasn't so bloody difficult to figure out from SCO's website what upgrades you are entitled to and how you'd get them. I don't know if we can upgrade our 7.1.0 system to 7.1.1 or later without paying more blood money to SCO or not. I see they have at least a 2.95.3pl1 compiler, but I can't find out where to download it (and associated utils); even then, it's not supported on 7.1.0, only 7.1.1 and up..


Every time I have to compile a piece of software for this system I grit my teeth, so I'd really appreciate any advice, especially since you have managed to get it working.

 Best,
 Steve



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to