Hi,

Conrad Schneiker wrote:

> Hi,
>
> Dat Nguyen wrote:
>
> > >From: Yukihiro Matsumoto <matz / ev.netlab.co.jp>
> > >Reply-To: ruby-talk / netlab.co.jp
> > >To: ruby-talk / netlab.co.jp (ruby-talk ML)
> > >Subject: [ruby-talk:03631] Ruby 1.4.5
> > >Date: Fri, 23 Jun 2000 17:49:08 +0900
> > >
> > >Ruby 1.4.5 is out, check out:
> > >
> > >     ftp://ftp.netlab.co.jp/pub/lang/ruby/ruby-1.4.5.tar.gz
> > >
> > >md5sum is
> > >
> > >     6259f3a602d0b7104e213162319de40d  ruby-1.4.5.tar.gz
> > >
> > >Have fun!
> > >                                       matz.
> > >
> >
> > What are my troubles?
> > I downloaded, tried to build it on for AIX4.2, but failed:
> >
> > adm4cps:spsy$ make
> >         xlc -g -O2 -I. -I. -I/usr/local/include -c array.c
> > "ruby.h", line 421.19: 1506-172 (S) Parameter type list for function
> > rb_raise contains parameters without identifiers.
> > "ruby.h", line 421.26: 1506-172 (S) Parameter type list for function
> > rb_raise contains parameters without identifiers.
> > "ruby.h", line 421.45: 1506-276 (S) Syntax error: possible missing '{'?
> > "array.c", line 25.12: 1506-045 (S) Undeclared identifier size.
>
> <rest of output snipped>
>
> I had no problems building with the vac compiler on AIX 4.3 (except for the
> previously reported problem with the link step in ext/tcltklib due to the
> missing -brtl option flag).

And with the xlC compiler on AIX 4.3, everything ultimately worked fine too.
(On the 2nd attempt that is; the errors that I saw the first time were
apparently due to not doing a "make distclean" before redoing the configure and
make from a mounted directory on another machine.)

However I noticed that the -O2 flag did not occur on any of the compilation
lines. (I did not change or override any of the default configure options.)

--
Conrad Schneiker
(This note is unofficial and subject to improvement without notice.)