[fxruby-users] install.rb:655:in `command': system("make") failed (RuntimeError)

GatoLinux gatolinux at gmail.com
Fri Feb 13 13:53:19 EST 2009


Hello!


I used this command:


ruby install.rb config -- \ --with-fox-include=/opt/fox-1.6.35/include/
--with-fox-lib=/opt/fox-1.6.35/lib/

to configure FXRuby; then, I ran:

ruby install.rb setup followed by ruby install.rb install

but I got this installation error:


In file included from include/FXRuby.h:825,
                 from include/FXRbCommon.h:93,
                 from ui_wrap.cpp:584:
include/inlinestubs.h: In function `void FXApp_init(FX::FXApp*, VALUE,
bool)':
include/inlinestubs.h:20: error: `RARRAY_LEN' was not declared in this scope
ui_wrap.cpp: In function `void
FXFileSelector_setPatternList(FX::FXFileSelector*, VALUE)':
ui_wrap.cpp:1016: error: `RARRAY_LEN' was not declared in this scope
ui_wrap.cpp: In function `VALUE _wrap_FXComboBox_fillItems(int, VALUE*,
VALUE)':
ui_wrap.cpp:4979: error: `RARRAY_LEN' was not declared in this scope
ui_wrap.cpp: In function `VALUE _wrap_FXListBox_fillItems(int, VALUE*,
VALUE)':
ui_wrap.cpp:5444: error: `RARRAY_LEN' was not declared in this scope
ui_wrap.cpp: In function `VALUE _wrap_FXTreeListBox_fillItems(int, VALUE*,
VALUE)':
ui_wrap.cpp:5903: error: `RARRAY_LEN' was not declared in this scope
make: *** [ui_wrap.o] Error 1
install.rb:655:in `command': system("make") failed (RuntimeError)
        from install.rb:664:in `make'
        from install.rb:1258:in `setup_dir_ext'
        from install.rb:1532:in `traverse'
        from install.rb:1549:in `dive_into'
        from install.rb:1530:in `traverse'
        from install.rb:1534:in `traverse'
        from install.rb:1533:in `traverse'
        from install.rb:1549:in `dive_into'
        from install.rb:1530:in `traverse'
        from install.rb:1524:in `exec_task_traverse'
        from install.rb:1519:in `exec_task_traverse'
        from install.rb:1246:in `exec_setup'
        from install.rb:996:in `exec_setup'
        from install.rb:826:in `invoke'
        from install.rb:773:in `invoke'
        from install.rb:1578

So, I was unable to install FXRuby (version 1.6.13) from its sources.

Can you give me any clue to fix this issue?

I am running Slackware 11.0 with fox-1.6.35


Regards,



GatoLinux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090213/a0f640db/attachment.html>


More information about the fxruby-users mailing list