fxruby on cygwin...so close

B

bwv549

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:in `requi
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?
 
L

Lyle Johnson

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

make clean

<snip>

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,144
Latest member
KetoBaseReviews
Top