Gabriele Carioli writes: > Hi! > > > Our (MySQL AB) recommendation is to NOT compile > > *mysql* with RedHat's 2.96 compiler. Instead, > > in the case of RedHat, you should use 2.91 > > EGCS or 2.95 GCC compilers. > > Your (MySQL AB) source rpm does not build at all with > the egcs/gcc 2.91 compiler. In fact, it gives this error: > > [..snip...] > creating libmysqlclient.la > (cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la > libmysqlclient.la) > make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.49/libmysql' > Making all in client > make[2]: Entering directory `/usr/src/redhat/BUILD/mysql-3.23.49/client' > gcc -DUNDEF_THREADS_HACK -I./../include -I.. > /include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -felide-const > ructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exception > s -fno-rtti -fpermissive -I/usr/local/mysql-glibc/include -c mysql.cc > In file included from mysql.cc:48: > /usr/include/curses.h:195: warning: `ERR' redefined > /usr/include/sys/ucontext.h:74: warning: this is the location of the > previous definition > cc1plus: Invalid option `-fpermissive' > In file included from client_priv.h:19, > from mysql.cc:28: > ../include/global.h:685: abstract declarator used as declaration > make[2]: *** [mysql.o] Error 1 > make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.49/client' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.49' > make: *** [all-recursive-am] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.61911 (%build) >
Hi! I can only repeat what Matt Wagner said. If you are using GNU compiler, we recommend either 2.95.* or 3.* series. Better still, use our binaries. Noone knows better then us how to build proper MySQL binaries. -- 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