From: Clif Smith Date: 2007-08-17T04:31:55+09:00 Subject: Problems compiling Ruby 1.8.6 on AIX --0-1222228840-1187292317=:71986 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I'm trying to get ruby running on AIX 5.3 as I can't find any precompiled v= ersions... ;-) =0A=0AI've installed the following rpms:=0A - openssl-0.9= .7l-1=0A - libgcc-4.0.0-1=0A - zlib-1.2.3-3=0A - gcc-c++-4.0.0-1=0A - g= cc-4.0.0-1=0A - libstdc++-4.0.0-1=0A - libstdc++-devel-4.0.0-1=0A - zlib= -devel-1.2.3-3=0A - openssl-devel-0.9.7l-1=0A=0AI set my path to /usr/bin:= /etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/= bin:/opt/freeware/bin/=0A=0AI tried a simply ./configure as well as ./confi= gure --prefix=3D/usr/local/ruby/ruby-1.8.6 --disable-ipv6 --with-openssl-in= clude=3D/opt/freeware/include/openssl --with-openssl-lib=3D/opt/freeware/li= b --with-zlib-include=3D/opt/freeware/include --with-zlib-lib=3D/opt/freewa= re/lib to no avail.=0A=0AHere's a snippet of the make with a number of erro= rs:=0A gcc -g -O2 -DRUBY_EXPORT -I. -I. -c array.c=0A gcc = -g -O2 -DRUBY_EXPORT -I. -I. -c bignum.c=0A gcc -g -O2 -DRUBY_EX= PORT -I. -I. -c class.c=0A gcc -g -O2 -DRUBY_EXPORT -I. -I. -c = compar.c=0A gcc -g -O2 -DRUBY_EXPORT -I. -I. -c dir.c=0Adir.c: In= function 'dir_inspect':=0Adir.c:481: warning: incompatible implicit declar= ation of built-in function 'snprintf'=0A gcc -g -O2 -DRUBY_EXPORT = -I. -I. -c dln.c=0Adln.c: In function 'init_funcname_len':=0Adln.c:122: wa= rning: incompatible implicit declaration of built-in function 'snprintf'=0A= dln.c: In function 'aix_loaderror':=0Adln.c:1241: warning: incompatible imp= licit declaration of built-in function 'snprintf'=0A gcc -g -O2 -DR= UBY_EXPORT -I. -I. -c enum.c=0A gcc -g -O2 -DRUBY_EXPORT -I. -I.= -c error.c=0Aerror.c: In function 'err_position':=0Aerror.c:46: warning: = incompatible implicit declaration of built-in function 'snprintf'=0Aerror.c= :49: warning: incompatible implicit declaration of built-in function 'snpri= ntf'=0A=0A=0A=0Aerror.c:165: warning: incompatible implicit declarati= on of built-in function 'snprintf'=0Aerror.c: In function 'get_syserr':=0Ae= rror.c:859: warning: incompatible implicit declaration of built-in function= 'snprintf'=0Abash-3.00# tail -f /tmp/ruby.errors=0A/opt/freeware/lib/gcc/p= owerpc-ibm-aix5.1.0.0/4.0.0/include/wchar.h:299: error: parse error before = 'mbstate_t'=0A/opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/wc= har.h:302: error: parse error before 'mbstate_t'=0Amake: 1254-004 The error= code from the last command is 1.=0AStop.=0Amake: 1254-004 The error code f= rom the last command is 1.=0AStop.=0A=0AAny help would be greatly appreciat= ed!=0A=0Acjs=0A=0A=0A=0A=0A =0A______________________________________= ______________________________________________=0APinpoint customers who are= looking for what you sell. =0Ahttp://searchmarketing.yahoo.com/ --0-1222228840-1187292317=:71986--