Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ERROR: Failed to build gem native extension.#1040

MrHinsh started this conversation inGeneral
Discussion options

I updated to the latest Ruby and Gems and still get this error.

ruby -vruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x64-mingw-ucrt]gem -v3.5.3
EditionWindows 11 ProVersion24H2Installed on‎09/‎02/‎2024OS build26052.1000ExperienceWindows Feature Experience Pack 1000.26052.1000.0
❯ gem install github_changelog_generatorFetching rainbow-3.1.1.gemFetching faraday-net_http-3.1.0.gemFetching sawyer-0.9.2.gemFetching public_suffix-5.0.4.gemFetching octokit-4.25.1.gemFetching faraday-2.9.0.gemFetching addressable-2.8.6.gemFetching multi_json-1.15.0.gemFetching faraday-http-cache-2.5.1.gemFetching traces-0.11.1.gemFetching protocol-http-0.26.1.gemFetching protocol-hpack-1.4.2.gemFetching protocol-http2-0.16.0.gemFetching protocol-http1-0.18.0.gemFetching timers-4.3.5.gemFetching io-event-1.4.3.gemFetching fiber-annotation-0.2.0.gemFetching fiber-local-1.0.0.gemFetching console-1.23.4.gemFetching async-2.8.1.gemFetching async-pool-0.4.0.gemFetching async-io-1.41.0.gemFetching async-http-0.63.0.gemFetching async-http-faraday-0.13.1.gemFetching concurrent-ruby-1.2.3.gemFetching i18n-1.14.1.gemFetching github_changelog_generator-1.16.4.gemFetching tzinfo-2.0.6.gemFetching connection_pool-2.4.1.gemFetching activesupport-7.1.3.gemSuccessfully installed rainbow-3.1.1Successfully installed faraday-net_http-3.1.0Successfully installed faraday-2.9.0Successfully installed public_suffix-5.0.4Successfully installed addressable-2.8.6Successfully installed sawyer-0.9.2Successfully installed octokit-4.25.1Successfully installed multi_json-1.15.0Successfully installed faraday-http-cache-2.5.1Successfully installed traces-0.11.1Successfully installed protocol-http-0.26.1Successfully installed protocol-hpack-1.4.2Successfully installed protocol-http2-0.16.0Successfully installed protocol-http1-0.18.0Successfully installed timers-4.3.5Temporarily enhancing PATH for MSYS/MINGW...Building native extensions. This could take a while...ERROR:  Error installing github_changelog_generator:        ERROR: Failed to build gem native extension.    current directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3/extC:/Ruby33-x64/bin/ruby.exe extconf.rbchecking for rb_ext_ractor_safe()... yeschecking for &rb_fiber_transfer()... yeschecking for -luring... nochecking for sys/epoll.h... nochecking for sys/event.h... nochecking for sys/eventfd.h... nochecking for rb_io_descriptor()... yeschecking for &rb_process_status_wait()... yeschecking for rb_fiber_current()... yeschecking for &rb_fiber_raise()... yeschecking for epoll_pwait2()... nochecking for ruby/io/buffer.h... yescreating extconf.hcreating Makefilecurrent directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3/extmake DESTDIR\= sitearchdir\=./.gem.20240215-15336-uz2oa7 sitelibdir\=./.gem.20240215-15336-uz2oa7 cleancurrent directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3/extmake DESTDIR\= sitearchdir\=./.gem.20240215-15336-uz2oa7 sitelibdir\=./.gem.20240215-15336-uz2oa7generating IO_Event-x64-mingw-ucrt.defcompiling ./io/event/event.cIn file included from ./io/event/event.c:22:./io/event/selector/selector.h:37:10: fatal error: sys/wait.h: No such file or directory   37 | #include <sys/wait.h>      |          ^~~~~~~~~~~~compilation terminated.make: *** [Makefile:248: event.o] Error 1make failed, exit code 2Gem files will remain installed in C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3 for inspection.Results logged to C:/Ruby33-x64/lib/ruby/gems/3.3.0/extensions/x64-mingw-ucrt/3.3.0/io-event-1.4.3/gem_make.out
You must be logged in to vote

Replies: 1 comment

Comment options

Tryinghttps://stackoverflow.com/questions/26276207/error-failed-to-build-gem-native-extension-on-windows

Nope... Still fails.

current directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3/extmake DESTDIR\= sitearchdir\=./.gem.20240215-62212-rdqko5 sitelibdir\=./.gem.20240215-62212-rdqko5 cleancurrent directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3/extmake DESTDIR\= sitearchdir\=./.gem.20240215-62212-rdqko5 sitelibdir\=./.gem.20240215-62212-rdqko5generating IO_Event-x64-mingw-ucrt.defcompiling ./io/event/event.cIn file included from ./io/event/event.c:22:./io/event/selector/selector.h:37:10: fatal error: sys/wait.h: No such file or directory   37 | #include <sys/wait.h>      |          ^~~~~~~~~~~~compilation terminated.make: *** [Makefile:248: event.o] Error 1make failed, exit code 2Gem files will remain installed in C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/io-event-1.4.3 for inspection.Results logged to C:/Ruby33-x64/lib/ruby/gems/3.3.0/extensions/x64-mingw-ucrt/3.3.0/io-event-1.4.3/gem_make.out
You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
1 participant
@MrHinsh

[8]ページ先頭

©2009-2025 Movatter.jp