Advertisement
Guest User

Untitled

a guest
Mar 1st, 2023
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. Building native extensions. This could take a while...
  2. ERROR: Error installing github-pages:
  3. ERROR: Failed to build gem native extension.
  4.  
  5. current directory: /home/aaronh/.gems/gems/ffi-1.15.5/ext/ffi_c
  6. /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/bin/ruby -I /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0 extconf.rb
  7. checking for ffi.h... *** extconf.rb failed ***
  8. Could not create Makefile due to some reason, probably lack of necessary
  9. libraries and/or headers. Check the mkmf.log file for more details. You may
  10. need configuration options.
  11.  
  12. Provided configuration options:
  13. --with-opt-dir
  14. --without-opt-dir
  15. --with-opt-include
  16. --without-opt-include=${opt-dir}/include
  17. --with-opt-lib
  18. --without-opt-lib=${opt-dir}/lib
  19. --with-make-prog
  20. --without-make-prog
  21. --srcdir=.
  22. --curdir
  23. --ruby=/nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/bin/$(RUBY_BASE_NAME)
  24. --with-ffi_c-dir
  25. --without-ffi_c-dir
  26. --with-ffi_c-include
  27. --without-ffi_c-include=${ffi_c-dir}/include
  28. --with-ffi_c-lib
  29. --without-ffi_c-lib=${ffi_c-dir}/lib
  30. --enable-system-libffi
  31. --disable-system-libffi
  32. --with-libffi-dir
  33. --without-libffi-dir
  34. --with-libffi-include
  35. --without-libffi-include=${libffi-dir}/include
  36. --with-libffi-lib
  37. --without-libffi-lib=${libffi-dir}/lib
  38. --with-libffi-config
  39. --without-libffi-config
  40. --with-pkg-config
  41. --without-pkg-config
  42. --with-ffi-dir
  43. --without-ffi-dir
  44. --with-ffi-include
  45. --without-ffi-include=${ffi-dir}/include
  46. --with-ffi-lib
  47. --without-ffi-lib=${ffi-dir}/lib
  48. /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:498:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  49. You have to install development tools first.
  50. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:624:in `block in try_compile'
  51. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:573:in `with_werror'
  52. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:624:in `try_compile'
  53. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1160:in `block in have_header'
  54. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1007:in `block in checking_for'
  55. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:362:in `block (2 levels) in postpone'
  56. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:332:in `open'
  57. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:362:in `block in postpone'
  58. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:332:in `open'
  59. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:358:in `postpone'
  60. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1006:in `checking_for'
  61. from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1159:in `have_header'
  62. from extconf.rb:10:in `system_libffi_usable?'
  63. from extconf.rb:42:in `<main>'
  64.  
  65. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  66.  
  67. /home/aaronh/.gems/extensions/x86_64-linux/3.1.0/ffi-1.15.5/mkmf.log
  68.  
  69. extconf failed, exit code 1
  70.  
  71. Gem files will remain installed in /home/aaronh/.gems/gems/ffi-1.15.5 for inspection.
  72. Results logged to /home/aaronh/.gems/extensions/x86_64-linux/3.1.0/ffi-1.15.5/gem_make.out
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement