Hi All,

I'm currently running MySQL 3.23.40 on Redhat 6.2 and its working nicely.
It was installed from binary RPM's.

I'm not trying to update to 3.23.49, but because the binary RPM's available
require GLIBC 2.2 (Redhat 6.2 uses 2.1) I need to compile it from source or
source RPM.

I've "installed" the source RPM, and compiled using

rpm -bb mysql-3.23.49.spec

It compiles for some time, then fails with:

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-constructors -fno-exceptions
-fno-rtti                    -fno-implicit-templates -fno-exceptions
-fno-rtti -fpermissive -I/usr/local/mysql-glibc/include -c mysql.cc
In file included from mysql.cc:48:
/usr/include/curses.h:200: 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
Bad exit status from /var/tmp/rpm-tmp.67965 (%build)

I get the same errors if I compile from plain source, and if I compile on
another seperate machine running Redhat 6.2.

Any ideas ?

(Upgrade to Redhat 7.x isn't the answer I'm looking for :-)

Regards,
Simon



---------------------------------------------------------------------
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