# Problems installing Ruby on AIX 4.3.3

**URL:** <https://www.ruby-forum.com/t/problems-installing-ruby-on-aix-4-3-3/110757>\
**Category:** Ruby\
**Created:** [July 30, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-on-aix-4-3-3/110757 "2007-07-30T17:57:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roflkk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b782af/32.png) [@roflkk](https://www.ruby-forum.com/u/roflkk)\
**Post date:** [July 30, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-on-aix-4-3-3/110757/1 "2007-07-30T17:57:07Z")

</div>

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-aix4.3.3.0]

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-aix4.3.3.0]

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.

---

<div class="post-metadata">

**Author:** ![roflkk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b782af/32.png) [@roflkk](https://www.ruby-forum.com/u/roflkk)\
**Post date:** [August 13, 2007, 2:25am UTC](https://www.ruby-forum.com/t/problems-installing-ruby-on-aix-4-3-3/110757/2 "2007-08-13T02:25:50Z")

</div>

Kjetil Torgrim H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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[1]: Entering directory  
`/opt/build/ruby-1.8.6-p36/ext/racc/cparse' gmake[1]: *** No rule to make target `…/…/…/.ext/powerpc-aix4.3.3.0/racc’, needed by `install-so'. Stop. gmake[1]: Leaving directory `/opt/build/ruby-1.8.6-p36/ext/racc/cparse’
