[fxruby-users] Fxruby 1.6.11 installation error

Lyle Johnson lyle.johnson at gmail.com
Sat Jul 28 15:57:42 EDT 2007


On Jul 28, 2007, at 9:00 AM, Luca Peduto wrote:

> I'm trying to install fxruby 1.6.11 on my machine, but I obtain  
> this error:

<snip>

> In file included from /usr/lib/ruby/1.8/i686-linux/ruby.h:719,
>                  from ui_wrap.cpp:33:
> /usr/lib/ruby/1.8/i686-linux/intern.h:207: error: use of enum
> 'rb_thread_status' without previous declaration
> /usr/lib/ruby/1.8/i686-linux/intern.h:207: error: invalid type in
> declaration before ';' token
> 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: warning: deprecated conversion from string
> constant to 'char*'
> make: *** [ui_wrap.o] Error 1

This is a known bug in Ruby 1.8.6-p36; see the ruby-core thread that  
begins here:

	http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/11499

The bug is allegedly fixed in the Subversion repository for 1.8.6, so  
you can either downgrade to 1.8.6 (the original release, a.k.a. patch  
level 0) or check out the latest code from the 1.8.6 branch and use  
that.


More information about the fxruby-users mailing list