BSD/OS 4.0.1, MySQL source 3.23.41, gcc 2.7.2.1, gmake 3.75, 
latest m4, autoconf, aclocal and automake:

../configure --prefix=/home/[u]/[user]/mysql --disable-shared \
--with-unix-socket-path=/home/[u]/[user]/mysql/run/mysqld.sock \
--with-tcp-port=[port] --with-mysqld-user=[user] \
--with-low-memory --enable-assembler --with-charset=latin1 \
--with-extra-charset=all 

crashes on compile with:

gmake[2]: Leaving directory `/usr/local/WWW/[domain]/mysql-3.23.41/libmysql'
Making all in client
gmake[2]: Entering directory `/usr/local/WWW/[domain]/mysql-3.23.41/client'
g++ -DUNDEF_THREADS_HACK -I./../include                                 -I../include 
-I./.. -I..                                -I..    -O3 -DDBUG_OFF   
-fno-implicit-templates -fno-exceptions -fno-rtti -c mysql.cc
cc1plus: Invalid option `-fno-exceptions'
In file included from mysql.cc:28:
.../include/global.h:646: warning: abstract declarator used as declaration
gmake[2]: *** [mysql.o] Error 1
gmake[2]: Leaving directory `/usr/local/WWW/[domain]/mysql-3.23.41/client'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/WWW/[domain]/mysql-3.23.41'
gmake: *** [all-recursive-am] Error 2

Here and there the documentation suggests CXXFLAGS=-03, 
CXXFLAGS=-0 and  CXXFLAGS="-O3 -felide-constructors" 
(the latter in INSTALL-SOURCE specifically for my version of 
gcc. Nothing works, compiling crashes the same way every time. 

Since the crash happens in the client directory, I tried even 
configuring --without-client  in pure desperation. It didn't 
help; the compiler went into the client directory even then 
and crashed just the same way. 

Does anyone know how to fix this? 

BTW, I cannot install a newer gcc; my space quota is in the 
way. Anyway, according to the docs 2.7.2.1 should work.

Z




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to