Guest User

Untitled

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