2011-01-28 37 views
0

我從源代碼構建FXRuby時遇到問題。以下是我所做的步驟。從Linux上的源代碼構建FXRuby時出錯

  1. 下載從http://rubyforge.org/frs/?group_id=300&release_id=41247源,點擊FXRuby-1.6.19.tar.gz。

  2. 提取文件

    $焦油xzf FXRuby-1.6.19.tar.gz

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

謝謝。

回答