Skip to content

Instantly share code, notes, and snippets.

@inkel
Created July 24, 2015 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inkel/f69bd41cb0dc496e55ed to your computer and use it in GitHub Desktop.
Save inkel/f69bd41cb0dc496e55ed to your computer and use it in GitHub Desktop.
gem install rabbitmq:1.1.1 typhoeus:0.7.2
ERROR: Error installing rabbitmq:
ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20150724-9-b8aeus.rb extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
Configuring libffi
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized
configure: error: /bin/sh /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi/config.sub x86_64-alpine-linux-musl failed
libffi.mk:6: recipe for target '"/usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux-musl"/.libs/libffi_convenience.a' failed
make: *** ["/usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux-musl"/.libs/libffi_convenience.a] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10 for inspection.
Results logged to /usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/ffi-1.9.10/gem_make.out
ERROR: Error installing typhoeus:
ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20150724-9-4hyay7.rb extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
Configuring libffi
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized
configure: error: /bin/sh /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi/config.sub x86_64-alpine-linux-musl failed
libffi.mk:6: recipe for target '"/usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux-musl"/.libs/libffi_convenience.a' failed
make: *** ["/usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux-musl"/.libs/libffi_convenience.a] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/lib/ruby/gems/2.2.0/gems/ffi-1.9.10 for inspection.
Results logged to /usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/ffi-1.9.10/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment