From: Tom Smith Date: 2002-04-05T11:53:21+09:00 Subject: Re: Ruby under AIX This is a multi-part message in MIME format. ------=_NextPart_000_0041_01C1DC17.06475060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Never tried it, but probably. Edit the configure script, then run make. = You'd have to be root to do the "make install" though. But if you just want to run it in your = home directory, I imagine it'd work... "Dat Nguyen" wrote in message = news:F66mvcMU1IcgWUP5t270000349e@hotmail.com... Built Ruby under AIX 4.3.3 several times without success, posted here = but got no decisive hints, will try your work around. Would this work if = I build as user, not as administrator? Thanks, Dat >From: "Tom Smith"=20 >Reply-To: ruby-talk@ruby-lang.org=20 >To: ruby-talk@ruby-lang.org (ruby-talk ML)=20 >Subject: Re: Ruby under AIX=20 >Date: Thu, 4 Apr 2002 10:10:47 +0900=20 >=20 >Funny you should mention that. I just today compiled 1.6.7 on AIX = 4.3.3 with gcc. I was=20 >getting some stuff from the linker about how it couldn't find = libgcc.a and such, but after I=20 >edited two lines in the configure script to remove the "-brtl" it = configured, compiled, and installed fine.=20 >=20 >aix*) LDSHARED=3D'/usr/ccs/bin/ld'=20 >=20 > XLDFLAGS=3D'-Wl,-bE:ruby.imp'=20 >=20 > this one -->> DLDFLAGS=3D'-brtl -eInit_$(TARGET) = -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 -lc'=20 >=20 >change to -->> DLDFLAGS=3D'-eInit_$(TARGET) -bI:$(topdir)/ruby.imp = -bM:SRE -T512 -H512 -lc'=20 >=20 > and this one -->> LDFLAGS=3D"-brtl"=20 >=20 >change to -->> LDFLAGS=3D""=20 >=20 > rb_cv_dlopen=3Dyes ;;=20 >=20 >They're like 4600 lines down from the top.=20 >=20 >HTH,=20 >=20 >Tom Smith=20 >=20 >abner@austin.rr.com=20 >=20 >=20 >=20 >"Lyle Johnson" wrote in message = news:uan26cis62jcd4@corp.supernews.com...=20 > > > Is there a version of Ruby for AIX?=20 > >=20 > > Probably no precompiled binaries, if that's what you're asking = for. But I=20 > > suspect that the Ruby source code will compile "out of the box" on = AIX.=20 > >=20 > >=20 -------------------------------------------------------------------------= ----- Chat with friends online, try MSN Messenger: Click Here ------=_NextPart_000_0041_01C1DC17.06475060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Never tried it, but probably. Edit the = configure=20 script, then run make. You'd have to be root
to do the "make install" though. But if = you just=20 want to run it in your home directory, I imagine it'd = work...
 
"Dat Nguyen" <thucdat@hotmail.com> wrote = in message=20 news:F66mvcMU1IcgWU= P5t270000349e@hotmail.com...

Built Ruby under AIX 4.3.3 several times without success, = posted here=20 but got no decisive hints, will try your work around. Would this = work if=20 I build as user, not as administrator?

Thanks,

Dat

>From: "Tom Smith"
>Reply-To: ruby-talk@ruby-lang.org=20
>To: ruby-talk@ruby-lang.org (ruby-talk ML)=20
>Subject: Re: Ruby under AIX=20
>Date: Thu, 4 Apr 2002 10:10:47 +0900=20
>=20
>Funny you should mention that. I just today compiled = 1.6.7 on=20 AIX 4.3.3 with gcc. I was=20
>getting some stuff from the linker about how it = couldn't find=20 libgcc.a and such, but after I=20
>edited two lines in the configure script to remove the = "-brtl"=20 it configured, compiled, and installed fine.=20
>=20
>aix*) LDSHARED=3D'/usr/ccs/bin/ld'=20
>=20
> XLDFLAGS=3D'-Wl,-bE:ruby.imp'=20
>=20
> this one -->> DLDFLAGS=3D'-brtl -eInit_$(TARGET) = -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 -lc'=20
>=20
>change to -->> DLDFLAGS=3D'-eInit_$(TARGET)=20 -bI:$(topdir)/ruby.imp -bM:SRE -T512 -H512 -lc'=20
>=20
> and this one -->> LDFLAGS=3D"-brtl"=20
>=20
>change to -->> LDFLAGS=3D""=20
>=20
> rb_cv_dlopen=3Dyes ;;=20
>=20
>They're like 4600 lines down from the top.=20
>=20
>HTH,=20
>=20
>Tom Smith=20
>=20
>abner@austin.rr.com=20
>=20
>=20
>=20
>"Lyle Johnson" wrote in message=20 news:uan26cis62jcd4@corp.supernews.com...=20
> > > Is there a version of Ruby for AIX?=20
> >=20
> > Probably no precompiled binaries, if that's what = you're=20 asking for. But I=20
> > suspect that the Ruby source code will compile = "out of=20 the box" on AIX.=20
> >=20
> >=20


Chat with friends online, try MSN Messenger: Click=20 Here
------=_NextPart_000_0041_01C1DC17.06475060--