Skip to content

Instantly share code, notes, and snippets.

@takuyan
Created January 26, 2011 11:48
Show Gist options
  • Save takuyan/796595 to your computer and use it in GitHub Desktop.
Save takuyan/796595 to your computer and use it in GitHub Desktop.
gem install spork
$ gem install spork
Building native extensions. This could take a while...
ERROR: Error installing spork:
ERROR: Failed to build gem native extension.
c:/ruby187/bin/ruby.exe mkrf_conf.rb
Actually, there aren't any native extensions. I'm just dynamically installing de
pendencies based off of your operating system
installing windows dependencies
Failed to install necessary dependency gem win32-process: ERROR: Failed to build
gem native extension.
c:/ruby187/bin/ruby.exe extconf.rb
checking for strncpy_s()... no
creating Makefile
nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cl -nologo -I. -I. -Ic:/ruby187/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -
O2b2xg- -G6 -c -Tcwin32/api.c
cl : コマンド ライン warning D9035 : オプション 'Og-' の使用は現在推奨されていま
せん。今後のバージョンからは削除されます。
cl : コマンド ライン warning D9002 : 不明なオプション '-G6' を無視します
api.c
c:\ruby187\lib\ruby\1.8\i386-mswin32\config.h(2) : fatal error C1189: #error :
MSC version unmatch: _MSC_VER: 1200 is expected.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
Gem files will remain installed in c:/ruby187/lib/ruby/gems/1.8/gems/win32-api-1
.4.8 for inspection.
Results logged to c:/ruby187/lib/ruby/gems/1.8/gems/win32-api-1.4.8/ext/gem_make
.out
Building native extensions. This could take a while...
Gem files will remain installed in c:/ruby187/lib/ruby/gems/1.8/gems/spork-0.8.4
for inspection.
Results logged to c:/ruby187/lib/ruby/gems/1.8/gems/spork-0.8.4/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment