Cannot compile on BSDI
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
Re: Re: Cannot compile on BSDI
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? After you run the configure, edit the client/Makefile, and remove the -fno-exceptions. Tuc/TTSG Internet Services, Inc. database,sql,query,table database,sql,query,table database,sql,query,table database,sql,query,table database,sql,query,table - 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
Re: Cannot compile on BSDI
De-install gcc 2.7.2.1 and install 2.95.2 or gcc 3. -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus ___/ www.mysql.com - 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
Re: Cannot compile on BSDI
On Wed, Sep 05, 2001 at 04:44:01PM +0300, Sinisa Milivojevic wrote: De-install gcc 2.7.2.1 and install 2.95.2 or gcc 3. Stay with gcc 2.95.X until 3 is fixed! -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus ___/ www.mysql.com - 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 -- contact: Dave Yadallee NetLine 2000 The Edmonton Internet Service Company [EMAIL PROTECTED] http://www.nl2k.ab.ca 990-3244 - 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