I encountered the same problem, then I simply commented the line in the
system header file
curses.h.
but the error I got is a bit different, it said:
"declaration is not declaring anything" something like this...

another header I modified is the pthread.h

but there is a problem with the AIX version, MySQL cannot shutdown
I must use kill -9 [PID] to kill the safe_mysqld script and mysql processes.

my AIX version is 4.3.3
but the good news is the binary compiled in 4.3.3 machine can run in 4.3.1

my way is absolutely not good, but it seems work.

I used this to configure:
CC=gcc CXX=gcc CXXFLAGS=-O3 ./configure --prefix=/mysql/mysql \
--with-extra-charsets=complex --with-low-memory

and you?

Borus

----- Original Message -----
寄件者: "morgan henning" <[EMAIL PROTECTED]>
收件者: <[EMAIL PROTECTED]>
傳送日期: 2002年5月21日 AM 08:49
主旨: Bug? -> AIX 4.3.3 ML10, IBM C/C++ 5.0.2


> Hi.  I am trying to build MySQL 3.23.49, and I am having some problems.
> If anyone has any suggestions, they would be **much** appreciated :)
>
> I have tried to compile MySQL 3.23.49 a couple of ways under AIX, and
> I have gotten this twice (more info below):
>
> xlC -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O3
> -DDBUG_OFF   -Wa,-many -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ
> -c mysql.cc "/usr/include/curses.h", line 1751.14: 1540-0063 (S) The text
> "bool" is unexpected.
> gmake[2]: *** [mysql.o] Error 1
> gmake[2]: Leaving directory `/home/morgan/mysql-3.23.49/client'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/morgan/mysql-3.23.49'
> gmake: *** [all-recursive-am] Error 2
>
> I got this on both AIX 4.3.3 (maintenance level 10 applied), and AIX 5.1.0
> (maintenance level 2 applied).  Both times I got the error, I was using
> the IBM C Compiler v5.0.2 and IBM C++ Compiler v5.0.2 (Visual Age C++
> packages).
>
> The "configure" command line was "CC=xlc CXX=xlC ./configure
> --prefix=/opt/mysql".
>
> I am using GNU make 3.79.1.
>
> The machine both times was an RS6000 43P-132 (type 7248-132).
>
> I can provide all kinds of more information if you like :)
>
> I tried gcc-3.0.4, but that failed also, although I forget the exact
> error.  I am build gcc-2.95.3 in an effort to try the recommended gcc now.
> Nothing on that front yet.
>
> Am I just missing something with IBM C/C++ ??  The compiler is not patched
> to the latest level, although I can patch it.  It's just a big download (>
> 500 MB).  Please advise if you think that's the solution.
>
> Thanks!! :)
>
> --
> Morgan Henning
> [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> 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

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