Guest User

Untitled

a guest
Sep 21st, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. [dan@cc58aa6a3875 ~]$ ls
  2. Gemfile Gemfile.lock
  3. [dan@cc58aa6a3875 ~]$ cat Gemfile
  4. source "https://rubygems.org"
  5.  
  6. gem "fpm"
  7. gem "rake"
  8. gem "highline"
  9. gem "hiera-eyaml"
  10. gem "serverspec", "2.3.1"
  11. [dan@cc58aa6a3875 ~]$ bundle install --deployment
  12. Fetching gem metadata from https://rubygems.org/.......
  13. Fetching version metadata from https://rubygems.org/..
  14. Installing rake 10.4.2
  15. Installing cabin 0.7.1
  16. Installing arr-pm 0.0.10
  17. Installing backports 3.6.6
  18. Installing ffi 1.9.10 with native extensions
  19.  
  20. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  21.  
  22. /usr/bin/ruby extconf.rb
  23. checking for ffi.h... no
  24. checking for ffi.h in /usr/local/include,/usr/include/ffi... no
  25. checking for rb_thread_blocking_region()... no
  26. checking for rb_thread_call_with_gvl()... no
  27. checking for rb_thread_call_without_gvl()... no
  28. checking for ffi_prep_cif_var()... no
  29. creating extconf.h
  30. creating Makefile
  31.  
  32. make
  33. Configuring libffi
  34. configure: WARNING: if you wanted to set the --build type, don't use --host.
  35. If a cross compiler is detected then cross compile mode will be used
  36. configure: error: in `/home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux':
  37. configure: error: no acceptable C compiler found in $PATH
  38. See `config.log' for more details
  39. 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
  40.  
  41.  
  42. Gem files will remain installed in /home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10 for inspection.
  43. Results logged to /home/dan/vendor/bundle/ruby/1.8/gems/ffi-1.9.10/ext/ffi_c/gem_make.out
  44. An error occurred while installing ffi (1.9.10), and Bundler cannot continue.
  45. Make sure that `gem install ffi -v '1.9.10'` succeeds before bundling.
  46. [dan@cc58aa6a3875 ~]$
Advertisement
Add Comment
Please, Sign In to add comment