Project

General

Profile

Actions

Bug #11866

closed

(mingw32) Cannot install or update io-console

Added by thany (Martijn Saly) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32]
[ruby-core:72453]

Description

gem update fails because it tries to update io-console, which cannot update (or install) itself.

Here's the full output:

λ gem install io-console
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing io-console:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4
C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20151223-1500-1scn961.rb extconf.rb
creating Makefile

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/io-console-0.4.4/mkmf.log

current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4
make "DESTDIR=" clean

current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4
make "DESTDIR="
generating console-x64-mingw32.def
compiling console.c
console.c:710:24: fatal error: win32_vk.inc: No such file or directory
compilation terminated.
make: *** [console.o] Error 1

make failed, exit code 2

Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/io-console-0.4.4 for inspection.
Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/io-console-0.4.4/gem_make.out

The log file mentioned will be attached.

This is on Windows 10 x64, using the latest found RubyInstaller 2.2.3-x64. Gem is at version 2.5.1.


Files

mkmf.log (1.63 KB) mkmf.log thany (Martijn Saly), 12/23/2015 09:53 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0