Actions
Bug #11866
closed(mingw32) Cannot install or update io-console
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
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Description updated (diff)
- Status changed from Open to Feedback
Sorry, some files are missing.
Could you try http://www.rubyist.net/~nobu/ruby/io-console-0.4.4.gem ?
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Status changed from Feedback to Closed
Applied in changeset r53266.
io/console: fix gem build failure on Windows
- ext/io/console/extconf.rb: fix gem build failure on Windows.
only win32_vk.inc is included in the gem and no dependencies for
the header, so that gperf will not be mandatory.
[ruby-core:72453] [Bug #11866] - ext/io/console/io-console.gemspec: include depend file and
win32_vk header.
Updated by usa (Usaku NAKAMURA) almost 9 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED
Actions
Like0
Like0Like0Like0