Trouble installing 1.9.2

I’ve been having a frustrating time installing 1.9.2 on my 2.16 Ghz
macbook snow leopard system. Because of frustrations installing it
manually, I installed rvm, thinking it would clear things up. I
successfully installed 1.8.7 and macruby, but still no luck with 1.9.2.
Here is the error log (apologies for the length). Any insight anyone
has would be much appreciated. Thanks!

[2010-08-18 13:18:32] make
file.c: In function ‘file_expand_path’:
file.c:2844: warning: ‘b’ may be used uninitialized in this function
regcomp.c: In function ‘add_compile_string_length’:
regcomp.c:423: warning: implicit conversion shortens 64-bit value into a
32-bit value
regcomp.c:431: warning: implicit conversion shortens 64-bit value into a
32-bit value
regcomp.c: In function ‘compile_string_raw_node’:
regcomp.c:550: warning: implicit conversion shortens 64-bit value into a
32-bit value
regcomp.c: In function ‘get_char_length_tree1’:
regcomp.c:2308: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c:2355: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘is_not_included’:
regcomp.c:2573: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c:2574: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘update_string_node_case_fold’:
regcomp.c:3226: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘setup_tree’:
regcomp.c:3796: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘set_bm_skip’:
regcomp.c:3936: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘distance_value’:
regcomp.c:4051: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘concat_left_node_opt_info’:
regcomp.c:4534: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘optimize_node_left’:
regcomp.c:4612: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘set_optimize_exact_info’:
regcomp.c:4951: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘set_optimize_map_info’:
regcomp.c:4970: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘onig_compile’:
regcomp.c:5328: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘onig_is_code_in_cc_len’:
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘match_at’:
regexec.c:1325: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1365: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1366: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1370: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1372: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1376: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2166: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2198: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2230: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2269: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘bm_search_notrev’:
regexec.c:2906: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘set_bm_backward_skip’:
regexec.c:2997: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘onig_search’:
regexec.c:3572: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3623: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3636: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3646: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3652: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3683: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3711: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘node_new_cclass_by_codepoint_range’:
regparse.c:1178: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:1178: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘onig_node_str_cat’:
regparse.c:1447: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:1449: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:1453: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘add_ctype_to_cc_by_range’:
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘i_apply_case_fold’:
regparse.c:5083: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:5083: warning: implicit conversion shortens 64-bit value into
a 32-bit value
time.c: In function ‘calc_tm_yday’:
time.c:969: warning: implicit conversion shortens 64-bit value into a
32-bit value
./enc/emacs_mule.c: In function ‘code_to_mbc’:
./enc/emacs_mule.c:267: warning: implicit conversion shortens 64-bit
value into a 32-bit value
./enc/euc_jp.c: In function ‘code_to_mbc’:
./enc/euc_jp.c:196: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/euc_jp.c: In function ‘property_name_to_ctype’:
./enc/euc_jp.c:296: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/shift_jis.c: In function ‘code_to_mbc’:
./enc/shift_jis.c:178: warning: implicit conversion shortens 64-bit
value into a 32-bit value
./enc/utf_16le.c: In function ‘utf16le_mbc_enc_len’:
./enc/utf_16le.c:59: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/utf_32be.c: In function ‘utf32be_left_adjust_char_head’:
./enc/utf_32be.c:162: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/utf_32le.c: In function ‘utf32le_left_adjust_char_head’:
./enc/utf_32le.c:162: warning: implicit conversion shortens 64-bit value
into a 32-bit value
dbm.c: In function ‘fdbm_key’:
dbm.c:215: warning: comparison between signed and unsigned
dbm.c: In function ‘fdbm_delete_if’:
dbm.c:365: warning: implicit conversion shortens 64-bit value into a
32-bit value
dbm.c: In function ‘fdbm_has_value’:
dbm.c:634: warning: comparison between signed and unsigned
ld: in /usr/local/lib/libz.1.dylib, file is not of required architecture
collect2: ld returned 1 exit status
make[1]: *** […/…/…/.ext/x86_64-darwin10.4.0/digest/md5.bundle] Error
1
make: *** [mkmain.sh] Error 1
[2010-08-30 10:01:48] make
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not
the architecture being linked (x86_64)
collect2: ld returned 1 exit status
make[1]: *** […/…/…/.ext/x86_64-darwin10.4.0/digest/md5.bundle] Error
1
make: *** [mkmain.sh] Error 1
[2010-10-12 18:52:06] make
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not
the architecture being linked (x86_64)
collect2: ld returned 1 exit status
make[1]: *** […/…/…/.ext/x86_64-darwin10.4.0/digest/md5.bundle] Error
1
make: *** [mkmain.sh] Error 1
[2010-10-12 21:07:15] make
file.c: In function ‘file_expand_path’:
file.c:2844: warning: ‘b’ may be used uninitialized in this function
regcomp.c: In function ‘add_compile_string_length’:
regcomp.c:423: warning: implicit conversion shortens 64-bit value into a
32-bit value
regcomp.c:431: warning: implicit conversion shortens 64-bit value into a
32-bit value
regcomp.c: In function ‘compile_string_raw_node’:
regcomp.c:550: warning: implicit conversion shortens 64-bit value into a
32-bit value
regcomp.c: In function ‘get_char_length_tree1’:
regcomp.c:2308: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c:2355: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘is_not_included’:
regcomp.c:2573: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c:2574: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘update_string_node_case_fold’:
regcomp.c:3226: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘setup_tree’:
regcomp.c:3796: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘set_bm_skip’:
regcomp.c:3936: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘distance_value’:
regcomp.c:4051: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘concat_left_node_opt_info’:
regcomp.c:4534: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘optimize_node_left’:
regcomp.c:4612: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘set_optimize_exact_info’:
regcomp.c:4951: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘set_optimize_map_info’:
regcomp.c:4970: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘onig_compile’:
regcomp.c:5328: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c: In function ‘onig_is_code_in_cc_len’:
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regcomp.c:5682: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘match_at’:
regexec.c:1325: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1365: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1366: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1370: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1372: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:1376: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2166: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2198: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2230: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:2269: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘bm_search_notrev’:
regexec.c:2906: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘set_bm_backward_skip’:
regexec.c:2997: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c: In function ‘onig_search’:
regexec.c:3572: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3623: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3636: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3646: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3652: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3683: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regexec.c:3711: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘node_new_cclass_by_codepoint_range’:
regparse.c:1178: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:1178: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘onig_node_str_cat’:
regparse.c:1447: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:1449: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:1453: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘add_ctype_to_cc_by_range’:
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3856: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3877: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:3882: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c: In function ‘i_apply_case_fold’:
regparse.c:5083: warning: implicit conversion shortens 64-bit value into
a 32-bit value
regparse.c:5083: warning: implicit conversion shortens 64-bit value into
a 32-bit value
time.c: In function ‘calc_tm_yday’:
time.c:969: warning: implicit conversion shortens 64-bit value into a
32-bit value
./enc/emacs_mule.c: In function ‘code_to_mbc’:
./enc/emacs_mule.c:267: warning: implicit conversion shortens 64-bit
value into a 32-bit value
./enc/euc_jp.c: In function ‘code_to_mbc’:
./enc/euc_jp.c:196: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/euc_jp.c: In function ‘property_name_to_ctype’:
./enc/euc_jp.c:296: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/shift_jis.c: In function ‘code_to_mbc’:
./enc/shift_jis.c:178: warning: implicit conversion shortens 64-bit
value into a 32-bit value
./enc/utf_16le.c: In function ‘utf16le_mbc_enc_len’:
./enc/utf_16le.c:59: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/utf_32be.c: In function ‘utf32be_left_adjust_char_head’:
./enc/utf_32be.c:162: warning: implicit conversion shortens 64-bit value
into a 32-bit value
./enc/utf_32le.c: In function ‘utf32le_left_adjust_char_head’:
./enc/utf_32le.c:162: warning: implicit conversion shortens 64-bit value
into a 32-bit value
dbm.c: In function ‘fdbm_key’:
dbm.c:215: warning: comparison between signed and unsigned
dbm.c: In function ‘fdbm_delete_if’:
dbm.c:365: warning: implicit conversion shortens 64-bit value into a
32-bit value
dbm.c: In function ‘fdbm_has_value’:
dbm.c:634: warning: comparison between signed and unsigned
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not
the architecture being linked (x86_64)
collect2: ld returned 1 exit status
make[1]: *** […/…/…/.ext/x86_64-darwin10.4.0/digest/md5.bundle] Error
1
make: *** [mkmain.sh] Error 1
[2010-10-12 21:34:16] make
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not
the architecture being linked (x86_64)
collect2: ld returned 1 exit status
make[1]: *** […/…/…/.ext/x86_64-darwin10.4.0/digest/md5.bundle] Error
1
make: *** [mkmain.sh] Error 1

To anyone else searching the web with this problem, I found the
solution:

Due to macports shenanigans, I had two versions of libz installed, one
compiled in 32 bits. Deleting the 32 bit version (the one mentioned in
my error logs) solved the problem. You may have to reinstall libz after
doing the deleting.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs