【发布时间】:2011-06-17 01:19:41
【问题描述】:
我在从源代码构建 FXRuby 时遇到问题。以下是我执行的步骤。
从http://rubyforge.org/frs/?group_id=300&release_id=41247下载源码,点击FXRuby-1.6.19.tar.gz。
-
解压文件
$ tar xzf FXRuby-1.6.19.tar.gz
-
按照 doc/build.html
中的说明进行操作$ cd FXRuby-1.6.19
$ ruby install.rb 配置 -- \ --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。
谢谢。
【问题讨论】:
标签: ubuntu-10.04 fxruby