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-aix184.108.40.206] 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-aix220.127.116.11] 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.