Advertisement
Guest User

Untitled

a guest
Nov 16th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Building native extensions. This could take a while...
  2. ERROR: Error installing pg:
  3. ERROR: Failed to build gem native extension.
  4.  
  5. /usr/bin/ruby1.9.1 extconf.rb
  6. checking for pg_config... yes
  7. Using config values from /usr/bin/pg_config
  8. *** extconf.rb failed ***
  9. Could not create Makefile due to some reason, probably lack of
  10. necessary libraries and/or headers. Check the mkmf.log file for more
  11. details. You may need configuration options.
  12.  
  13. Provided configuration options:
  14. --with-opt-dir
  15. --without-opt-dir
  16. --with-opt-include
  17. --without-opt-include=${opt-dir}/include
  18. --with-opt-lib
  19. --without-opt-lib=${opt-dir}/lib
  20. --with-make-prog
  21. --without-make-prog
  22. --srcdir=.
  23. --curdir
  24. --ruby=/usr/bin/ruby1.9.1
  25. --with-pg
  26. --without-pg
  27. --with-pg-config
  28. --without-pg-config
  29. --with-pg_config
  30. --without-pg_config
  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. /usr/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
  38. You have to install development tools first.
  39. from /usr/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
  40. from /usr/lib/ruby/1.9.1/mkmf.rb:440:in `try_link'
  41. from extconf.rb:39:in `<main>'
  42.  
  43.  
  44. Gem files will remain installed in /var/lib/gems/1.9.1/gems/pg-0.17.0 for inspection.
  45. Results logged to /var/lib/gems/1.9.1/gems/pg-0.17.0/ext/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement