Compiling Ruby-1.8.5 on AIX-5.3

M

Mehdi

Hi,
I tried compiling ruby-1.8.5 on AIX5.3 and everytime it fails saying
"unable to compute size of rlim_t" during the configure command. I was
wondering if anybody was able to compile ruby on AIX5.3 and have its
binaries

The following is a part of config.log

configure:12857: checking for intrinsics.h
configure:12865: result: no
configure:12879: checking for rlim_t
configure:12924: gcc -c -g -O2 conftest.c >&5
configure:12930: $? = 0
configure:12937: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:12940: $? = 0
configure:12947: test -s conftest.o
configure:12950: $? = 0
configure:12962: result: yes
configure:12965: checking size of rlim_t
configure:13443: gcc -o conftest -g -O2 conftest.c -lm >&5
collect2: library libm not found
configure:13446: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define OLD_YACC 1
| #define _ALL_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
 
Y

Yutaka Kanemoto

Hello Mehdi,
configure:13443: gcc -o conftest -g -O2 conftest.c -lm >&5
collect2: library libm not found
It seems that you have not yet installed bos.adt.libm.
Please install the package and try again.
I was able to compile ruby 1.8.5 on AIX 5.3 with these parameters for configure:
/configure --prefix=$HOME/tools --disable-ipv6

Best reagards,
 
M

Mehdi

Thanks, I was able to compile it. If anybody needs teh binaries you
can email me.
Mohammed Mehdi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top