RVM/rbenv RVM Mac Xcode 4.1 make 出错

odie · 2012年03月10日 · 最后由 AlphaLiu 回复于 2012年03月10日 · 3278 次阅读
CC = clang
        LD = ld
        LDSHARED = clang -dynamiclib
        CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-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. -I.ext/include/x86_64-darwin11.0.0 -I./include -I.
        DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/qianlion/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_*  -Wl,-u,_objc_msgSend
        SOLIBS =
linking miniruby
<internal:prelude>:1: [BUG] Bus Error
ruby 1.9.3p125 (2012-02-16 revision 34643) [universal.x86_64-darwin11.0.0]


Error running 'make ', please read /Users/qianlion/.rvm/log/ruby-1.9.3-p125/make.log There has been an error while running make. Halting the installation.

我不知道你什么错误,按照提示去看那个/Users/qianlion/.rvm/log/ruby-1.9.3-p125/make.log 吧。下面这个帖子跟你类似了。http://ruby-china.org/topics/1740

需要 登录 后方可回复, 如果你还没有账号请 注册新账号