# Ruby 1.8.4 build failure on AIX 5.3

**URL:** <https://www.ruby-forum.com/t/ruby-1-8-4-build-failure-on-aix-5-3/84419>\
**Category:** Ruby\
**Created:** [February 4, 2007, 6:05am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-build-failure-on-aix-5-3/84419 "2007-02-04T06:05:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdadarkar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a87d85/32.png) [@mdadarkar](https://www.ruby-forum.com/u/mdadarkar)\
**Post date:** [February 4, 2007, 6:05am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-build-failure-on-aix-5-3/84419/1 "2007-02-04T06:05:50Z")

</div>

Hi,  
I am trying to do a Ruby 1.8.4 build on AIX 5.3. The options passed  
to configure are as follows  
./configure --prefix=/usr/manas/ruby --disable-ipv6

I get the following error

```
    gcc -g -O2 -I. -I../.. -I../../. -I../.././ext/curses -

```

DHAVE\_NCURSES\_H -DHAVE\_BEEP -DHAVE\_BKGD -DHAVE\_BKGDSET -DHAVE\_CURS\_SET  
-DHAVE\_DELETELN -DHAVE\_DOUPDATE -DHAVE\_FLASH -DHAVE\_GETBKGD -  
DHAVE\_GETNSTR -DHAVE\_ISENDWIN -DHAVE\_KEYNAME -DHAVE\_KEYPAD -  
DHAVE\_RESIZETERM -DHAVE\_SCRL -DHAVE\_SETSCRREG -DHAVE\_UNGETCH -  
DHAVE\_WATTROFF -DHAVE\_WATTRON -DHAVE\_WATTR SET -DHAVE\_WBKGD -  
DHAVE\_WBKGDSET -DHAVE\_WDELETELN -DHAVE\_WGETNSTR -DHAVE\_WRESIZE -  
DHAVE\_WSCRL -DHAVE\_WSETSCRREG -DHAVE\_DEF\_PROG\_MODE -  
DHAVE\_RESET\_PROG\_MODE -DHAVE\_TIMEOUT -DHAVE\_WTIMEOUT -DHAVE\_NODELAY -  
DHAVE\_INIT\_COLOR -DHAVE\_WCOLOR\_SET -c curses.c  
/usr/ccs/bin/ld -brtl -eInit\_curses -bI:…/…/ruby.imp -bM:SRE  
-T512 -H512 -L"…/…" -o …/…/.ext/powerpc-aix  
5.3.0.0/curses.so curses.o -lncurses -ltermcap -ldl -lcrypt -lm -  
lc  
ld: 0706-006 Cannot find or open library file: -l ncurses  
ld:open(): A file or directory in the path name does not  
exist.

How do I install the ncurses library? I am not sure which package is  
missing. My gcc info is as follows

gcc -v  
Using built-in specs.  
Target: powerpc-ibm-aix5.3.0.0  
Configured with: …/configure --with-as=/usr/bin/as --with-ld=/usr/bin/  
ld --disable-nls --enable-languages=c,c++ --prefi  
x=/opt/freeware --enable-threads --enable-version-specific-runtime-  
libs --host=powerpc-ibm-aix5.3.0.0  
Thread model: aix  
gcc version 4.0.0

Thanks in advance.

Regards,  
-Manas
