Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  2.  
  3. /usr/local/rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
  4. checking for pg_config... no
  5. No pg_config... trying anyway. If building fails, please try again with
  6. --with-pg-config=/path/to/pg_config
  7. checking for libpq-fe.h... no
  8. Can't find the 'libpq-fe.h header
  9. *** extconf.rb failed ***
  10. Could not create Makefile due to some reason, probably lack of necessary
  11. libraries and/or headers. Check the mkmf.log file for more details. You may
  12. need configuration options.
  13.  
  14. Provided configuration options:
  15. --with-opt-dir
  16. --without-opt-dir
  17. --with-opt-include
  18. --without-opt-include=${opt-dir}/include
  19. --with-opt-lib
  20. --without-opt-lib=${opt-dir}/lib
  21. --with-make-prog
  22. --without-make-prog
  23. --srcdir=.
  24. --curdir
  25. --ruby=/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby
  26. --with-pg
  27. --without-pg
  28. --with-pg-config
  29. --without-pg-config
  30. --with-pg_config
  31. --without-pg_config
  32. --with-pg-dir
  33. --without-pg-dir
  34. --with-pg-include
  35. --without-pg-include=${pg-dir}/include
  36. --with-pg-lib
  37. --without-pg-lib=${pg-dir}/lib
  38.  
  39. extconf failed, exit code 1
  40.  
  41. Gem files will remain installed in /usr/local/rvm/gems/ruby-2.1.2/gems/pg-0.17.1 for inspection.
  42. Results logged to /usr/local/rvm/gems/ruby-2.1.2/extensions/x86_64-darwin-13/2.1.0-static/pg-0.17.1/gem_make.out
  43. An error occurred while installing pg (0.17.1), and Bundler cannot continue.
  44. Make sure that `gem install pg -v '0.17.1'` succeeds before bundling.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement