Hi, I''m using ruby on my laptop with Ubuntu and since this distribution has ruby 1.8.3 I''ve installed for my user ruby 1.8.4 in $HOME/local. I want to use fxri and then I''ve installed fox from Ubuntu and fxruby and fxri from gem without problem. Now I''d like to use mondrian or freeride and I''ve seen that for that I must recompile fxruby with fxscintilla. In Ubuntu I haven''t found both scintilla and fxscintilla and then I''ve recompiled them and installed in $HOME/local. When I recompile fxruby with the following command: ~/local/lib/ruby/gems/cache$ gem install fxruby-1.2.6.gem --force -- --with-fxscintilla-include=~/local/include/fxscintilla --with-fxscintilla-lib=~/local/lib I''ve the following error: Attempting local installation of ''fxruby-1.2.6.gem'' Building native extensions. This could take a while... In file included from core_wrap.cpp:584: include/FXRbCommon.h:83:23: error: Scintilla.h: No such file or directory include/FXRbCommon.h:84:25: error: FXScintilla.h: No such file or directory I''ve tried to put the scintilla files .h in serveral places: - $HOME/local/include/scintilla - $HOME/local/include/fxscintilla - $HOME/local/include - /usr/include/scintilla but the problem remains, any solution? Thanks. Giannandrea
On Mar 3, 2006, at 7:10 AM, Giannandrea Castaldi wrote:> Now I''d like to use mondrian or freeride and I''ve seen that for that I > must recompile fxruby with fxscintilla. In Ubuntu I haven''t found both > scintilla and fxscintilla and then I''ve recompiled them and installed > in $HOME/local. When I recompile fxruby with the following command: > ~/local/lib/ruby/gems/cache$ gem install fxruby-1.2.6.gem --force -- > --with-fxscintilla-include=~/local/include/fxscintilla > --with-fxscintilla-lib=~/local/libI don''t know if this will make a difference, but what if you specify the full path to those directories, i.e. gem install fxruby-1.2.6.gem -- --with-fxscintilla-include=/home/fred/local/include/fxscintilla --with-fxscintilla-lib=/home/fred/local/lib I just tried a quick test with the FXScintilla files installed non-standard places and it worked OK. Hope this helps, Lyle