[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Compiling Ruby-1.8.5 on AIX-5.3

unixadminm

9/5/2006 6:07:00 PM

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

2 Answers

Yutaka Kanemoto

9/6/2006 11:00:00 PM

0

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,
--
Yutaka KANEMOTO
http://d.hatena.ne.j...

unixadminm

9/8/2006 9:10:00 PM

0

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



Yutaka Kanemoto wrote:
> 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,
> --
> Yutaka KANEMOTO
> http://d.hatena.ne.j...