[英]error installing thrift: can't find header files for ruby
I am tying to install thrift 0.6.1
on my machine ( linux - Fedora release 11
). 我打算在我的机器(
linux - Fedora release 11
)上安装thrift 0.6.1
。 After 'make', I get following error : 在'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)
I have ruby ( 2.0.0-p353)
installed. 我已经安装了
ruby ( 2.0.0-p353)
。 Any suggestions what is causing this 任何建议是什么原因造成的
Thanks 谢谢
You probably need to install ruby-devel
. 您可能需要安装
ruby-devel
。 By the way, Fedora 11 is really old. 顺便说一句,Fedora 11 确实很老。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.