# Which version is the most stable thing for AIX platform?

**URL:** <https://www.ruby-forum.com/t/which-version-is-the-most-stable-thing-for-aix-platform/166735>\
**Category:** Ruby\
**Created:** [April 29, 2009, 3:05am UTC](https://www.ruby-forum.com/t/which-version-is-the-most-stable-thing-for-aix-platform/166735 "2009-04-29T03:05:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jun\_YSKim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Post date:** [April 29, 2009, 3:05am UTC](https://www.ruby-forum.com/t/which-version-is-the-most-stable-thing-for-aix-platform/166735/1 "2009-04-29T03:05:44Z")

</div>

Hi, all.

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

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

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 🙂

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)

---

<div class="post-metadata">

**Author:** ![Jun\_YSKim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Post date:** [May 5, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/which-version-is-the-most-stable-thing-for-aix-platform/166735/2 "2009-05-05T17:15:28Z")

</div>

Hi,

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  
1.3.3

% 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  
environment.  
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?

---

<div class="post-metadata">

**Author:** ![Jun\_YSKim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Post date:** [May 26, 2009, 2:56am UTC](https://www.ruby-forum.com/t/which-version-is-the-most-stable-thing-for-aix-platform/166735/3 "2009-05-26T02:56:43Z")

</div>

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. 🙂 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 –  
enable-tcltk\_stubs

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. 🙂
