![](/img/trans.png)
[英]Cocoapods installing error mkmf.rb can't find header files for ruby
[英]error installing thrift: can't find header files for ruby
我打算在我的機器( linux - Fedora release 11
)上安裝thrift 0.6.1
。 在'make'之后,我得到以下錯誤:
/usr/bin/ruby /root/thrift-0.6.1/lib/rb/ext/extconf.rb
can't find header files for ruby.
setup.rb:655:in `command': system("/usr/bin/ruby" "/root/thrift-0.6.1/lib/rb/ext/extconf.rb") failed (RuntimeError)
我已經安裝了ruby ( 2.0.0-p353)
。 任何建議是什么原因造成的
謝謝
您可能需要安裝ruby-devel
。 順便說一句,Fedora 11 確實很老。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.