From: Jim Freeze Date: 2002-07-22T20:22:36+09:00 Subject: Re: FXRuby-1.0.11 install make failed On Mon, Jul 22, 2002 at 07:30:35PM +0900, Curt Hibbs wrote: > Jim Freeze wrote: > > > The problem is in the Ruby header files. The FXRuby build instructions (I > believe that is in chapter 2 of the FXRUby users guide) discuss things that > can go wrong with the FXRuby build and what to do about it. Your problem is > mentioned their, along with the solution. > Hmmm, maybe you can explain. I did not change the ruby header files but changed two fxruby files: FXRuby.h ----From--- id FXRbGcMark(void *obj){ if(obj){ VALUE value=FXRbGetRubyObj(obj); // only search FXRuby_ObjMap! if(value!=Qnil){ #if RUBY_VERSION_CODE < 172 rb_gc_mark(reinterpret_cast(value)); #else rb_gc_mark(value); #endif } } } ----To--- id FXRbGcMark(void *obj){ if(obj){ VALUE value=FXRbGetRubyObj(obj); // only search FXRuby_ObjMap! if(value!=Qnil){ #if RUBY_VERSION_CODE < 172 rb_gc_mark(value); #else rb_gc_mark(value); #endif } } } ----- I am using 1.6.7. Maybe I should have changed ' < 172' to ' < 167'? markfuncs.cpp ----From--- #if RUBY_VERSION_CODE < 172 #define MARK(p) rb_gc_mark(reinterpret_cast((p))) #else #define MARK(p) rb_gc_mark(reinterpret_cast((p))) #endif ----To----- #if RUBY_VERSION_CODE < 172 #define MARK(p) rb_gc_mark(reinterpret_cast((p))) #else #define MARK(p) rb_gc_mark(reinterpret_cast((p))) #endif ----------- Again, I could have changed the test from 172 to 167. My question is, why are these tests for 172 and not against 167? Thanks -- Jim Freeze If only I had something clever to say for my comment... ~