我在从源代码构建FXRuby时遇到了一个问题。下面是我所做的步骤。
FXRuby-1.6.19.tar.gz.
$ tar FXRuby-1.6.19.tar.gz
$1.6.19
$ ruby install.rb config -- \install.rb
这是错误消息。
**********************************************************************
* 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,,但是找不到这个目录下的文件。它在哪里?我用的是Ubuntu10.04。
谢谢。
发布于 2011-01-28 16:31:20
Sambath,听起来好像您还没有安装FOX,或者您已经将它安装在一个非标准的位置;我猜这是前者。请参阅https://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment上关于如何在Ubuntu系统上设置构建环境(包括FOX)的说明。
https://stackoverflow.com/questions/4825328
复制相似问题