From: Tom Cloyd Date: 2008-04-12T17:55:26+09:00 Subject: Re: fxruby gem install problem Thanks, Phillip. Please see comments below... Phillip Gawlowski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tom Cloyd wrote: > | I'm trying to install the most recent fxruby gem - I don't understand > | what's happening: > | > | sudo gem install fxruby-1.6.14.gem ERROR: While executing gem ... > | (Gem::GemNotFoundException) > | Could not find fxruby-1.6.14.gem (> 0) in any repository > | > | That makes no > | sense to me. I got that version number from output of the 'gem list -r > | -d' command, to wit: > > My workaround: > > http://gems.rubyforge.org/ contains a link to the gems themselves, and > you can simply download them from there. > > 'gem install /download/location/thegem-1.1.1.gem' will install them. Please see note [1] below. > > You might have to fetch the dependencies yourself, though. And how would I know what those are? > > Be careful to grab the gem appropriate for your OS. ;) > > N.B.: I just downloaded the BlueCloth gem via 'gem install BlueCloth'. > > It is possible the mirror you hit is currently synching its repository > against RubyForge, or otherwise not able to server files. > > - -- > Phillip Gawlowski > Twitter: twitter.com/cynicalryan > > ~ - You know you've been hacking too long when... > ...your children do something they shouldn't do, you tell them to stop, > they do it just once more anyway, so you think "Well, they prefetched > the instruction and are executing it in the delay slot." > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkgAaVMACgkQbtAgaoJTgL/qGwCeKC+N0A3guBBw9N39fVnpEhDF > NpkAoKHvuRxPb85PE3XUEZnKrxQy1i2X > =IJ4g > -----END PGP SIGNATURE----- > > [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 REMOTE LOCATION: [a] $ sudo gem install 'http://rubyforge.rubyuser.de/gems/fxruby-1.6.14.gem' [sudo] password for tom: ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find http://rubyforge.rubyuser.de/gems/fxruby-1.6.14.gem (> 0) in any repository [b] $ sudo gem install 'rubyforge.rubyuser.de/gems/fxruby-1.6.14.gem' ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rubyforge.rubyuser.de/gems/fxruby-1.6.14.gem (> 0) in any repository [c] $ sudo gem install '/download/rubyforge.rubyuser.de/gems/fxruby-1.6.14.gem' ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find /download/rubyforge.rubyuser.de/gems/fxruby-1.6.14.gem (> 0) in any repository tom@tomcloyd-desktop:/var/lib/gems/1.8/gems$ 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. ruby extconf.rb install /home/tom/Desktop/fxruby-1.6.14.gem *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-fox-dir --without-fox-dir --with-fox-include --without-fox-include=${fox-dir}/include --with-fox-lib --without-fox-lib=${fox-dir}/lib --with-fxscintilla-dir --without-fxscintilla-dir --with-fxscintilla-include --without-fxscintilla-include=${fxscintilla-dir}/include --with-fxscintilla-lib --without-fxscintilla-lib=${fxscintilla-dir}/lib extconf.rb:31:in `find_installed_fox_version': couldn't find FOX header files (RuntimeError) from extconf.rb:183 COMMENT: "Fox header files" - Sorry, but I'm not a C programmer, or whatever. "header files" means almost nothing to me, and I don't know how to respond to this. The "Check the mkmf.log file for more details" reference is obscure - where IS that file? I looked several places for it, and have yet to find it. Any an all help offered will be much appreciated. Thanks, t. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Cloyd, MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << tc@tomcloyd.com >> (email) << TomCloyd.com >> (website & psychotherapy weblog) << sleightmind.wordpress.com >> (mental health issues weblog) << directpathdesign.com >> (web site design & consultation) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~