Hello folks, I didn''t see this one show up on the mailing list so I''m sending it again. -Thank you- Patricio --- On Wed, 3/24/10, Patricio Aguilera <paguilera at yahoo.com> wrote:> From: Patricio Aguilera <paguilera at yahoo.com> > Subject: Error Updating fxruby gem > To: fxruby-users at rubyforge.org > Date: Wednesday, March 24, 2010, 10:54 AM > Hello, > > I''m trying to run the gem update command to update my local > gems.? When it gets to the fxruby gem, I get the > following error (note: I copied the text from the command > window): > > Updating fxruby > Building native extensions.? This could take a > while... > ERROR:? Error installing fxruby: > ? ? ? ? ERROR: Failed to build gem > native extension. > > c:/ruby/bin/ruby.exe extconf.rb > *** 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 > ? ? ? ? --srcdir=. > ? ? ? ? --curdir > ? ? ? ? --ruby=c:/ruby/bin/ruby > ? ? ? ? --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 (R > untimeError) > ? ? ? ? from extconf.rb:125 > > > Gem files will remain installed in > c:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.20 > for inspection. > Results logged to > c:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.20/ext/fox16/gem_mak > e.out > > > > I''ve also attached the gem_make.out file. > > -Thank you- > > Patricio > > > ? ? ?-------------- next part -------------- A non-text attachment was scrubbed... Name: gem_make.out Type: application/octet-stream Size: 954 bytes Desc: not available URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100325/d5dbe123/attachment-0001.obj>
On Thu, Mar 25, 2010 at 2:51 PM, Patricio Aguilera <paguilera at yahoo.com> wrote:>> Hello, >> >> I''m trying to run the gem update command to update my local >> gems.? When it gets to the fxruby gem, I get the >> following error (note: I copied the text from the command >> window): >> >> Updating fxruby >> Building native extensions.? This could take a >> while... >> ERROR:? Error installing fxruby: >> ? ? ? ? ERROR: Failed to build gem >> native extension.That''s odd. It looks like you''re running on Windows, so I don''t understand why it didn''t just select the precompiled binary gem for Windows. Which version of Ruby are you running, and from where did you download it?
--- On Thu, 3/25/10, Lyle Johnson <lyle at lylejohnson.name> wrote:> From: Lyle Johnson <lyle at lylejohnson.name> > Patricio Aguilera <paguilera at yahoo.com> > wrote: > > >> Hello, > >> > >> I''m trying to run the gem update command to update > my local > >> gems.? When it gets to the fxruby gem, I get the > >> following error (note: I copied the text from the > command > >> window): > >> > >> Updating fxruby > >> Building native extensions.? This could take a > >> while... > >> ERROR:? Error installing fxruby: > >> ? ? ? ? ERROR: Failed to build gem > >> native extension. > > That''s odd. It looks like you''re running on Windows, so I > don''t > understand why it didn''t just select the precompiled binary > gem for > Windows. Which version of Ruby are you running, and from > where did you > download it?I am running the following version: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] I pulled it some time ago from ruby-lang.org. I''ve actually been using ruby on that box for several months now and was able to install the original gem when I installed ruby after picking up the FXRuby book. Other gems have updated correctly on that system, even when I encountered this error. However, that particular box is running Windows XP Pro x64 Edition. -Thank you- Patricio
On Thu, Mar 25, 2010 at 4:15 PM, Patricio Aguilera <paguilera at yahoo.com> wrote:> I am running the following version: > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]Hmm. See what happens if you type this instead: gem update fxruby --platform x86-mingw32 As of FXRuby 1.6.20 I started building the Windows gems using the MinGW-based Ruby installer. Even though those are compatible with the "old" Ruby installer for Windows (which is what you''re running), the platform is different ("i386-mswin32" versus "i386-mingw32") and that may be why RubyGems doesn''t think it''s a match...
--- On Fri, 3/26/10, Lyle Johnson <lyle at lylejohnson.name> wrote:> > I am running the following version: > > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > Hmm. See what happens if you type this instead: > > ? ? gem update fxruby --platform x86-mingw32 > > As of FXRuby 1.6.20 I started building the Windows gems > using the > MinGW-based Ruby installer. Even though those are > compatible with the > "old" Ruby installer for Windows (which is what you''re > running), the > platform is different ("i386-mswin32" versus > "i386-mingw32") and that > may be why RubyGems doesn''t think it''s a match...Hi Lyle, That appears to have done the trick:>gem update fxruby --platform x86-mingw32Updating installed gems Updating fxruby Successfully installed fxruby-1.6.20-x86-mingw32 Gems updated: fxruby Installing ri documentation for fxruby-1.6.20-x86-mingw32... Installing RDoc documentation for fxruby-1.6.20-x86-mingw32... Thank you for your help. -Thank you- Patricio