Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
安装thrift时出错:找不到ruby的头文件_Ruby_Linux_Fedora_Thrift - Fatal编程技术网

安装thrift时出错:找不到ruby的头文件

安装thrift时出错:找不到ruby的头文件,ruby,linux,fedora,thrift,Ruby,Linux,Fedora,Thrift,我打算在我的机器linux-Fedora11版上安装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 (R

我打算在我的机器linux-Fedora11版上安装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真的很旧了。

节俭0.6.1也很旧了-