ITeye博客

opensuse11上编译安装ruby1.9.1-p376出错

机器人 · 2010-03-05 18:14 · 编程语言 · Markdown

li151-219:~/downloads/ruby-1.9.1-p378 # make sed 's/{$()}//g' common.mk > uncommon.mk gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o main.o -c main.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o dln.o -c dln.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o dmyencoding.o -c dmyencoding.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o miniprelude.o -c miniprelude.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o array.o -c array.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o bignum.o -c bignum.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o class.o -c class.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o compar.o -c compar.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o complex.o -c complex.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o dir.o -c dir.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o enum.o -c enum.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o enumerator.o -c enumerator.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o error.o -c error.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -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/i686-linux -I./include -I. -DRUBY_EXPORT -o load.o -c load.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o proc.o -c proc.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o file.o -c file.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o gc.o -c gc.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o hash.o -c hash.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o inits.o -c inits.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o io.o -c io.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o marshal.o -c marshal.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o math.o -c math.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o numeric.o -c numeric.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o object.o -c object.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o pack.o -c pack.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o parse.o -c parse.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o process.o -c process.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o random.o -c random.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o range.o -c range.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o rational.o -c rational.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o re.o -c re.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o regcomp.o -c regcomp.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o regenc.o -c regenc.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o regerror.o -c regerror.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o regexec.o -c regexec.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o regparse.o -c regparse.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o regsyntax.o -c regsyntax.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o ruby.o -c ruby.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o safe.o -c safe.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o signal.o -c signal.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o sprintf.o -c sprintf.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o st.o -c st.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o strftime.o -c strftime.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o string.o -c string.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o struct.o -c struct.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o time.o -c time.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o transcode.o -c transcode.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o util.o -c util.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o variable.o -c variable.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o version.o -c version.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o compile.o -c compile.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o debug.o -c debug.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o iseq.o -c iseq.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o vm.o -c vm.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o vm_dump.o -c vm_dump.c vm_dump.c:241: warning: ‘vm_stack_dump_each’ defined but not used gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o thread.o -c thread.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o cont.o -c cont.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o ascii.o -c ./enc/ascii.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o us_ascii.o -c ./enc/us_ascii.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o unicode.o -c ./enc/unicode.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o utf_8.o -c ./enc/utf_8.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o newline.o -c newline.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o strlcpy.o -c ./missing/strlcpy.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o strlcat.o -c ./missing/strlcat.c gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o dmyext.o -c dmyext.c gcc -O2 -g -Wall -Wno-parentheses -L. -rdynamic -Wl,-export-dynamic main.o dln.o dmyencoding.o miniprelude.o array.o bignum.o class.o compar.o complex.o dir.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o version.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o strlcpy.o strlcat.o dmyext.o -lpthread -lrt -ldl -lcrypt -lm -o miniruby rbconfig.rb updated ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./enc/make_encmake.rb --builtin-encs="ascii.o us_ascii.o unicode.o utf_8.o" --builtin-transes="newline.o" enc.mk /root/downloads/ruby-1.9.1-p378/rbconfig.rb:178: Stack consistency error (sp: 110, bp: 108) ruby 1.9.1p378 (2010-01-10 revision 26273)

-- control frame ---------- c:0025 p:0178 s:0110 b:0108 l:000094 d:000107 BLOCK /root/downloads/ruby-1.9.1-p378/rbconfig.rb:178 c:0024 p:---- s:0101 b:0101 l:000100 d:000100 FINISH c:0023 p:---- s:0099 b:0099 l:000098 d:000098 CFUNC :gsub! c:0022 p:0023 s:0095 b:0095 l:000094 d:000094 METHOD /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174 c:0021 p:0110 s:0090 b:0088 l:000074 d:000087 BLOCK /root/downloads/ruby-1.9.1-p378/rbconfig.rb:181 c:0020 p:---- s:0081 b:0081 l:000080 d:000080 FINISH c:0019 p:---- s:0079 b:0079 l:000078 d:000078 CFUNC :gsub! c:0018 p:0023 s:0075 b:0075 l:000074 d:000074 METHOD /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174 c:0017 p:0110 s:0070 b:0068 l:000054 d:000067 BLOCK /root/downloads/ruby-1.9.1-p378/rbconfig.rb:181 c:0016 p:---- s:0061 b:0061 l:000060 d:000060 FINISH c:0015 p:---- s:0059 b:0059 l:000058 d:000058 CFUNC :gsub! c:0014 p:0023 s:0055 b:0055 l:000054 d:000054 METHOD /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174 c:0013 p:0018 s:0050 b:0050 l:000041 d:000049 BLOCK /root/downloads/ruby-1.9.1-p378/rbconfig.rb:192 c:0012 p:---- s:0047 b:0047 l:000046 d:000046 FINISH c:0011 p:---- s:0045 b:0045 l:000044 d:000044 CFUNC :each_value c:0010 p:3371 s:0042 b:0042 l:000041 d:000041 CLASS /root/downloads/ruby-1.9.1-p378/rbconfig.rb:191 c:0009 p:0009 s:0040 b:0040 l:000039 d:000039 TOP /root/downloads/ruby-1.9.1-p378/rbconfig.rb:5 c:0008 p:---- s:0038 b:0038 l:000037 d:000037 FINISH c:0007 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :require c:0006 p:0011 s:0032 b:0032 l:000031 d:000031 TOP /root/downloads/ruby-1.9.1-p378/lib/mkmf.rb:4 c:0005 p:---- s:0018 b:0018 l:000017 d:000017 FINISH c:0004 p:---- s:0016 b:0016 l:000015 d:000015 CFUNC :load c:0003 p:0104 s:0012 b:0012 l:000ef4 d:00027c EVAL ./enc/make_encmake.rb:8 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000ef4 d:000ef4 TOP

-- Ruby level backtrace information----------------------------------------- /root/downloads/ruby-1.9.1-p378/rbconfig.rb:178:in block in expand' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174:in gsub!' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174:in expand' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:181:in block in expand' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174:in gsub!' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174:in expand' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:181:in block in expand' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174:in gsub!' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:174:in expand' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:192:in block in module:RbConfig' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:191:in each_value' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:191:in module:RbConfig' /root/downloads/ruby-1.9.1-p378/rbconfig.rb:5:in <top (required)>' /root/downloads/ruby-1.9.1-p378/lib/mkmf.rb:4:in require' /root/downloads/ruby-1.9.1-p378/lib/mkmf.rb:4:in <top (required)>' ./enc/make_encmake.rb:8:in load' ./enc/make_encmake.rb:8:in `'

-- C level backtrace information ------------------------------------------- 0x815e618 ./miniruby(rb_vm_bugreport+0x48) 0x808424e ./miniruby 0x80842c8 ./miniruby(rb_bug+0x28) 0x815434f ./miniruby 0x81549f8 ./miniruby 0x815bba1 ./miniruby(rb_yield+0x2a1) 0x811f148 ./miniruby 0x814bfed ./miniruby 0x814c280 ./miniruby 0x815a50c ./miniruby 0x8150ccf ./miniruby 0x81549f8 ./miniruby 0x815bba1 ./miniruby(rb_yield+0x2a1) 0x811f148 ./miniruby 0x814bfed ./miniruby 0x814c280 ./miniruby 0x815a50c ./miniruby 0x8150ccf ./miniruby 0x81549f8 ./miniruby 0x815bba1 ./miniruby(rb_yield+0x2a1) 0x811f148 ./miniruby 0x814bfed ./miniruby 0x814c280 ./miniruby 0x815a50c ./miniruby 0x8150ccf ./miniruby 0x81549f8 ./miniruby 0x815bba1 ./miniruby(rb_yield+0x2a1) 0x8097987 ./miniruby 0x80980f2 ./miniruby 0x810d741 ./miniruby(st_foreach+0xa1) 0x8099e22 ./miniruby 0x8085551 ./miniruby(rb_ensure+0x81) 0x8099222 ./miniruby(rb_hash_foreach+0x42) 0x809972b ./miniruby 0x814c280 ./miniruby 0x815a50c ./miniruby 0x8150ccf ./miniruby 0x81549f8 ./miniruby 0x8154cfa ./miniruby(rb_iseq_eval+0xfa) 0x8087caa ./miniruby(rb_load+0x16a) 0x8088933 ./miniruby(rb_require_safe+0x563) 0x814c280 ./miniruby 0x815a50c ./miniruby 0x8150ccf ./miniruby 0x81549f8 ./miniruby 0x8154cfa ./miniruby(rb_iseq_eval+0xfa) 0x8087caa ./miniruby(rb_load+0x16a) 0x8087dd9 ./miniruby 0x814bfed ./miniruby 0x814c280 ./miniruby 0x815a50c ./miniruby 0x8150ccf ./miniruby 0x81549f8 ./miniruby 0x8154bd4 ./miniruby(rb_iseq_eval_main+0x94) 0x808600f ./miniruby(ruby_exec_node+0x9f) 0x8087416 ./miniruby(ruby_run_node+0x46) 0x805c460 ./miniruby(main+0x60) 0x400bb5f5 /lib/libc.so.6(__libc_start_main+0xe5) 0x805c361 ./miniruby

You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html

make: *** Aborted li151-219:~/downloads/ruby-1.9.1-p378 #

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。