【问题标题】:Error in Building FXRuby from Source on Linux在 Linux 上从源代码构建 FXRuby 时出错
【发布时间】:2011-06-17 01:19:41
【问题描述】:

我在从源代码构建 FXRuby 时遇到问题。以下是我执行的步骤。

  1. http://rubyforge.org/frs/?group_id=300&release_id=41247下载源码,点击FXRuby-1.6.19.tar.gz。

  2. 解压文件

    $ tar xzf FXRuby-1.6.19.tar.gz

  3. 按照 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


    【解决方案1】:

    Sambath,听起来您要么尚未安装 FOX,要么已将其安装在非标准位置;我猜是前者。请参阅https://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment 的说明,了解如何在 Ubuntu 系统上设置构建环境(包括 FOX)。

    【讨论】:

      猜你喜欢
      • 2019-11-10
      • 2019-02-17
      • 2020-05-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-13
      • 2015-10-22
      • 1970-01-01
      相关资源
      最近更新 更多