Jim Freeze wrote: > > Hi: > > I just installed fox-1.0.11 via ports on FreeBSD and > all worked will. I then downloaded FXRuby-1.0.11 from > sourceforge and installed but it soon failed with > the error listed below: > > c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. > -I/usr/local/lib/ruby/1.6/i386-freebsd4 > -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox > -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include > -I/usr/local/include/fox -c -o FXRuby.o FXRuby.cpp > FXRuby.cpp: In function `void FXRbGcMark(void *)': > FXRuby.cpp:186: passing `void *' to argument 1 of > `rb_gc_mark(long unsigned int)' lacks a cast > *** Error code 1 > > Stop in /usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox. > setup failed > 'system make' failed > try 'ruby install.rb --help' for usage > > > Can someone tell me why this failed. > > Thanks 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. Regards, Curt