Guest User

Untitled

a guest
Apr 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. [root@azuretalon potionstore]# ls /var/lib/pgsql/
  2. backups data pgstartup.log
  3. [root@azuretalon potionstore]# POSTGRES_INCLUDE=/var/lib/pgsql/ gem install postgres
  4. Building native extensions. This could take a while...
  5. ERROR: Error installing postgres:
  6. ERROR: Failed to build gem native extension.
  7.  
  8. /usr/bin/ruby extconf.rb install postgres
  9. extconf.rb:53: warning: Insecure world writable dir /var/www/vhosts/bin, mode 040777
  10. extconf.rb:53: command not found: pg_config --libdir
  11. checking for main() in -lpq... no
  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/ruby
  29. --with-pgsql-dir
  30. --without-pgsql-dir
  31. --with-pgsql-include
  32. --without-pgsql-include=${pgsql-dir}/include
  33. --with-pgsql-lib
  34. --without-pgsql-lib=${pgsql-dir}/lib
  35. --with-pqlib
  36. --without-pqlib
  37. Could not find PostgreSQL build environment (libraries & headers): Makefile not created
  38.  
  39.  
  40. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/postgres-0.7.9.2008.01.28 for inspection.
  41. Results logged to /usr/lib/ruby/gems/1.8/gems/postgres-0.7.9.2008.01.28/ext/gem_make.out
  42. [root@azuretalon potionstore]#
Add Comment
Please, Sign In to add comment