我正在使用:
我正在运行以下命令,它会愉快地安装宝石,直到在thrift崩溃:
/usr/local/rvm/bin/rvm ruby-1.9.3-p362 exec bundle install
产生错误:
Installing thrift (0.7.0)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p362/bin/ruby extconf.rb
checking for strlcpy() in string.h... no
creating Makefile
make
compiling compact_protocol.c
compiling struct.c
struct.c:28:1: error: static declaration of ‘strlcpy’ follows non-static declaration
/usr/local/rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/missing.h:198:20: note: previous declaration of ‘strlcpy’ was here
make: *** [struct.o] Error 1
我可以看到关于这个主题的很多讨论,但是,没有真正的解决方案 - 任何帮助将不胜感激。
由于