I'm trying to install Ruby 1.8.6 on AIX 4.3.3 using the IBM's xlc compiler. there are a few trivial commas to remove (from eval.c and parse.y), but the real stumbling block comes later: ./lib/fileutils.rb:1278: [BUG] unexpected local variable ruby 1.8.6 (2007-03-13) [powerpc-aix18.104.22.168] make: The signal code from the last command is 6. I get the same result if I compile with CFLAGS=-g (rather than the default -O). I also tried to compile 1.8.5. it bombs with: ./lib/fileutils.rb:1574: [BUG] terminated node (0x28) ruby 1.8.5 (2006-08-25) [powerpc-aix22.214.171.124] make: 1254-059 The signal code from the last command is 6. here, the error with CFLAGS=-g is different: ./lib/fileutils.rb:85: NULL pointer given (ArgumentError) from ./mkconfig.rb:10:in `require' from ./mkconfig.rb:10 make: The error code from the last command is 1. it seems to me it takes deeper insight in Ruby's workings than I currently have to debug this problem, but I'll be happy with any hints you can provide.
on 2007-07-30 19:57
on 2007-08-13 04:25
Kjetil Torgrim H. <email@example.com> wrote: > default -O). I also tried to compile 1.8.5. it bombs with: > from ./mkconfig.rb:10 > make: The error code from the last command is 1. > > it seems to me it takes deeper insight in Ruby's workings than I > currently have to debug this problem, but I'll be happy with any hints > you can provide. While we do have the comma problem (node.h, parse.y, ext/syck/yamlbyte.h), we don't have your latter problem using pl36: $ gtar jxf ruby-1.8.6-p36.tar.bz2 $ cd ruby-1.8.6-p36 $ ./configure CC=xlc; gmake ... However, if we: $ ./configure CC=xlc CFLAGS="-O"; gmake ... gmake: Entering directory `/opt/build/ruby-1.8.6-p36/ext/racc/cparse' gmake: *** No rule to make target `../../../.ext/powerpc-aix126.96.36.199/racc', needed by `install-so'. Stop. gmake: Leaving directory `/opt/build/ruby-1.8.6-p36/ext/racc/cparse'