Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [dan@cc58aa6a3875 ~]$ ls
- Gemfile Gemfile.lock
- [dan@cc58aa6a3875 ~]$ cat Gemfile
- source "https://rubygems.org"
- gem "fpm"
- gem "rake"
- gem "highline"
- gem "hiera-eyaml"
- gem "serverspec", "2.3.1"
- [dan@cc58aa6a3875 ~]$ bundle install --deployment
- Fetching gem metadata from https://rubygems.org/.......
- Fetching version metadata from https://rubygems.org/..
- Installing rake 10.4.2
- Installing cabin 0.7.1
- Installing arr-pm 0.0.10
- Installing backports 3.6.6
- Installing ffi 1.9.10 with native extensions
- Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
- /usr/bin/ruby 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()... no
- checking for rb_thread_call_without_gvl()... no
- checking for ffi_prep_cif_var()... no
- creating extconf.h
- creating Makefile
- make
- 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
- configure: error: in `/home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux':
- configure: error: no acceptable C compiler found in $PATH
- See `config.log' for more details
- make: *** ["/home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Error 1
- Gem files will remain installed in /home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10 for inspection.
- Results logged to /home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10/ext/ffi_c/gem_make.out
- An error occurred while installing ffi (1.9.10), and Bundler cannot continue.
- Make sure that `gem install ffi -v '1.9.10'` succeeds before bundling.
- [dan@cc58aa6a3875 ~]$
Advertisement
Add Comment
Please, Sign In to add comment