Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.79 KB | None | 0 0
  1. Installing pg (0.11.0) with native extensions /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
  2.  
  3.        /usr/local/rvm/rubies/ruby-1.9.2-p180/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
  11. necessary libraries and/or headers.  Check the mkmf.log file for more
  12. details.  You may 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-1.9.2-p180/bin/ruby
  26.        --with-pg
  27.        --without-pg
  28.        --with-pg-dir
  29.        --without-pg-dir
  30.        --with-pg-include
  31.        --without-pg-include=${pg-dir}/include
  32.        --with-pg-lib
  33.        --without-pg-lib=${pg-dir}/lib
  34.        --with-pg-config
  35.        --without-pg-config
  36.        --with-pg_config
  37.        --without-pg_config
  38.  
  39.  
  40. Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/pg-0.11.0 for inspection.
  41. Results logged to /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/pg-0.11.0/ext/gem_make.out
  42.        from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:511:in `block in build_extensions'
  43.         from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `each'
  44.        from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `build_extensions'
  45.         from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:159:in `install'
  46.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/source.rb:96:in `install'
  47.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/installer.rb:55:in `block in run'
  48.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/spec_set.rb:12:in `block in each'
  49.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/spec_set.rb:12:in `each'
  50.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/spec_set.rb:12:in `each'
  51.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/installer.rb:44:in `run'
  52.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/installer.rb:8:in `install'
  53.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/cli.rb:225:in `install'
  54.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/vendor/thor/task.rb:22:in `run'
  55.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
  56.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/vendor/thor.rb:246:in `dispatch'
  57.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/lib/bundler/vendor/thor/base.rb:389:in `start'
  58.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/gems/bundler-1.0.12/bin/bundle:13:in `<top (required)>'
  59.         from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/bin/bundle:19:in `load'
  60.        from /usr/local/rvm/gems/ruby-1.9.2-p180@rails3/bin/bundle:19:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement