Advertisement
Guest User

Untitled

a guest
May 15th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1.  
  2.  
  3. [root@db console]# bundle install
  4. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
  5. Fetching gem metadata from https://rubygems.org/.........
  6. Fetching additional metadata from https://rubygems.org/..
  7. Using rake 10.1.0
  8. Using i18n 0.6.5
  9. Using minitest 4.7.5
  10. Using multi_json 1.7.9
  11. Using atomic 1.1.13
  12. Using thread_safe 0.1.2
  13. Using tzinfo 0.3.37
  14. Using activesupport 4.0.0
  15. Using builder 3.1.4
  16. Using erubis 2.7.0
  17. Using rack 1.5.2
  18. Using rack-test 0.6.2
  19. Using actionpack 4.0.0
  20. Using mime-types 1.24
  21. Using polyglot 0.3.3
  22. Using treetop 1.4.14
  23. Using mail 2.5.4
  24. Using actionmailer 4.0.0
  25. Using activemodel 4.0.0
  26. Using activerecord-deprecated_finders 1.0.3
  27. Using arel 4.0.0
  28. Using activerecord 4.0.0
  29. Using coffee-script-source 1.6.3
  30. Using execjs 1.4.0
  31. Using coffee-script 2.2.0
  32. Using thor 0.18.1
  33. Using railties 4.0.0
  34. Using coffee-rails 4.0.0
  35. Using daemons 1.1.9
  36. Using eventmachine 1.0.3
  37. Using hike 1.2.3
  38. Using jquery-rails 3.0.4
  39. Using json 1.8.0
  40.  
  41. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  42.  
  43. /usr/local/rvm/rubies/ruby-2.0.0-p451/bin/ruby extconf.rb
  44. checking for pg_config... no
  45. No pg_config... trying anyway. If building fails, please try again with
  46. --with-pg-config=/path/to/pg_config
  47. checking for libpq-fe.h... no
  48. Can't find the 'libpq-fe.h header
  49. *** extconf.rb failed ***
  50. Could not create Makefile due to some reason, probably lack of necessary
  51. libraries and/or headers. Check the mkmf.log file for more details. You may
  52. need configuration options.
  53.  
  54. Provided configuration options:
  55. --with-opt-dir
  56. --without-opt-dir
  57. --with-opt-include
  58. --without-opt-include=${opt-dir}/include
  59. --with-opt-lib
  60. --without-opt-lib=${opt-dir}/lib
  61. --with-make-prog
  62. --without-make-prog
  63. --srcdir=.
  64. --curdir
  65. --ruby=/usr/local/rvm/rubies/ruby-2.0.0-p451/bin/ruby
  66. --with-pg
  67. --without-pg
  68. --with-pg-config
  69. --without-pg-config
  70. --with-pg_config
  71. --without-pg_config
  72. --with-pg-dir
  73. --without-pg-dir
  74. --with-pg-include
  75. --without-pg-include=${pg-dir}/include
  76. --with-pg-lib
  77. --without-pg-lib=${pg-dir}/
  78.  
  79. extconf failed, exit code 1
  80.  
  81. Gem files will remain installed in /usr/local/rvm/gems/ruby-2.0.0-p451/gems/pg-0.16.0 for inspection.
  82. Results logged to /usr/local/rvm/gems/ruby-2.0.0-p451/extensions/x86_64-linux/2.0.0/pg-0.16.0/gem_make.out
  83. An error occurred while installing pg (0.16.0), and Bundler cannot continue.
  84. Make sure that `gem install pg -v '0.16.0'` succeeds before bundling.
  85. [root@db console]# locate pg_config
  86. /usr/pgsql-9.1/bin/pg_config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement