Fxruby on cygwin...so close

So, after some trial and error I got the fox toolkit to compile under
cygwin using these configuration options:

./configure --without-xcursor --disable-shared --without-xrandr
make && make install

I install fxruby with the usual 'gem install fxruby (choosing ‘ruby
1.6.11’. It gives one warning (which I don’t think is significant):
cc1: warning: command line option “-fpermissive” is valid for C++/
ObjC++ but not for C

It compiles happily, says it is install on the system:
make install
make: Nothing to be done for `install’.

make clean
Successfully installed fxruby-1.6.11
Installing ri documentation for fxruby-1.6.11...
Installing RDoc documentation for fxruby-1.6.11...

Then, when I go to use it in irb, I get this:
irb(main):001:0> require ‘fox16’
LoadError: no such file to load – fox16
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 27:inrequi
re’ from (irb):1

So, it appears that everything installs correctly, but the actual
fox16 file to require is missing somehow. I am setup to use rubygems
(echo $RUBYOPT # -> rubygems).

Any ideas?

On 5/17/07, bwv549 [email protected] wrote:

It compiles happily, says it is install on the system:
make install
make: Nothing to be done for `install’.

make clean

There’s your trouble. There was a bug in RubyGems (which has since
been fixed) that caused it to immediately clobber compiled extensions
(“make clean”) after it finished building them.

Update to the latest RubyGems and you should be good to go.