Advertisement
Guest User

Untitled

a guest
Jun 14th, 2011
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. [root@rhel include]# gem install pg -- --with-pgsql-include-dir=/usr/pgsql-8.4/include/ --with-pgsql-lib-dir=/usr/pgsql-8.4/lib/
  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/ruby extconf.rb --with-pgsql-include-dir=/usr/pgsql-8.4/include/ --with-pgsql-lib-dir=/usr/pgsql-8.4/lib/
  7. checking for pg_config... yes
  8. Using config values from /usr/bin/pg_config
  9. checking for libpq-fe.h... no
  10. Can't find the 'libpq-fe.h header
  11. *** extconf.rb failed ***
  12. Could not create Makefile due to some reason, probably lack of
  13. necessary libraries and/or headers. Check the mkmf.log file for more
  14. details. You may need configuration options.
  15.  
  16. Provided configuration options:
  17. --with-opt-dir
  18. --without-opt-dir
  19. --with-opt-include
  20. --without-opt-include=${opt-dir}/include
  21. --with-opt-lib
  22. --without-opt-lib=${opt-dir}/lib
  23. --with-make-prog
  24. --without-make-prog
  25. --srcdir=.
  26. --curdir
  27. --ruby=/usr/bin/ruby
  28. --with-pg
  29. --without-pg
  30. --with-pg-dir
  31. --without-pg-dir
  32. --with-pg-include
  33. --without-pg-include=${pg-dir}/include
  34. --with-pg-lib
  35. --without-pg-lib=${pg-dir}/lib
  36. --with-pg-config
  37. --without-pg-config
  38. --with-pg_config
  39. --without-pg_config
  40.  
  41.  
  42. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/pg-0.11.0 for inspection.
  43. Results logged to /usr/lib/ruby/gems/1.8/gems/pg-0.11.0/ext/gem_make.out
  44.  
  45.  
  46.  
  47. [root@rhel include]# find / -name "libpq-fe.h"
  48. /usr/include/libpq-fe.h
  49. /usr/include/postgresql/libpq-fe.h
  50. /usr/pgsql-8.4/include/libpq-fe.h
  51. /usr/local/include/libpq-fe.h
  52. find: `/proc/fs/vmblock/mountPoint': Нет такого файла или каталога
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement