Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Building native extensions. This could take a while...
- ERROR: Error installing github-pages:
- ERROR: Failed to build gem native extension.
- current directory: /home/aaronh/.gems/gems/ffi-1.15.5/ext/ffi_c
- /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/bin/ruby -I /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0 extconf.rb
- checking for ffi.h... *** extconf.rb failed ***
- Could not create Makefile due to some reason, probably lack of necessary
- libraries and/or headers. Check the mkmf.log file for more details. You may
- need configuration options.
- Provided configuration options:
- --with-opt-dir
- --without-opt-dir
- --with-opt-include
- --without-opt-include=${opt-dir}/include
- --with-opt-lib
- --without-opt-lib=${opt-dir}/lib
- --with-make-prog
- --without-make-prog
- --srcdir=.
- --curdir
- --ruby=/nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/bin/$(RUBY_BASE_NAME)
- --with-ffi_c-dir
- --without-ffi_c-dir
- --with-ffi_c-include
- --without-ffi_c-include=${ffi_c-dir}/include
- --with-ffi_c-lib
- --without-ffi_c-lib=${ffi_c-dir}/lib
- --enable-system-libffi
- --disable-system-libffi
- --with-libffi-dir
- --without-libffi-dir
- --with-libffi-include
- --without-libffi-include=${libffi-dir}/include
- --with-libffi-lib
- --without-libffi-lib=${libffi-dir}/lib
- --with-libffi-config
- --without-libffi-config
- --with-pkg-config
- --without-pkg-config
- --with-ffi-dir
- --without-ffi-dir
- --with-ffi-include
- --without-ffi-include=${ffi-dir}/include
- --with-ffi-lib
- --without-ffi-lib=${ffi-dir}/lib
- /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)
- You have to install development tools first.
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:624:in `block in try_compile'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:573:in `with_werror'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:624:in `try_compile'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1160:in `block in have_header'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1007:in `block in checking_for'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:362:in `block (2 levels) in postpone'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:332:in `open'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:362:in `block in postpone'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:332:in `open'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:358:in `postpone'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1006:in `checking_for'
- from /nix/store/5f8lz6g6a8f3cihzndwbhw71pxhg60fd-ruby-3.1.2/lib/ruby/3.1.0/mkmf.rb:1159:in `have_header'
- from extconf.rb:10:in `system_libffi_usable?'
- from extconf.rb:42:in `<main>'
- To see why this extension failed to compile, please check the mkmf.log which can be found here:
- /home/aaronh/.gems/extensions/x86_64-linux/3.1.0/ffi-1.15.5/mkmf.log
- extconf failed, exit code 1
- Gem files will remain installed in /home/aaronh/.gems/gems/ffi-1.15.5 for inspection.
- Results logged to /home/aaronh/.gems/extensions/x86_64-linux/3.1.0/ffi-1.15.5/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement