rvm - Installing Ruby 2.0.0p0 on Mountain Lion: Error running 'make -j8' -
i'm trying install ruby 2.0 via rvm (rvm install 2.0.0
) on mac mountain lion. seems go smoothly until end states error running 'make -j8'
. i'm using xcode 4.6.2 well. how fix it?
installing ruby source to: /users/scott/.rvm/rubies/ruby-2.0.0-p0, may take while depending on cpu(s)... ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, may take while depending on connection... ######################################################################## 100.0% ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 /users/scott/.rvm/src/ruby-2.0.0-p0 ruby-2.0.0-p0 - #extracted /users/scott/.rvm/src/ruby-2.0.0-p0 ruby-2.0.0-p0 - #configuring...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ruby-2.0.0-p0 - #compiling............................................................................................................................................................................................................... error running 'make -j8', please read /users/scott/.rvm/log/ruby-2.0.0-p0/1368502313_make.log there has been error while running make. halting installation.
the last 100 lines of above make.log file:
new-host-6:ruby-2.0.0-p0 scott$ tail -100 1368502313_make.log /users/scott/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:341:in `<class:erb>' /users/scott/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:354:in `<class:compiler>' /users/scott/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375:in `<class:scanner>' -- c level backtrace information ------------------------------------------- 0 miniruby 0x0000000100542e54 rb_vm_bugreport + 164 1 miniruby 0x000000010041a16e report_bug + 302 2 miniruby 0x000000010041a424 rb_bug + 180 3 miniruby 0x0000000100538ed0 vm_exec_core + 32080 4 miniruby 0x00000001005390ae vm_exec + 94 5 miniruby 0x0000000100539f8a rb_iseq_eval + 266 6 miniruby 0x000000010041ed82 rb_load_internal + 306 7 miniruby 0x00000001004204d1 rb_require_safe + 1313 8 miniruby 0x0000000100528c94 call_cfunc_1 + 20 9 miniruby 0x000000010052f156 vm_call_cfunc + 1046 10 miniruby 0x000000010053dd10 vm_call_method + 224 11 miniruby 0x0000000100534393 vm_exec_core + 12819 12 miniruby 0x00000001005390ae vm_exec + 94 13 miniruby 0x0000000100539e5e rb_iseq_eval_main + 206 14 miniruby 0x000000010041d4ef ruby_exec_internal + 111 15 miniruby 0x000000010041e4d2 ruby_run_node + 82 16 miniruby 0x00000001003e45ef main + 79 17 libdyld.dylib 0x00007fff8ee217e1 start + 0 18 ??? 0x000000000000000b 0x0 + 11 -- other runtime information ----------------------------------------------- * loaded script: ./tool/generic_erb.rb * loaded features: 0 enumerator.so 1 /users/scott/.rvm/src/ruby-2.0.0-p0/lib/cgi/util.rb [note] may have encountered bug in ruby interpreter or extension libraries. bug reports welcome. details: http://www.ruby-lang.org/bugreport.html /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111: [bug] stack consistency error (sp: 38, bp: 36) ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0] -- crash report log information -------------------------------------------- see crash report log file under 1 of following: * ~/library/logs/crashreporter * /library/logs/crashreporter * ~/library/logs/diagnosticreports * /library/logs/diagnosticreports more detail of. -- control frame information ----------------------------------------------- c:0006 p:0038 s:0038 e:000037 class /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111 c:0005 p:0035 s:0034 e:000033 class /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107 c:0004 p:0009 s:0032 e:000031 top /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85 [finish] c:0003 p:---- s:0030 e:000029 cfunc :require c:0002 p:0098 s:0026 e:000488 eval ./tool/mkconfig.rb:11 [finish] c:0001 p:0000 s:0002 e:0018b8 top [finish] ./tool/mkconfig.rb:11:in `<main>' ./tool/mkconfig.rb:11:in `require' /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top (required)>' /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107:in `<module:fileutils>' /users/scott/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111:in `<module:nowrite>' -- c level backtrace information ------------------------------------------- 0 miniruby 0x0000000109ffbe54 rb_vm_bugreport + 164 1 miniruby 0x0000000109ed316e report_bug + 302 2 miniruby 0x0000000109ed3424 rb_bug + 180 3 miniruby 0x0000000109ff1ed0 vm_exec_core + 32080 4 miniruby 0x0000000109ff20ae vm_exec + 94 5 miniruby 0x0000000109ff2f8a rb_iseq_eval + 266 6 miniruby 0x0000000109ed7d82 rb_load_internal + 306 7 miniruby 0x0000000109ed94d1 rb_require_safe + 1313 8 miniruby 0x0000000109fe1c94 call_cfunc_1 + 20 9 miniruby 0x0000000109fe8156 vm_call_cfunc + 1046 10 miniruby 0x0000000109ff6d10 vm_call_method + 224 11 miniruby 0x0000000109fed393 vm_exec_core + 12819 12 miniruby 0x0000000109ff20ae vm_exec + 94 13 miniruby 0x0000000109ff2e5e rb_iseq_eval_main + 206 14 miniruby 0x0000000109ed64ef ruby_exec_internal + 111 15 miniruby 0x0000000109ed74d2 ruby_run_node + 82 16 miniruby 0x0000000109e9d5ef main + 79 17 libdyld.dylib 0x00007fff8ee217e1 start + 0 -- other runtime information ----------------------------------------------- * loaded script: ./tool/mkconfig.rb * loaded features: 0 enumerator.so [note] may have encountered bug in ruby interpreter or extension libraries. bug reports welcome. details: http://www.ruby-lang.org/bugreport.html make: *** [encdb.h] abort trap: 6 make: *** waiting unfinished jobs.... make: *** [.rbconfig.time] abort trap: 6
the bug fixed in recent ruby release 2.0.0-p195
released rvm 1.20.7
few minutes ago.
Comments
Post a Comment