Advertisement
foadsf

Untitled

Jan 23rd, 2024
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.53 KB | None | 0 0
  1. Fetching gem metadata from https://rubygems.org/.
  2. Fetching gem metadata from https://rubygems.org/............
  3. Resolving dependencies...
  4. Resolving dependencies...
  5. Installing json 2.6.3 with native extensions
  6. Installing ffi 1.9.25 with native extensions
  7. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  8.  
  9. current directory:
  10. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/ffi-1.9.25/ext/ffi_c
  11. C:/tools/ruby33/bin/ruby.exe extconf.rb
  12. checking for pkg-config for libffi... not found
  13. checking for ffi.h... *** extconf.rb failed ***
  14. Could not create Makefile due to some reason, probably lack of necessary
  15. libraries and/or headers. Check the mkmf.log file for more details. You may
  16. need configuration options.
  17.  
  18. Provided configuration options:
  19. --with-opt-dir
  20. --without-opt-dir
  21. --with-opt-include=${opt-dir}/include
  22. --without-opt-include
  23. --with-opt-lib=${opt-dir}/lib
  24. --without-opt-lib
  25. --with-make-prog
  26. --without-make-prog
  27. --srcdir=.
  28. --curdir
  29. --ruby=C:/tools/ruby33/bin/$(RUBY_BASE_NAME)
  30. --with-ffi_c-dir
  31. --without-ffi_c-dir
  32. --with-ffi_c-include=${ffi_c-dir}/include
  33. --without-ffi_c-include
  34. --with-ffi_c-lib=${ffi_c-dir}/lib
  35. --without-ffi_c-lib
  36. --with-libffi-dir
  37. --without-libffi-dir
  38. --with-libffi-include=${libffi-dir}/include
  39. --without-libffi-include
  40. --with-libffi-lib=${libffi-dir}/lib
  41. --without-libffi-lib
  42. --with-libffi-config
  43. --without-libffi-config
  44. --with-pkg-config
  45. --without-pkg-config
  46. --with-ffi-dir
  47. --without-ffi-dir
  48. --with-ffi-include=${ffi-dir}/include
  49. --without-ffi-include
  50. --with-ffi-lib=${ffi-dir}/lib
  51. --without-ffi-lib
  52. C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:480:in `try_do': The compiler failed to
  53. generate an executable file. (RuntimeError)
  54. You have to install development tools first.
  55.  
  56. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:606:in `block in try_compile'
  57. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:555:in `with_werror'
  58. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:606:in `try_compile'
  59. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:1151:in `block in have_header'
  60. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:983:in `block in checking_for'
  61. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:344:in `block (2 levels) in
  62. postpone'
  63. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:314:in `open'
  64. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:344:in `block in postpone'
  65. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:314:in `open'
  66. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:340:in `postpone'
  67. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:982:in `checking_for'
  68. from C:/tools/ruby33/lib/ruby/3.3.0/mkmf.rb:1150:in `have_header'
  69. from extconf.rb:16:in `<main>'
  70.  
  71. To see why this extension failed to compile, please check the mkmf.log which can
  72. be found here:
  73.  
  74. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/extensions/x64-mingw-ucrt/3.3.0/ffi-1.9.25/mkmf.log
  75.  
  76. extconf failed, exit code 1
  77.  
  78. Gem files will remain installed in
  79. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/ffi-1.9.25 for inspection.
  80. Results logged to
  81. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/extensions/x64-mingw-ucrt/3.3.0/ffi-1.9.25/gem_make.out
  82.  
  83. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:125:in `run'
  84. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/ext/ext_conf_builder.rb:28:in
  85. `build'
  86. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:193:in
  87. `build_extension'
  88. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:227:in `block
  89. in build_extensions'
  90. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:224:in `each'
  91. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/ext/builder.rb:224:in
  92. `build_extensions'
  93. C:/tools/ruby33/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:852:in
  94. `build_extensions'
  95. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/rubygems_gem_installer.rb:76:in
  96. `build_extensions'
  97. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/rubygems_gem_installer.rb:28:in
  98. `install'
  99. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/source/rubygems.rb:205:in
  100. `install'
  101. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/installer/gem_installer.rb:54:in
  102. `install'
  103. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/installer/gem_installer.rb:16:in
  104. `install_from_spec'
  105. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/installer/parallel_installer.rb:132:in
  106. `do_install'
  107. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/installer/parallel_installer.rb:123:in
  108. `block in worker_pool'
  109. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/worker.rb:62:in
  110. `apply_func'
  111. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/worker.rb:57:in
  112. `block in process_queue'
  113. <internal:kernel>:187:in `loop'
  114. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/worker.rb:54:in
  115. `process_queue'
  116. C:/Users/FoadS/.local/share/gem/ruby/3.3.0/gems/bundler-2.5.5/lib/bundler/worker.rb:90:in
  117. `block (2 levels) in create_threads'
  118.  
  119. An error occurred while installing ffi (1.9.25), and Bundler cannot continue.
  120.  
  121. In Gemfile:
  122. listen was resolved to 3.8.0, which depends on
  123. rb-inotify was resolved to 0.9.10, which depends on
  124. ffi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement