Guest User

Untitled

a guest
Jul 9th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. # gem install pg -v '0.15.1'
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing pg:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /usr/bin/ruby18 extconf.rb
  7. checking for pg_config... no
  8. No pg_config... trying anyway. If building fails, please try again with
  9. --with-pg-config=/path/to/pg_config
  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=/usr/bin/ruby18
  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.  
  42.  
  43. Gem files will remain installed in /usr/local/lib64/ruby/gems/1.8/gems/pg-0.15.1 for inspection.
  44. Results logged to /usr/local/lib64/ruby/gems/1.8/gems/pg-0.15.1/ext/gem_make.out
  45.  
  46.  
  47. # cat /usr/local/lib64/ruby/gems/1.8/gems/pg-0.15.1/ext/gem_make.out
  48. /usr/bin/ruby18 extconf.rb
  49. checking for pg_config... no
  50. No pg_config... trying anyway. If building fails, please try again with
  51. --with-pg-config=/path/to/pg_config
  52. checking for libpq-fe.h... no
  53. Can't find the 'libpq-fe.h header
  54. *** extconf.rb failed ***
  55. Could not create Makefile due to some reason, probably lack of
  56. necessary libraries and/or headers. Check the mkmf.log file for more
  57. details. You may need configuration options.
  58.  
  59. Provided configuration options:
  60. --with-opt-dir
  61. --without-opt-dir
  62. --with-opt-include
  63. --without-opt-include=${opt-dir}/include
  64. --with-opt-lib
  65. --without-opt-lib=${opt-dir}/lib
  66. --with-make-prog
  67. --without-make-prog
  68. --srcdir=.
  69. --curdir
  70. --ruby=/usr/bin/ruby18
  71. --with-pg
  72. --without-pg
  73. --with-pg-dir
  74. --without-pg-dir
  75. --with-pg-include
  76. --without-pg-include=${pg-dir}/include
  77. --with-pg-lib
  78. --without-pg-lib=${pg-dir}/lib
  79. --with-pg-config
  80. --without-pg-config
  81. --with-pg_config
  82. --without-pg_config
Advertisement
Add Comment
Please, Sign In to add comment