致命错误:ruby / config.h:没有这样的文件或目录

时间:2013-02-03 10:45:50

标签: ruby qt qt4 fedora korundum

我正在尝试在fedora 17上安装korundum。在$ make阶段我遇到了以下错误:

In file included from /usr/include/ruby.h:32:0,
                 from Qt.cpp:49:
/usr/include/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
compilation terminated.
make[5]: *** [Qt.lo] Error 1
make[5]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib/qtruby'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib/qtruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/n/Downloads/korundum-3.5.5'
make: *** [all] Error 2

怎样才能解决这个问题?我在失去理智。

1 个答案:

答案 0 :(得分:0)

错误消息表明您需要安装ruby dev文件,但没有安装它们。