Guest User

Untitled

a guest
Jun 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. MacBook-Pro:rails mm$ sudo env ARCHFLAGS="-arch x86_64" gem install pg
  2. Password:
  3. Building native extensions. This could take a while...
  4. ERROR: Error installing pg:
  5. ERROR: Failed to build gem native extension.
  6.  
  7. /Users/mm/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
  8. checking for pg_config... no
  9. MacOS X build: fixing architecture flags:
  10. using the value in ARCHFLAGS environment variable ("-arch x86_64").
  11. checking for libpq-fe.h... no
  12. Can't find the 'libpq-fe.h header
  13. *** extconf.rb failed ***
  14. Could not create Makefile due to some reason, probably lack of
  15. necessary libraries and/or headers. Check the mkmf.log file for more
  16. details. You may need configuration options.
  17.  
  18. Provided configuration options:
  19. --with-opt-dir
  20. --without-opt-dir
  21. --with-opt-include
  22. --without-opt-include=${opt-dir}/include
  23. --with-opt-lib
  24. --without-opt-lib=${opt-dir}/lib
  25. --with-make-prog
  26. --without-make-prog
  27. --srcdir=.
  28. --curdir
  29. --ruby=/Users/mm/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
  30. --with-pg
  31. --without-pg
  32. --with-pg-config
  33. --without-pg-config
  34. --with-pg-dir
  35. --without-pg-dir
  36. --with-pg-include
  37. --without-pg-include=${pg-dir}/include
  38. --with-pg-lib
  39. --without-pg-lib=${pg-dir}/lib
  40. --enable-static-build
  41. --disable-static-build
  42.  
  43.  
  44. Gem files will remain installed in /Users/mm/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.9.0 for inspection.
  45. Results logged to /Users/mm/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.9.0/ext/gem_make.out
Add Comment
Please, Sign In to add comment