我从源代码构建FXRuby时遇到问题。以下是我所做的步骤。从Linux上的源代码构建FXRuby时出错
下载从http://rubyforge.org/frs/?group_id=300&release_id=41247源,点击FXRuby-1.6.19.tar.gz。
提取文件
$焦油xzf FXRuby-1.6.19.tar.gz
按照DOC/build.html
$ CD FXRuby-1.6的指令。 19
$ ruby install.rb config - \ --with-fox-include =/home/sambath/FXRuby-1.6.19/ext/fox16/include --with-fox-lib =/home/sambath/FXRuby-1.6.19/lib/fox16
这是错误消息。
**********************************************************************
* Hey! *
* Where is FOX installed? *
* *
* I couldn't locate 'fxver.h' in any of the following directories: *
* *
* /home/sambath/FXRuby-1.6.19/ext/fox16/include
* /usr/include/fox-1.6
* /usr/local/include/fox-1.6
* /sw/include/fox-1.6
* /opt/local/include/fox-1.6
* *
* Please specify the locations for the FOX header files and library *
* using the --with-fox-include and --with-fox-lib options to *
* extconf.rb as described in the FXRuby installation instructions. *
**********************************************************************
我已经检查了目录/home/sambath/FXRuby-1.6.19/ext/fox16/include,但我无法找到该文件的这个目录。它位于哪里?我使用的是Ubuntu 10.04。
谢谢。