Maher4Ever / wdm

Windows Directory Monitor (WDM) is a threaded directories monitor for Windows.
https://rubygems.org/gems/wdm
MIT License
51 stars 15 forks source link

Windows 10 X64 Ruby 2.0.0p598 fail to install #21

Open Sophiai opened 9 years ago

Sophiai commented 9 years ago

Can someone help me ? after I run 'gem install wdm'

Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... checking for main() in -lkernel32... "gcc -o conftest.exe -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -Lf:/2015RailsInstaller/Ruby2.0.0/lib -L. -lmsvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi " "gcc -o conftest.exe -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -Lf:/2015RailsInstaller/Ruby2.0.0/lib -L. -lmsvcrt-ruby200 -lkernel32 -lshell32 -lws2_32 -limagehlp -lshlwapi " conftest.c: In function 't': conftest.c:8:57: error: 'main' undeclared (first use in this function) conftest.c:8:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:8:32: warning: variable 'p' set but not used [-Wunused-but-set-variable] "gcc -o conftest.exe -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -Lf:/2015RailsInstaller/Ruby2.0.0/lib -L. -lmsvcrt-ruby200 -lkernel32 -lshell32 -lws2_32 -limagehlp -lshlwapi " conftest.c: In function 't': conftest.c:8:1: warning: implicit declaration of function 'main' [-Wimplicit-function-declaration] yes checking for windows.h... "gcc -E -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" yes checking for ruby.h... "gcc -E -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" yes checking for HAVE_RUBY_ENCODING_H... "gcc -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -c conftest.c" yes checking for rb_thread_call_without_gvl()... "gcc -o conftest.exe -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -Lf:/2015RailsInstaller/Ruby2.0.0/lib -L. -lkernel32 -lmsvcrt-ruby200 -lkernel32 -lshell32 -lws2_32 -limagehlp -lshlwapi " conftest.c: In function 't': conftest.c:8:57: error: 'rb_thread_call_without_gvl' undeclared (first use in this function) conftest.c:8:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:8:32: warning: variable 'p' set but not used [-Wunused-but-set-variable] "gcc -o conftest.exe -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/i386-mingw32 -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0/ruby/backward -If:/2015RailsInstaller/Ruby2.0.0/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -Lf:/2015RailsInstaller/Ruby2.0.0/lib -L. -lkernel32 -lmsvcrt-ruby200 -lkernel32 -lshell32 -lws2_32 -limagehlp -lshlwapi " conftest.c: In function 't': conftest.c:8:1: warning: implicit declaration of function 'rb_thread_call_without_gvl' [-Wimplicit-function-declaration] yes creating Makefile 0 [main] make 42828 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 511 [main] make 42828 open_stackdumpfile: Dumping stack trace to make.exe.stackdump MSYS-1.0.17 Build:2011-04-24 23:39 Exception: STATUS_ACCESS_VIOLATION at eip=10002840 eax=00000000 ebx=00000000 ecx=77476A76 edx=00000000 esi=00000024 edi=00000001 ebp=0029D6C8 esp=0029D530 program=f:\2015RailsInstaller\DevKit\bin\make.exe cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B Stack trace: Frame Function Args 0029D6C8 10002840 (0029E780, 00000000, 6089E54C, 6089E54C) 0029EAE8 6085BDBC (00000000, 0029EB50, 10077820, 10077680) 0029EB18 6085CDB6 (00000000, 00000003, 0029EB50, 10077820) 0029EB38 6080E236 (0029EB50, 10077820, 00000000, 00000000) 0029EF68 60882726 (10077840, 10077820, 0041C410, 10060008) 0029EF98 0040ECAE (10077820, 10077680, 10077820, 10077680) 0029F008 0040E157 (10077658, 000001D3, 0029F038, 00404E71) 0029F038 0040E230 (10077658, 100716E0, 10077288, 00000006) 0029F0B8 0040E5EA (100716E0, 00000000, 00002710, 6085DC0F) 0029F128 004193EA (100716E0, 00000002, 00000000, 00000001) 0029F148 004189AD (10070E98, 00000002, 00000011, 6082D783) 0029F188 00419E28 (10070E98, 00000001, 00000001, 00000000) 0029F1F8 00418CE6 (10068B80, 00000000, 00000000, 10068B80) 0029F218 004189AD (10068B80, 00000000, 00000000, 00000000) 0029F268 0041861A (10068BD8, 00000000, 00426C08, 00000002) End of stack trace (more stack frames may be present) 0029FE90 00410B6F (00000003, 10062238, 10060278, 00000001)ERROR: Interrupted

I have no idea what it is, can someone help me?