Trouble installing 1.9.2

Discussion in 'Ruby' started by Raul Jara, Oct 13, 2010.

  1. Raul Jara

    Raul Jara Guest

    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 =E2=80=98file_expand_path=E2=80=99:
    file.c:2844: warning: =E2=80=98b=E2=80=99 may be used uninitialized in th=
    is function
    regcomp.c: In function =E2=80=98add_compile_string_length=E2=80=99:
    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 =E2=80=98compile_string_raw_node=E2=80=99:
    regcomp.c:550: warning: implicit conversion shortens 64-bit value into a
    32-bit value
    regcomp.c: In function =E2=80=98get_char_length_tree1=E2=80=99:
    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 =E2=80=98is_not_included=E2=80=99:
    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 =E2=80=98update_string_node_case_fold=E2=80=99:
    regcomp.c:3226: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98setup_tree=E2=80=99:
    regcomp.c:3796: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98set_bm_skip=E2=80=99:
    regcomp.c:3936: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98distance_value=E2=80=99:
    regcomp.c:4051: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98concat_left_node_opt_info=E2=80=99:
    regcomp.c:4534: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98optimize_node_left=E2=80=99:
    regcomp.c:4612: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98set_optimize_exact_info=E2=80=99:
    regcomp.c:4951: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98set_optimize_map_info=E2=80=99:
    regcomp.c:4970: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98onig_compile=E2=80=99:
    regcomp.c:5328: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98onig_is_code_in_cc_len=E2=80=99:
    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 =E2=80=98match_at=E2=80=99:
    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 =E2=80=98bm_search_notrev=E2=80=99:
    regexec.c:2906: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regexec.c: In function =E2=80=98set_bm_backward_skip=E2=80=99:
    regexec.c:2997: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regexec.c: In function =E2=80=98onig_search=E2=80=99:
    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 =E2=80=98node_new_cclass_by_codepoint_range=E2=80=
    =99:
    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 =E2=80=98onig_node_str_cat=E2=80=99:
    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 =E2=80=98add_ctype_to_cc_by_range=E2=80=99:
    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 =E2=80=98i_apply_case_fold=E2=80=99:
    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 =E2=80=98calc_tm_yday=E2=80=99:
    time.c:969: warning: implicit conversion shortens 64-bit value into a
    32-bit value
    /enc/emacs_mule.c: In function =E2=80=98code_to_mbc=E2=80=99:
    /enc/emacs_mule.c:267: warning: implicit conversion shortens 64-bit
    value into a 32-bit value
    /enc/euc_jp.c: In function =E2=80=98code_to_mbc=E2=80=99:
    /enc/euc_jp.c:196: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/euc_jp.c: In function =E2=80=98property_name_to_ctype=E2=80=99:
    /enc/euc_jp.c:296: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/shift_jis.c: In function =E2=80=98code_to_mbc=E2=80=99:
    /enc/shift_jis.c:178: warning: implicit conversion shortens 64-bit
    value into a 32-bit value
    /enc/utf_16le.c: In function =E2=80=98utf16le_mbc_enc_len=E2=80=99:
    /enc/utf_16le.c:59: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/utf_32be.c: In function =E2=80=98utf32be_left_adjust_char_head=E2=80=
    =99:
    /enc/utf_32be.c:162: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/utf_32le.c: In function =E2=80=98utf32le_left_adjust_char_head=E2=80=
    =99:
    /enc/utf_32le.c:162: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    dbm.c: In function =E2=80=98fdbm_key=E2=80=99:
    dbm.c:215: warning: comparison between signed and unsigned
    dbm.c: In function =E2=80=98fdbm_delete_if=E2=80=99:
    dbm.c:365: warning: implicit conversion shortens 64-bit value into a
    32-bit value
    dbm.c: In function =E2=80=98fdbm_has_value=E2=80=99:
    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 =E2=80=98file_expand_path=E2=80=99:
    file.c:2844: warning: =E2=80=98b=E2=80=99 may be used uninitialized in th=
    is function
    regcomp.c: In function =E2=80=98add_compile_string_length=E2=80=99:
    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 =E2=80=98compile_string_raw_node=E2=80=99:
    regcomp.c:550: warning: implicit conversion shortens 64-bit value into a
    32-bit value
    regcomp.c: In function =E2=80=98get_char_length_tree1=E2=80=99:
    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 =E2=80=98is_not_included=E2=80=99:
    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 =E2=80=98update_string_node_case_fold=E2=80=99:
    regcomp.c:3226: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98setup_tree=E2=80=99:
    regcomp.c:3796: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98set_bm_skip=E2=80=99:
    regcomp.c:3936: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98distance_value=E2=80=99:
    regcomp.c:4051: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98concat_left_node_opt_info=E2=80=99:
    regcomp.c:4534: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98optimize_node_left=E2=80=99:
    regcomp.c:4612: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98set_optimize_exact_info=E2=80=99:
    regcomp.c:4951: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98set_optimize_map_info=E2=80=99:
    regcomp.c:4970: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98onig_compile=E2=80=99:
    regcomp.c:5328: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regcomp.c: In function =E2=80=98onig_is_code_in_cc_len=E2=80=99:
    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 =E2=80=98match_at=E2=80=99:
    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 =E2=80=98bm_search_notrev=E2=80=99:
    regexec.c:2906: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regexec.c: In function =E2=80=98set_bm_backward_skip=E2=80=99:
    regexec.c:2997: warning: implicit conversion shortens 64-bit value into
    a 32-bit value
    regexec.c: In function =E2=80=98onig_search=E2=80=99:
    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 =E2=80=98node_new_cclass_by_codepoint_range=E2=80=
    =99:
    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 =E2=80=98onig_node_str_cat=E2=80=99:
    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 =E2=80=98add_ctype_to_cc_by_range=E2=80=99:
    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 =E2=80=98i_apply_case_fold=E2=80=99:
    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 =E2=80=98calc_tm_yday=E2=80=99:
    time.c:969: warning: implicit conversion shortens 64-bit value into a
    32-bit value
    /enc/emacs_mule.c: In function =E2=80=98code_to_mbc=E2=80=99:
    /enc/emacs_mule.c:267: warning: implicit conversion shortens 64-bit
    value into a 32-bit value
    /enc/euc_jp.c: In function =E2=80=98code_to_mbc=E2=80=99:
    /enc/euc_jp.c:196: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/euc_jp.c: In function =E2=80=98property_name_to_ctype=E2=80=99:
    /enc/euc_jp.c:296: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/shift_jis.c: In function =E2=80=98code_to_mbc=E2=80=99:
    /enc/shift_jis.c:178: warning: implicit conversion shortens 64-bit
    value into a 32-bit value
    /enc/utf_16le.c: In function =E2=80=98utf16le_mbc_enc_len=E2=80=99:
    /enc/utf_16le.c:59: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/utf_32be.c: In function =E2=80=98utf32be_left_adjust_char_head=E2=80=
    =99:
    /enc/utf_32be.c:162: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    /enc/utf_32le.c: In function =E2=80=98utf32le_left_adjust_char_head=E2=80=
    =99:
    /enc/utf_32le.c:162: warning: implicit conversion shortens 64-bit value
    into a 32-bit value
    dbm.c: In function =E2=80=98fdbm_key=E2=80=99:
    dbm.c:215: warning: comparison between signed and unsigned
    dbm.c: In function =E2=80=98fdbm_delete_if=E2=80=99:
    dbm.c:365: warning: implicit conversion shortens 64-bit value into a
    32-bit value
    dbm.c: In function =E2=80=98fdbm_has_value=E2=80=99:
    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

    -- =

    Posted via http://www.ruby-forum.com/.=
    Raul Jara, Oct 13, 2010
    #1
    1. Advertising

  2. Raul Jara

    Raul Jara Guest

    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.

    --
    Posted via http://www.ruby-forum.com/.
    Raul Jara, Oct 14, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stefan
    Replies:
    2
    Views:
    534
    Stefan
    Aug 11, 2004
  2. rhimbo
    Replies:
    1
    Views:
    1,624
    rhimbo
    Jan 21, 2005
  3. Tim923
    Replies:
    13
    Views:
    1,045
    Steve Horsley
    Feb 3, 2005
  4. Chris Weisiger

    Trouble installing numeric

    Chris Weisiger, Jan 30, 2005, in forum: Python
    Replies:
    4
    Views:
    382
    Kamilche
    Jan 31, 2005
  5. weston
    Replies:
    3
    Views:
    468
    Fredrik Lundh
    Apr 23, 2005
Loading...

Share This Page