From: Conrad Schneiker Date: 2001-05-16T07:46:23+09:00 Subject: [ruby-talk:15218] Re: Ruby on AIX? Bill Pemberton wrote: # > # >I'd like to fix them. ISDIGIT in dln.c is solely my mistake. I need # >somebody to provide AIX patch for "configure" to fix rest of problems. # > # # All I had to do was add the ISDIGIT #define to dln.c and I had no # problems installing 1.6.3 on AIX 4.3.3 and AIX 4.2.1. On AIX 4.3.2 with the vac compiler, I was able to build Ruby OK. The only problem with the xlc compiler build (on the same level of AIX) that I encountered was due to being run on a machine without all the X11 development stuff installed, causing the compile of the Tcl/Tk ext stuff to fail due to a missing X11 .h file, as one might reasonably expect. In any case, I didn't see any indication of previously mentioned problems. (On the other hand, I don't have any idea how far along in the build they appeared.) However, in both cases, I did see these warnings: cc -I. -I. -I/usr/local/include -c main.c cc -brtl main.o dmyext.o libruby.a -ldl -lcrypt -lm -o miniruby cc -I/driver/tools/src/ruby/ruby-1.6.3 -I/driver/tools/src/ruby/ruby-1.6.3 -I/usr/local/include -DHAVE_ISENDWIN -DHAVE_UNGETCH -DHAVE_BEEP -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_DELETELN -DHAVE_WDELETELN -c curses.c "/driver/tools/src/ruby/ruby-1.6.3/config.h", line 2.9: 1506-236 (W) Macro name _ALL_SOURCE has been redefined. "/driver/tools/src/ruby/ruby-1.6.3/config.h", line 2.9: 1506-358 (I) "_ALL_SOURCE" is defined on line 111 of /usr/include/standards.h. /usr/ccs/bin/ld -brtl -eInit_curses -bI:/driver/tools/src/ruby/ruby-1.6.3/ruby.imp -bM:SRE -T512 -H512 -lc -L/driver/tools/src/ruby/ruby-1.6.3 -o curses.so curses.o -lcurses -ltermcap -lc ld: 0711-224 WARNING: Duplicate symbol: .rb_special_const_p ld: 0711-224 WARNING: Duplicate symbol: .rb_type ld: 0711-224 WARNING: Duplicate symbol: .rb_class_of ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. Target "all" is up to date. cc -I/driver/tools/src/ruby/ruby-1.6.3 -I/driver/tools/src/ruby/ruby-1.6.3 -I/usr/local/include -DHAVE_SYS_CDEFS_H -DHAVE_NDBM_H -DHAVE_DBM_OPEN -DHAVE_DBM_CLEARERR -c dbm.c /usr/ccs/bin/ld -brtl -eInit_dbm -bI:/driver/tools/src/ruby/ruby-1.6.3/ruby.imp -bM:SRE -T512 -H512 -lc -L/driver/tools/src/ruby/ruby-1.6.3 -o dbm.so dbm.o -ldbm -lc ld: 0711-224 WARNING: Duplicate symbol: .rb_special_const_p ld: 0711-224 WARNING: Duplicate symbol: .rb_type ld: 0711-224 WARNING: Duplicate symbol: .rb_class_of ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. Target "all" is up to date. cc -I/driver/tools/src/ruby/ruby-1.6.3 -I/driver/tools/src/ruby/ruby-1.6.3 -I/usr/local/include -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DPW_GECOS -c etc.c /usr/ccs/bin/ld -brtl -eInit_etc -bI:/driver/tools/src/ruby/ruby-1.6.3/ruby.imp -bM:SRE -T512 -H512 -lc -L/driver/tools/src/ruby/ruby-1.6.3 -o etc.so etc.o -lc ld: 0711-224 WARNING: Duplicate symbol: .rb_special_const_p ld: 0711-224 WARNING: Duplicate symbol: .rb_type ld: 0711-224 WARNING: Duplicate symbol: .rb_class_of ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. Target "all" is up to date. compiling fcntl cc -I/driver/tools/src/ruby/ruby-1.6.3 -I/driver/tools/src/ruby/ruby-1.6.3 -I/usr/local/include -c fcntl.c /usr/ccs/bin/ld -brtl -eInit_fcntl -bI:/driver/tools/src/ruby/ruby-1.6.3/ruby.imp -bM:SRE -T512 -H512 -lc -L/driver/tools/src/ruby/ruby-1.6.3 -o fcntl.so fcntl.o -lc ld: 0711-224 WARNING: Duplicate symbol: .rb_special_const_p ld: 0711-224 WARNING: Duplicate symbol: .rb_type ld: 0711-224 WARNING: Duplicate symbol: .rb_class_of ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. Target "all" is up to date. compiling md5 cc -DHAVE_CONFIG_H -I/driver/tools/src/ruby/ruby-1.6.3 -I/driver/tools/src/ruby/ruby-1.6.3 -I/usr/local/include -c md5c.c cc -DHAVE_CONFIG_H -I/driver/tools/src/ruby/ruby-1.6.3 -I/driver/tools/src/ruby/ruby-1.6.3 -I/usr/local/include -c md5init.c /usr/ccs/bin/ld -brtl -eInit_md5 -bI:/driver/tools/src/ruby/ruby-1.6.3/ruby.imp -bM:SRE -T512 -H512 -lc -L/driver/tools/src/ruby/ruby-1.6.3 -o md5.so md5c.o md5init.o -lc ld: 0711-224 WARNING: Duplicate symbol: .rb_special_const_p ld: 0711-224 WARNING: Duplicate symbol: .rb_type ld: 0711-224 WARNING: Duplicate symbol: .rb_class_of ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. Anyway, I've got to get back to other work. Hope this helps. Conrad Schneiker (This note is unofficial and subject to improvement without notice.)