OSX狮子时,Xcode 4.2,GCC 4.2安装bson_ext宝石OSX狮子
我收到以下错误安装bson_ext 1.4.1
Building native extensions. This could take a while...
ERROR: Error installing bson_ext:
ERROR: Failed to build gem native extension.
/Users/user/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for asprintf()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
你有没有安装开发工具? – wrdevos
同样的问题在这里。 1.4.0工作没有任何问题。 – Matt
是的,我最近安装了Xcode 4.2。是否有单独的开发人员工具软件包? – chourobin