Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  2.  
  3. current directory:
  4. /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/pg-1.1.4/ext
  5. /home/meni/.rbenv/versions/2.6.0/bin/ruby -I
  6. /home/meni/.rbenv/versions/2.6.0/lib/ruby/2.6.0 -r
  7. ./siteconf20190220-2326-1eh1ckf.rb extconf.rb
  8. checking for pg_config... no
  9. No pg_config... trying anyway. If building fails, please try again with
  10. --with-pg-config=/path/to/pg_config
  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 necessary
  15. libraries and/or headers. Check the mkmf.log file for more details. You may
  16. 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=/home/meni/.rbenv/versions/2.6.0/bin/$(RUBY_BASE_NAME)
  30. --with-pg
  31. --without-pg
  32. --enable-windows-cross
  33. --disable-windows-cross
  34. --with-pg-config
  35. --without-pg-config
  36. --with-pg_config
  37. --without-pg_config
  38. --with-pg-dir
  39. --without-pg-dir
  40. --with-pg-include
  41. --without-pg-include=${pg-dir}/include
  42. --with-pg-lib
  43. --without-pg-lib=${pg-dir}/lib
  44.  
  45. To see why this extension failed to compile, please check the mkmf.log which can
  46. be found here:
  47.  
  48. /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0-static/pg-1.1.4/mkmf.log
  49.  
  50. extconf failed, exit code 1
  51.  
  52. Gem files will remain installed in
  53. /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/pg-1.1.4 for
  54. inspection.
  55. Results logged to
  56. /home/meni/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0-static/pg-1.1.4/gem_make.out
  57.  
  58. An error occurred while installing pg (1.1.4), and Bundler cannot
  59. continue.
  60. Make sure that `gem install pg -v '1.1.4' --source 'https://rubygems.org/'`
  61. succeeds before bundling.
  62.  
  63. In Gemfile:
  64. pg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement