Last active
February 18, 2018 11:36
-
-
Save carlosdelfino/e048f5f1d4c1e94e5ca4b58d275d8c41 to your computer and use it in GitHub Desktop.
Enviroment: Windows 10, CygWin, Ruby 2.2.5p319, Gem 2.6.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consu_000@SocialSLA ~ | |
$ gem install wdm | |
Building native extensions. This could take a while... | |
ERROR: Error installing wdm: | |
ERROR: Failed to build gem native extension. | |
current directory: /cygdrive/c/Users/consu_000/.gem/ruby/gems/wdm-0.1.1/ext/wdm | |
/usr/bin/ruby.exe -r ./siteconf20160812-12032-1pdjkhp.rb extconf.rb | |
checking for main() in -lkernel32... yes | |
checking for windows.h... yes | |
checking for ruby.h... yes | |
checking for HAVE_RUBY_ENCODING_H... yes | |
checking for rb_thread_call_without_gvl()... yes | |
creating Makefile | |
To see why this extension failed to compile, please check the mkmf.log which can be found here: | |
/home/consu_000/.gem/ruby/extensions/x86_64-cygwin/wdm-0.1.1/mkmf.log | |
current directory: /cygdrive/c/Users/consu_000/.gem/ruby/gems/wdm-0.1.1/ext/wdm | |
make "DESTDIR=" clean | |
rm -f | |
rm -f wdm_ext.so *.o *.bak mkmf.log .*.time | |
current directory: /cygdrive/c/Users/consu_000/.gem/ruby/gems/wdm-0.1.1/ext/wdm | |
make "DESTDIR=" | |
gcc -I. -I/usr/include/ruby-2.2.0 -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DHAVE_WINDOWS_H -DHAVE_RUBY_H -DHAVE_CONST_HAVE_RUBY_ENCODING_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -ggdb -O2 -pipe -Wimplicit-function-declaration -o entry.o -c entry.c | |
gcc -I. -I/usr/include/ruby-2.2.0 -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DHAVE_WINDOWS_H -DHAVE_RUBY_H -DHAVE_CONST_HAVE_RUBY_ENCODING_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -ggdb -O2 -pipe -Wimplicit-function-declaration -o memory.o -c memory.c | |
gcc -I. -I/usr/include/ruby-2.2.0 -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DHAVE_WINDOWS_H -DHAVE_RUBY_H -DHAVE_CONST_HAVE_RUBY_ENCODING_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -ggdb -O2 -pipe -Wimplicit-function-declaration -o monitor.o -c monitor.c | |
gcc -I. -I/usr/include/ruby-2.2.0 -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DHAVE_WINDOWS_H -DHAVE_RUBY_H -DHAVE_CONST_HAVE_RUBY_ENCODING_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -ggdb -O2 -pipe -Wimplicit-function-declaration -o queue.o -c queue.c | |
queue.c: In function ‘wdm_queue_item_error_new’: | |
queue.c:28:14: warning: implicit declaration of function ‘_vscprintf’ [-Wimplicit-function-declaration] | |
length = _vscprintf(format, ap); | |
^ | |
gcc -I. -I/usr/include/ruby-2.2.0 -I/usr/include/ruby-2.2.0/ruby/backward -I/usr/include/ruby-2.2.0 -I. -DHAVE_WINDOWS_H -DHAVE_RUBY_H -DHAVE_CONST_HAVE_RUBY_ENCODING_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -ggdb -O2 -pipe -Wimplicit-function-declaration -o rb_change.o -c rb_change.c | |
rb_change.c: In function ‘extract_absolute_path_from_notification’: | |
rb_change.c:47:16: error: ‘_MAX_FNAME’ undeclared (first use in this function) | |
WCHAR file[_MAX_FNAME], ext[_MAX_EXT], filename[WDM_MAX_FILENAME]; | |
^ | |
rb_change.c:47:16: note: each undeclared identifier is reported only once for each function it appears in | |
rb_change.c:47:33: error: ‘_MAX_EXT’ undeclared (first use in this function) | |
WCHAR file[_MAX_FNAME], ext[_MAX_EXT], filename[WDM_MAX_FILENAME]; | |
^ | |
rb_change.c:74:5: warning: implicit declaration of function ‘_wsplitpath’ [-Wimplicit-function-declaration] | |
_wsplitpath(buffer, NULL, NULL, file, ext); | |
^ | |
make: *** [Makefile:239: rb_change.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/consu_000/.gem/ruby/gems/wdm-0.1.1 for inspection. | |
Results logged to /home/consu_000/.gem/ruby/extensions/x86_64-cygwin/wdm-0.1.1/gem_make.out | |
consu_000@SocialSLA ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you find a solution?