From: Lyle Johnson Date: 2008-04-13T01:01:30+09:00 Subject: Re: fxruby gem install problem On Sat, Apr 12, 2008 at 3:55 AM, Tom Cloyd wrote: > [1] I'm feeling rather defeated here. Four attempts - same result in all > cases. I'm trying everything I can think of, to no avail. I'm running on > Kubuntu Linux 7.10 (most current version). Sorry for the length of this - > didn't want to leave out anything important: > ATTEMPT TO INSTALL FROM LOCAL DOWNLOAD: > $ sudo gem install '/home/tom/Desktop/fxruby-1.6.14.gem' > Building native extensions. This could take a while... > ERROR: While executing gem ... (RuntimeError) > Error instaling /home/tom/Desktop/fxruby-1.6.14.gem: > ERROR: Failed to build gem native extension.... > extconf.rb:31:in `find_installed_fox_version': couldn't find FOX header > files (RuntimeError) > from extconf.rb:183 This error (which, unfortunately, is very vague) is indicating that it couldn't find an installation of FOX on your computer. FXRuby is just a Ruby layer on top of FOX, and so you need to have FOX installed before you can even attempt to install FXRuby. Since you're running Ubuntu Linux, you should be able to just install FOX from a package: sudo apt-get install libfox-1.6-dev Note that the "universe" component of the Ubuntu software repository will need to be enabled in order for apt-get to find the "libfox-1.6-dev" package. Once FOX is installed, you should be able to install the FXRuby gem as before. I don't know why you're unable to "see" the FXRuby gems in the RubyForge gems repository; it suggests that there's some configuration error, but I don't know what it is. Hope this helps, Lyle P.S. You might want to follow-up on the fxruby-users mailing list at some point; sometimes FXRuby questions can get lost in the shuffle here due to the high volume of messages on ruby-talk!