0

ソースから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の指示に従ってください

    $ cdFXRuby-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を確認しましたが、このディレクトリのファイルが見つかりませんでした。それはどこにありますか?Ubuntu10.04を使用しています。

ありがとうございました。

4

1 に答える 1

0

Sambath、FOXをまだインストールしていないか、非標準の場所にインストールしたようです。前者だと思います。Ubuntuシステムでビルド環境(FOXを含む)をセットアップする方法については、 https://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environmentの手順を参照してください。

于 2011-01-28T16:31:20.157 に答える