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: 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
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).