Which version is the most stable thing for AIX platform?

Hi, all.

I am sure that some of yours have had headaches to use ruby on aix

we can find out lots of problems related aix installation steps by

some peoples discussed about zlib problems, core dump, tcl/tk, …etc.

In my case, I am using 1.8.7 p160 for aix. but ruby is working
normally, but, gem always killed himself by core dump.

so, If you have know the most stable version ruby for aix, let me know
it :slight_smile:

thanks for all.

ps ) my tools are using diff-lcs, tcl/tk lib, treetop. etc…

situation I met )
$ gem install treetop
…/lib/ruby/1.8/timeout.rb:59: [BUG] Segmentation fault
ruby 1.8.7 (2009-04-08 patchlevel 160) [powerpc-aix5.3.0.0]

IOT/Abort trap (core dumped)


I think core team do not have AIX. So, if we (AIX users) want to use
ruby on AIX,
we need to solve issues by ourselves. This is just my thought.

Anyway, I can not recreate your issue.
Here is some output from my machine:

% ruby -v
ruby 1.8.7 (2009-04-08 patchlevel 160) [powerpc-aix5.3.0.0]

% gem --version

% gem install treetop
Successfully installed polyglot-0.2.5
Successfully installed treetop-1.2.5
2 gems installed
Installing ri documentation for polyglot-0.2.5…
Installing ri documentation for treetop-1.2.5…
Installing RDoc documentation for polyglot-0.2.5…
Installing RDoc documentation for treetop-1.2.5…

I have not used treetop so far, but I just tried to install.
I’m not sure if I can help you, I can tell you the difference of
What kind of compilers( and its versions) did you use to build ruby?
What options did you use when you built ruby?
I use xlc 9/gcc 4.2.3, and use --enable-shared and --prefix

By the way, what is zlib problems?

sorry for late response.

I am using gcc 4.2.4. this is installed by a package.
and zlib problem meant
whenever I start to a ruby/tk application, I met like " no found to
zlib " errors. However, I checked zlib has been already installed.
(anyway this problem is solved. :slight_smile: I can solve this by installing zlib
in ruby and a with-zlib option)

this is an option I used.
./configure --prefix=/usr/local --with-tcl-dir=/usr/local --with-tk-
dir=/usr/local --with-tcllib=tclstub8.5 --with-tklib=tkstub8.5 –

at the same time, I installed tcl and tk before installing ruby with
this option.
./configure --prefix=/usr/local --enable-shared

by your suggestion, i will update ruby to p160 and then update gem. :slight_smile: