FXRuby on Solaris 9

Hi all,

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…
—> lib
—> lib/fox
<— lib/fox
<— lib
—> ext
—> ext/fox
gmake
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
setup failed
’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?

Thoughts?

Dan

/opt/sfw/lib/ruby/1.6/sparc-solaris2.9/intern.h:193: too many arguments to
   function `void rb_gc_mark()'

Look in doc/build.html : the paragraph

   "Things That Can Go Wrong"

explain the problem and give the solution

Guy Decoux

ts wrote:

Look in doc/build.html : the paragraph

“Things That Can Go Wrong”

explain the problem and give the solution

Thanks, Guy, for relieving me of the burden of pointing this out for the
1000th time :wink:

If for no other reason than it would save me from having to answer
this question over and over again, I wish that Matz would go ahead and
release Ruby 1.6.8. It looks like all of those broken prototypes have
been fixed in the CVS for Ruby 1.6.