FXRuby 1.0.12, Ruby 1.6.7 on Solaris 9
I tried posting this to the fox users mailing list, but my email never made it somehow so I’m posting here.
Last time around, I was getting this message:
make: Fatal error: Don’t know how to make target `core_wrap.o’
With the latest release of FXRuby, I decided to try again. The result was the same.
But then I had an idea. I went into the install.rb file and replaced all instances of "make"
with “gmake”, since that’s how I had built FOX (IIRC).
This got me a bit further, but now I’m getting other complaints:
root-/usr/local/FXRuby-1.0.12-526>/usr/bin/ruby install.rb setup
install.rb: entering setup phase…
g++ -fPIC -g -O2 -O0 -Iinclude -I. -I/opt/sfw/lib/ruby/1.6/sparc-solaris2.9
-I/usr/local/FXRuby-1.0.12/ext/fox -I/opt/sfw/include -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H
-I/usr/local/include -I/usr/local/include/fox -c -o FXRuby.o FXRuby.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
/opt/sfw/lib/ruby/1.6/sparc-solaris2.9/intern.h: In function
void FXRbGcMark(void*)': /opt/sfw/lib/ruby/1.6/sparc-solaris2.9/intern.h:193: too many arguments to functionvoid rb_gc_mark()‘
FXRuby.cpp:192: at this point in file
gmake: *** [FXRuby.o] Error 1
’system gmake’ failed
try ‘ruby install.rb --help’ for usage
Looking at intern.h, it doesn’t appear that rb_gc_mark takes any args. Or am I looking in the wrong place?