# Problem with compiling Ruby-1.9.1-p243

**URL:** <https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142>\
**Category:** Ruby\
**Created:** [October 29, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142 "2009-10-29T18:31:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [October 29, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142/1 "2009-10-29T18:31:49Z")

</div>

Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can  
anyone help me? Thanks

Richard

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [October 29, 2009, 6:45pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142/2 "2009-10-29T18:45:41Z")

</div>

On Fri, Oct 30, 2009 at 02:33:07AM +0900, Richard L. wrote:

> Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can  
> anyone help me? Thanks

Can you post the problem?

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [October 29, 2009, 6:46pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142/3 "2009-10-29T18:46:16Z")

</div>

On Thu, Oct 29, 2009 at 5:33 PM, Richard L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can  
> anyone help me? Thanks

Not unless you explain something about the problem. What are you  
trying to do, where is it going wrong, what is the exact error output?

–  
Paul S.  
[http://www.nomadicfun.co.uk](http://www.nomadicfun.co.uk)

removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [October 29, 2009, 6:46pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142/4 "2009-10-29T18:46:51Z")

</div>

On Oct 29, 2009, at 12:33 PM, Richard L. wrote:

> Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can  
> anyone help me? Thanks
> 
> ## Richard
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

Would you be kind enough to post the nature of the problem, and the  
error messages you are getting. That would help. Be as specific as you  
can.

Cheers–

Charles

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [October 29, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142/5 "2009-10-29T23:00:53Z")

</div>

On Thu, Oct 29, 2009 at 6:27 PM, Richard L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Would you be kind enough to post the nature of the problem, and the  
> > -rrbconfig ./tool/compile\_prelude.rb ./prelude.rb ./enc/prelude.rb  
> > ./gem\_prelude.rb prelude.c  
> > ./miniruby: not found
> 
> make: 1254-004 The error code from the last command is 1.
> 
> Stop.
> 
> Thanks in advance.

Didn’t you post about this problem yesterday? What makes you think  
posting it again today will help?

> ## Richard
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

–  
Paul S.  
[http://www.nomadicfun.co.uk](http://www.nomadicfun.co.uk)

removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![rjlyders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/58f4c7/32.png) [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Post date:** [October 29, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142/6 "2009-10-29T19:27:04Z")

</div>

Charles J. wrote:

> On Oct 29, 2009, at 12:33 PM, Richard L. wrote:
> 
> > Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can  
> > anyone help me? Thanks
> > 
> > ## Richard
> > 
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> Would you be kind enough to post the nature of the problem, and the  
> error messages you are getting. That would help. Be as specific as you  
> can.
> 
> Cheers–
> 
> Charles

Here is the output of the make command:

gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
main.o -c main.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
dln.o -c dln.c  
dln.c:1105: warning: ‘dln\_strerror’ defined but not used  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
dmyencoding.o -c dmyencoding.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
miniprelude.o -c miniprelude.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
array.o -c array.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
bignum.o -c bignum.c  
bignum.c: In function ‘big2dbl’:  
bignum.c:1177: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
bignum.c: In function ‘rb\_big2dbl’:  
bignum.c:1217: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
bignum.c:1219: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
class.o -c class.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
compar.o -c compar.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
complex.o -c complex.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
dir.o -c dir.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
enum.o -c enum.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
enumerator.o -c enumerator.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
error.o -c error.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
eval.o -c eval.c  
eval.c: In function ‘ruby\_cleanup’:  
eval.c:139: warning: passing argument 1 of ‘ruby\_init\_stack’ discards  
qualifiers from pointer target type  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
load.o -c load.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
proc.o -c proc.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
file.o -c file.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
gc.o -c gc.c  
gc.c: In function ‘mark\_current\_machine\_context’:  
gc.c:1977: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
hash.o -c hash.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
inits.o -c inits.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
io.o -c io.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
marshal.o -c marshal.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
math.o -c math.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
numeric.o -c numeric.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
object.o -c object.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
pack.o -c pack.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
parse.o -c parse.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
process.o -c process.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
random.o -c random.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
range.o -c range.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
rational.o -c rational.c  
rational.c: In function ‘nurat\_to\_f’:  
rational.c:1088: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
re.o -c re.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
regcomp.o -c regcomp.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
regenc.o -c regenc.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
regerror.o -c regerror.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
regexec.o -c regexec.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
regparse.o -c regparse.c  
regparse.c: In function ‘onig\_parse\_make\_tree’:  
regparse.c:5540: warning: passing argument 3 of ‘parse\_regexp’ discards  
qualifiers from pointer target type  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
regsyntax.o -c regsyntax.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
ruby.o -c ruby.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
safe.o -c safe.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
signal.o -c signal.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
sprintf.o -c sprintf.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
st.o -c st.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
strftime.o -c strftime.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
string.o -c string.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
struct.o -c struct.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
time.o -c time.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
transcode.o -c transcode.c  
transcode.c: In function ‘str\_transcode0’:  
transcode.c:2503: warning: format ‘%d’ expects type ‘int’, but argument  
3 has type ‘long int’  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
util.o -c util.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
variable.o -c variable.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
version.o -c version.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
compile.o -c compile.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
debug.o -c debug.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
iseq.o -c iseq.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
vm.o -c vm.c  
In file included from vm\_exec.c:106,  
from vm.c:23:  
insns.def: In function ‘vm\_exec\_core’:  
insns.def:1062: warning: format ‘%d’ expects type ‘int’, but argument 2  
has type ‘long int’  
insns.def:1062: warning: format ‘%d’ expects type ‘int’, but argument 3  
has type ‘long int’  
vm.c: In function ‘rb\_thread\_mark’:  
vm.c:1591: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
vm.c:1592: warning: dereferencing type-punned pointer will break  
strict-aliasing rules  
vm\_eval.c: In function ‘vm\_call0’:  
vm\_eval.c:100: warning: passing argument 7 of ‘vm\_call\_bmethod’ discards  
qualifiers from pointer target type  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
vm\_dump.o -c vm\_dump.c  
vm\_dump.c: In function ‘control\_frame\_dump’:  
vm\_dump.c:122: warning: format ‘%04d’ expects type ‘int’, but argument 3  
has type ‘long int’  
vm\_dump.c:129: warning: format ‘%04d’ expects type ‘int’, but argument 3  
has type ‘long int’  
vm\_dump.c:130: warning: format ‘%06d’ expects type ‘int’, but argument 3  
has type ‘long int’  
vm\_dump.c:130: warning: format ‘%06x’ expects type ‘unsigned int’, but  
argument 3 has type ‘long int’  
vm\_dump.c:131: warning: format ‘%06d’ expects type ‘int’, but argument 3  
has type ‘long int’  
vm\_dump.c:131: warning: format ‘%06x’ expects type ‘unsigned int’, but  
argument 3 has type ‘long int’  
vm\_dump.c: In function ‘vm\_stack\_dump\_each’:  
vm\_dump.c:310: warning: format ‘%d’ expects type ‘int’, but argument 5  
has type ‘long int’  
vm\_dump.c: In function ‘rb\_vmdebug\_debug\_print\_register’:  
vm\_dump.c:347: warning: format ‘%04d’ expects type ‘int’, but argument 4  
has type ‘long int’  
vm\_dump.c: In function ‘rb\_vmdebug\_debug\_print\_pre’:  
vm\_dump.c:367: warning: format ‘%3d’ expects type ‘int’, but argument 2  
has type ‘long int’  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
thread.o -c thread.c  
In file included from thread.c:182:  
thread\_pthread.c: In function ‘native\_sleep’:  
thread\_pthread.c:599: warning: format ‘%ld’ expects type ‘long int’, but  
argument 2 has type ‘int’  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
cont.o -c cont.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
ascii.o -c ./enc/ascii.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
us\_ascii.o -c ./enc/us\_ascii.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
unicode.o -c ./enc/unicode.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
utf\_8.o -c ./enc/utf\_8.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
newline.o -c newline.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
flock.o -c ./missing/flock.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
strlcpy.o -c ./missing/strlcpy.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
strlcat.o -c ./missing/strlcat.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
dmyext.o -c dmyext.c  
gcc -O2 -g -Wall -Wno-parentheses -I.  
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY\_EXPORT -o  
encoding.o -c encoding.c  
make: 1254-008 Target “./.rbconfig.time” is dependent on itself.

make: 1254-008 Target “miniruby” is dependent on itself.

```
    ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I.

```

-rrbconfig ./tool/compile\_prelude.rb ./prelude.rb ./enc/prelude.rb  
./gem\_prelude.rb prelude.c  
./miniruby: not found

make: 1254-004 The error code from the last command is 1.

Stop.

Thanks in advance.

Richard
