osx - Ruby-1.9.3 failing on make OS X 10.10 Beta -


i trying use hombrew install metasploit-framework on macbook pro (running os x 10.10 beta) can pen-test server. however, metasploit has lot of trouble working ruby 2 , later (i have spent hours trying see if fix metasploit work ruby 2) figured need install ruby 1.9.3. thus, opened terminal , ran:

rvm install ruby-1.9.3 

this output of above command. please ignore /-\| characters because rvm's spinning animation appears in console when installing.

error running './configure --prefix=/users/ericmarkmartin/.rvm/rubies/ruby-1.9.3-p547 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared', showing last 15 lines of /users/ericmarkmartin/.rvm/log/1403754271_ruby-1.9.3-p547/configure.log [2014-06-25 23:44:47] ./configure current path: /users/ericmarkmartin/.rvm/src/ruby-1.9.3-p547 gem_home=/users/ericmarkmartin/.rvm/gems/ruby-2.1.2 path=/users/ericmarkmartin/.rvm/usr/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/users/ericmarkmartin/.rvm/gems/ruby-2.1.2/bin:/users/ericmarkmartin/.rvm/gems/ruby-2.1.2@global/bin:/users/ericmarkmartin/.rvm/rubies/ruby-2.1.2/bin:/usr/local/opt/ruby193/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/iosopendev/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/opt/ruby193/bin:/usr/local/bin:/usr/local/sbin:/library/frameworks/python.framework/versions/3.4/bin:/users/ericmarkmartin/.apportable/sdk/bin:/users/ericmarkmartin/.apportable/sdk/bin:/usr/local/opt/ruby193/bin:/usr/local/bin:/usr/local/sbin:/opt/iosopendev/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/x11/bin:/users/ericmarkmartin/.rvm/bin:/users/ericmarkmartin/.rvm/bin gem_path=/users/ericmarkmartin/.rvm/gems/ruby-2.1.2:/users/ericmarkmartin/.rvm/gems/ruby-2.1.2@global command(7): ./configure --prefix=/users/ericmarkmartin/.rvm/rubies/ruby-1.9.3-p547 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared configure: warning: unrecognized options: --without-tcl, --without-tk checking build system type... i386-apple-darwin14.0.0 checking host system type... i386-apple-darwin14.0.0 checking target system type... i386-apple-darwin14.0.0 checking whether c compiler works... no configure: error: in `/users/ericmarkmartin/.rvm/src/ruby-1.9.3-p547': configure: error: c compiler cannot create executables see `config.log' more details there has been error while running configure. halting installation. 

after searching, found common problem on os x, solvable using following command.

rvm install ruby-1.9.3 --with-gcc=clang 

here output of command. again, please ignore /-\| characters.

error running '__rvm_make -j 1', showing last 15 lines of /users/ericmarkmartin/.rvm/log/1403754087_ruby-1.9.3-p547/make.log -- other runtime information -----------------------------------------------  * loaded script: ./miniruby  * 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: *** [.rbconfig.time] abort trap: 6 ++ return 2 there has been error while running make. halting installation. 

however, gives error, saying make failed run. specifically, says encountered segmentation fault upon linking miniruby. appreciate if me 1.9.3 , running on mac, have been searching while answers , have not found any. have tried installing earlier versions of ruby, same lack of success. below, including make log file associated latter of 2 commands. please notify me if require additional log files, , happy provide them.

thank you

make.log

2014-06-25 00:20:42] __rvm_make __rvm_make ()  {      \make "$@" || return $? } current path: /users/ericmarkmartin/.rvm/src/ruby-1.9.3-p547 gem_home=/users/ericmarkmartin/.rvm/gems/ruby-2.1.2 path=/users/ericmarkmartin/.rvm/usr/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/users/ericmarkmartin/.rbenv/shims:/users/ericmarkmartin/.rvm/gems/ruby-2.1.2/bin:/users/ericmarkmartin/.rvm/gems/ruby-2.1.2@global/bin:/users/ericmarkmartin/.rvm/rubies/ruby-2.1.2/bin:/users/ericmarkmartin/.rvm/bin:/usr/local/opt/ruby193/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/iosopendev/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/opt/ruby193/bin:/usr/local/bin:/usr/local/sbin:/library/frameworks/python.framework/versions/3.4/bin:/users/ericmarkmartin/.apportable/sdk/bin:/users/ericmarkmartin/.apportable/sdk/bin:/usr/local/opt/ruby193/bin:/usr/local/bin:/usr/local/sbin:/opt/iosopendev/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/x11/bin gem_path=/users/ericmarkmartin/.rvm/gems/ruby-2.1.2:/users/ericmarkmartin/.rvm/gems/ruby-2.1.2@global command(3): __rvm_make -j 1 ++ make -j 1     cc = clang     ld = ld     ldshared = clang -dynamiclib     cflags = -o3 -ggdb -wall -wextra -wno-unused-parameter -wno-parentheses -wno-long-long -wno-missing-field-initializers -wpointer-arith -wwrite-strings -wdeclaration-after-statement -wshorten-64-to-32 -wimplicit-function-declaration  -fno-common -pipe      xcflags = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -druby_export     cppflags = -d_xopen_source -d_darwin_c_source   -i/usr/local/opt/libyaml/include -i/usr/local/opt/readline/include -i/usr/local/opt/libksba/include -i/usr/local/opt/openssl/include -i. -i.ext/include/x86_64-darwin14.0.0 -i./include -i.     dldflags = -wl,-undefined,dynamic_lookup -wl,-multiply_defined,suppress -wl,-flat_namespace -install_name /users/ericmarkmartin/.rvm/rubies/ruby-1.9.3-p547/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1  -wl,-u,_objc_msgsend        solibs =  compiling main.c compiling dmydln.c compiling dmyencoding.c compiling version.c compiling dmyversion.c compiling miniprelude.c compiling array.c compiling bignum.c bignum.c:897:1: warning: unused function 'next_pow2' [-wunused-function] next_pow2(register unsigned long x) ^ 1 warning generated. compiling class.c compiling compar.c compiling complex.c complex.c:78:1: warning: unused function 'f_cmp' [-wunused-function] f_cmp(value x, value y) ^ complex.c:108:1: warning: unused function 'f_lt_p' [-wunused-function] f_lt_p(value x, value y) ^ complex.c:115:1: warning: unused function 'f_mod' [-wunused-function] binop(mod, '%') ^ complex.c:29:21: note: expanded macro 'binop' inline static value \                     ^ <scratch space>:14:1: note: expanded here f_mod ^ complex.c:154:1: warning: unused function 'f_abs2' [-wunused-function] fun1(abs2) ^ complex.c:36:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:17:1: note: expanded here f_abs2 ^ complex.c:156:1: warning: unused function 'f_conj' [-wunused-function] fun1(conj) ^ complex.c:36:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:21:1: note: expanded here f_conj ^ complex.c:158:1: warning: unused function 'f_floor' [-wunused-function] fun1(floor) ^ complex.c:36:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:25:1: note: expanded here f_floor ^ complex.c:159:1: warning: unused function 'f_imag' [-wunused-function] fun1(imag) ^ complex.c:36:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:27:1: note: expanded here f_imag ^ complex.c:163:1: warning: unused function 'f_real' [-wunused-function] fun1(real) ^ complex.c:36:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:35:1: note: expanded here f_real ^ complex.c:184:1: warning: unused function 'f_divmod' [-wunused-function] fun2(divmod) ^ complex.c:43:21: note: expanded macro 'fun2' inline static value \                     ^ <scratch space>:43:1: note: expanded here f_divmod ^ complex.c:196:1: warning: unused function 'f_idiv' [-wunused-function] fun2(idiv) ^ complex.c:43:21: note: expanded macro 'fun2' inline static value \                     ^ <scratch space>:49:1: note: expanded here f_idiv ^ complex.c:262:1: warning: unused function 'k_integer_p' [-wunused-function] k_integer_p(value x) ^ complex.c:463:1: warning: unused function 'f_complex_new1' [-wunused-function] f_complex_new1(value klass, value x) ^ complex.c:518:1: warning: unused function 'm_sqrt_bang' [-wunused-function] imp1(sqrt) ^ complex.c:489:21: note: expanded macro 'imp1' inline static value \                     ^ <scratch space>:75:1: note: expanded here m_sqrt_bang ^ 13 warnings generated. compiling dir.c compiling dln_find.c compiling enum.c compiling enumerator.c compiling error.c compiling eval.c compiling load.c compiling proc.c compiling file.c compiling gc.c compiling hash.c compiling inits.c compiling io.c compiling marshal.c compiling math.c compiling node.c compiling numeric.c numeric.c:1409:10: warning: 'finite' deprecated: first deprecated in os x 10.9 [-wdeprecated-declarations]     if (!finite(value))          ^ /usr/include/math.h:718:12: note: 'finite' has been explicitly marked deprecated here extern int finite(double) __osx_available_but_deprecated(__mac_10_0, __mac_10_9, __iphone_na, __iphone_na);            ^ 1 warning generated. compiling object.c compiling pack.c compiling parse.c compiling process.c compiling random.c compiling range.c compiling rational.c rational.c:86:1: warning: unused function 'f_gt_p' [-wunused-function] f_gt_p(value x, value y) ^ rational.c:136:1: warning: unused function 'f_floor' [-wunused-function] fun1(floor) ^ rational.c:40:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:18:1: note: expanded here f_floor ^ rational.c:157:1: warning: unused function 'f_truncate' [-wunused-function] fun1(truncate) ^ rational.c:40:21: note: expanded macro 'fun1' inline static value \                     ^ <scratch space>:28:1: note: expanded here f_truncate ^ rational.c:409:1: warning: unused function 'f_rational_new_bang2' [-wunused-function] f_rational_new_bang2(value klass, value x, value y) ^ rational.c:518:1: warning: unused function 'f_rational_new1' [-wunused-function] f_rational_new1(value klass, value x) ^ rational.c:533:1: warning: unused function 'f_rational_new_no_reduce1' [-wunused-function] f_rational_new_no_reduce1(value klass, value x) ^ 6 warnings generated. compiling re.c compiling regcomp.c compiling regenc.c compiling regerror.c compiling regexec.c compiling regparse.c compiling regsyntax.c compiling ruby.c compiling safe.c compiling signal.c compiling sprintf.c compiling st.c compiling strftime.c compiling string.c compiling struct.c compiling time.c compiling transcode.c compiling util.c compiling variable.c compiling compile.c compiling debug.c compiling iseq.c compiling vm.c compiling vm_dump.c compiling thread.c thread.c:2565:34: warning: variable 'orig_read' uninitialized when used within own initialization [-wuninitialized]     rb_fdset_t uninitialized_var(orig_read);                                  ^~~~~~~~~ ./vm_core.h:115:34: note: expanded macro 'uninitialized_var' #define uninitialized_var(x) x = x                                  ^ thread.c:2566:34: warning: variable 'orig_write' uninitialized when used within own initialization [-wuninitialized]     rb_fdset_t uninitialized_var(orig_write);                                  ^~~~~~~~~~ ./vm_core.h:115:34: note: expanded macro 'uninitialized_var' #define uninitialized_var(x) x = x                                  ^ thread.c:2567:34: warning: variable 'orig_except' uninitialized when used within own initialization [-wuninitialized]     rb_fdset_t uninitialized_var(orig_except);                                  ^~~~~~~~~~~ ./vm_core.h:115:34: note: expanded macro 'uninitialized_var' #define uninitialized_var(x) x = x                                  ^ 3 warnings generated. compiling cont.c compiling ./enc/ascii.c compiling ./enc/us_ascii.c compiling ./enc/unicode.c compiling ./enc/utf_8.c compiling newline.c compiling ./missing/setproctitle.c compiling dmyext.c linking miniruby ./miniruby: [bug] segmentation fault ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-darwin14.0.0]  -- control frame information ----------------------------------------------- c:0002 p:---- s:0005 b:0004 l:000003 d:000003 finish c:0001 p:0000 s:0002 b:0002 l:000ae8 d:000ae8 top      -- c level backtrace information -------------------------------------------     see crash report log file under ~/library/logs/crashreporter or    /library/logs/crashreporter, more detail of.  -- other runtime information -----------------------------------------------  * loaded script: ./miniruby  * 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: *** [.rbconfig.time] abort trap: 6 ++ return 2 


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -