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:
fxruby (1.6.14, 1.6.13, 1.6.12, 1.6.11, 1.6.10, 1.6.9, 1.6.8, 1.6.7,
1.6.6, 1.6.5, 1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6.0, 1.4.7, 1.4.6, 1.4.5,
1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2,
1.2.1)
FXRuby is the Ruby binding to the FOX GUI toolkit
So, gem list can find it, but gem install cannot? Huh?
Would appreciate any help. Thank!
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)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
on 2008-04-12 09:31
on 2008-04-12 09:49
-----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. You might have to fetch the dependencies yourself, though. 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-----
on 2008-04-12 10:56
Thanks, Phillip. Please see comments below... Phillip Gawlowski wrote: > | > | 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? > Twitter: twitter.com/cynicalryan > 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
on 2008-04-12 18:02
On Sat, Apr 12, 2008 at 3:55 AM, Tom Cloyd <tomcloyd@comcast.net> 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: <snip> > 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.... <snip> > 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!
on 2008-04-12 18:54
On 12/04/2008, Tom Cloyd <tomcloyd@comcast.net> 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 sudo gem install fxruby is the correct way to install the latest release of the fxruby gem.
on 2008-04-12 19:05
On Apr 12, 4:31 am, Tom Cloyd <tomcl...@comcast.net> wrote:
>
This may sounds silly, but did you tried this:
gem install fxruby -v '1.6.14'
or even better, no version at all?
gem install fxruby
What is the output of that command, also, what version of rubygems are
you using? (gem env).
Issue a complete filename only works with gem stored in your harddisk
in your current directory. Also from your other tests, http URIs will
not work either, since rubygems only download stuff from gems servers,
is not wget or curl.
HTH,
on 2012-11-16 00:26
Lyle Johnson wrote in post #659639: >> 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 This is right on the money. I had a feeling there was some prerequisite that fxruby required, but not knowing anything about it and not being a Linux guru, I had no idea what to look for. Thanks, Lyle! You've helped me resolve a problem that's been bothering me for several days now. -- The Beerslayer
on 2012-11-16 01:06
Thomas Preymesser wrote in post #659654: > On 12/04/2008, Tom Cloyd <tomcloyd@comcast.net> 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 > > > sudo gem install fxruby > > is the correct way to install the latest release of the fxruby gem. This is the right thing to do if you want the latest version. This is not related with the instalation but consider install the DevKit. Since FXruby is builded on top of C++ code meaby it requires the DevKit installed for work, meaby the OS that you use bring it, don't know, I use Windows. Here's the link for DevKit http://rubyinstaller.org/add-ons/devkit/
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.