Borus, Thanks for responding. I am attempting to install a binary release not build from source. Do you have any information regarding the errors in my original post? Thanks Morris Ford
--- é¾?æf æ¨?(Borus.Kung) <[EMAIL PROTECTED]> wrote: > FYI > > this may help > > Borus > > ----- Original Message ----- > å¯?ä»¶è??: "Morris Ford" <[EMAIL PROTECTED]> > æ?¶ä»¶è??: <[EMAIL PROTECTED]> > å,³é??æ-¥æ?Y: 2002å¹´6æ?^6æ-¥ AM 11:17 > 主æ-¨: Installation problems on AIX 4.3.3 > > > > I am having a problem installing version > 3.23.50 > > on AIX 4.3.3. When I execute mysql_install_db > or > > try to start mysqld I get errors like > > > > 0509-036 Cannot load program > > ./bin/my_print_defaults because of the > following > > errors: > > > > 0509-130 Symbol resolution failed for > > my_print_defaults because: > > > > 0509-136 Symbol stpcpy (number 45) is not > > exported from dependent module > > /usr/lib/libc.a(shr.o) > > > > 0509-136 Symbol strnlen (number 46) is not > > exported from dependent module > > /usr/lib/libc.a(shr.o) > > > > I have chased through the mail archives and > found > > messages with errors like this but found no > fix > > but to try 2.23.50 (the one I am loading). > Has > > this been resolved? Any help would be greatly > > appreciated. > > Morris Ford > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World > Cup > > http://fifaworldcup.yahoo.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 > > > ATTACHMENT part 2 message/rfc822 name=Re_ Bug_ -_ AIX 4.3.3 ML10, IBM C_C++ 5.0.2.eml > From: é¾?æf æ¨?(Borus.Kung) > <[EMAIL PROTECTED]> > To: morgan henning <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject: Re: Bug? -> AIX 4.3.3 ML10, IBM C/C++ > 5.0.2 > Date: Tue, 21 May 2002 09:17:14 +0800 > > 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]> > å,³é??æ-¥æ?Y: 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 > > ATTACHMENT part 3 message/rfc822 name=RE_ Bug_ -_ AIX 4.3.3 ML10, IBM C_C++ 5.0.2 (fwd).eml > Date: Mon, 20 May 2002 22:31:01 -0500 (CDT) > From: morgan henning <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Bug? -> AIX 4.3.3 ML10, IBM C/C++ > 5.0.2 (fwd) > > 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 > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.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