Guest User

Untitled

a guest
Jul 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. Installing pg (0.11.0) with native extensions /Library/Ruby/Site/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
  2.  
  3. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
  4. checking for pg_config... yes
  5. Using config values from /opt/local/lib/postgresql83/bin/pg_config
  6. checking for libpq-fe.h... yes
  7. checking for libpq/libpq-fs.h... yes
  8. checking for PQconnectdb() in -lpq... no
  9. checking for PQconnectdb() in -llibpq... no
  10. checking for PQconnectdb() in -lms/libpq... no
  11. Can't find the PostgreSQL client library (libpq)
  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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  29. --with-pg
  30. --without-pg
  31. --with-pg-dir
  32. --without-pg-dir
  33. --with-pg-include
  34. --without-pg-include=${pg-dir}/include
  35. --with-pg-lib
  36. --without-pg-lib=${pg-dir}/lib
  37. --with-pg-config
  38. --without-pg-config
  39. --with-pg_config
  40. --without-pg_config
  41. --with-pqlib
  42. --without-pqlib
  43. --with-libpqlib
  44. --without-libpqlib
  45. --with-ms/libpqlib
  46. --without-ms/libpqlib
  47.  
  48.  
  49. Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/pg-0.11.0 for inspection.
  50. Results logged to /Library/Ruby/Gems/1.8/gems/pg-0.11.0/ext/gem_make.out
  51. from /Library/Ruby/Site/1.8/rubygems/installer.rb:446:in `each'
  52. from /Library/Ruby/Site/1.8/rubygems/installer.rb:446:in `build_extensions'
  53. from /Library/Ruby/Site/1.8/rubygems/installer.rb:198:in `install'
  54. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/source.rb:100:in `install'
  55. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/installer.rb:55:in `run'
  56. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in `each'
  57. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in `each'
  58. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/installer.rb:44:in `run'
  59. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/installer.rb:8:in `install'
  60. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/cli.rb:252:in `update'
  61. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/task.rb:22:in `send'
  62. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/task.rb:22:in `run'
  63. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
  64. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:in `dispatch'
  65. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/vendor/thor/base.rb:389:in `start'
  66. from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/bin/bundle:13
  67. from /usr/bin/bundle:19:in `load'
  68. from /usr/bin/bundle:19
  69.  
  70. sudo bundle install
Add Comment
Please, Sign In to add comment