Problem with compiling Ruby-1.9.1-p243

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/.

Can you post the problem?

···

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

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

--
Aaron Patterson
http://tenderlovemaking.com/

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?

···

On Thu, Oct 29, 2009 at 5:33 PM, Richard Lee <wing2@yahoo.com> wrote:

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

--
Paul Smith
http://www.nomadicfun.co.uk

paul@pollyandpaul.co.uk

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

···

On Oct 29, 2009, at 12:33 PM, Richard Lee 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/\.

--
Charles Johnson
Advanced Computing Center for Research and Education
Vanderbilt University

Charles Johnson 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/\.

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

···

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

--
Posted via http://www.ruby-forum.com/\.

Charles Johnson 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/\.

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:

   \./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.

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

···

On Thu, Oct 29, 2009 at 6:27 PM, Richard Lee <wing2@yahoo.com> wrote:

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

Richard
--
Posted via http://www.ruby-forum.com/\.

--
Paul Smith
http://www.nomadicfun.co.uk

paul@pollyandpaul.co.uk