While the link in the note below didn't work, a quick search on Google did turn up what I needed. Thanks to Rick for turning me to that site. Here's a synopsis of what got MySQL to build:
$ perl -i -pe 's!^(#define _AIX32_CURSES)!/* $1 */!' include/global.h $ perl -i -pe 's!^(#define _AIX32_CURSES)!/* $1 */!' include/my_global.h $ perl -i -pe 's!(archive_cmds=.*)bexpall!$1qmkshrobj!' ltconfig $ CC="xlc -ma -O3 -qstrict -qoptimize=3 -qmaxmem=10240" \ > CXX="xlC -ma -O3 -qstrict -qoptimize=3 -qmaxmem=10240" \ > ./configure --prefix=/opt/mysql --enable-large-files \ > --enable-thread-safe-client $ gmake Using this, I got MySQL-3.23.49 to build on AIX 4.3.3 ML 10. Considering that I had the *same* problem getting it to build on AIX 5.1 ML2, I think that this fix would have worked there as well. Thanks for the speedy response!!!! [ FYI: for those who might be interested, the problem I mentioned below with gcc-3.0.4 not compiling this same version of MySQL was related to alloca being unknown. There was a mention in the AIX FAQ about "making alloca work", but it referenced AIX 3.x, so I am not 100% that it applies... Still haven't tried 2.95.3, as it's still building... If anyone wants the output from the gcc-3.0.4 compile, here it is --> g++ -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -Wa,-many -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ -c mysql.cc mysql.cc: In function `void print_table_data(MYSQL_RES*)': mysql.cc:1566: `alloca' undeclared (first use this function) mysql.cc:1566: (Each undeclared identifier is reported only once for each function it appears in.) 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 For anyone interested, please email for the results of the 2.95.3 compile. I might do it just to see if it works :) ] -- Morgan Henning [EMAIL PROTECTED] ---------- Forwarded message ---------- Date: Mon, 20 May 2002 18:07:59 -0700 From: Rick Flower <[EMAIL PROTECTED]> To: 'morgan henning' <[EMAIL PROTECTED]> Subject: RE: Bug? -> AIX 4.3.3 ML10, IBM C/C++ 5.0.2 The IBM VisualAge 5 compiler (unpatched anyway -- not sure about the patched version), does NOT know about "bool" types.. Checkout the following Google link for a fix that worked for me : http://groups.google.com/groups?hl=en&selm=9s779b%24o9a%241%40FreeBSD.csie.N CTU.edu.tw&rnum=4 -----Original Message----- From: morgan henning [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 5:50 PM To: [EMAIL PROTECTED] Subject: 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
