Advertisement
xavi5

Gem pg bundle install error

May 2nd, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.06 KB | None | 0 0
  1. vagrant@ylosix-vm:/vagrant$ bundle install
  2. Fetching gem metadata from https://rubygems.org/
  3. Fetching version metadata from https://rubygems.org/
  4. Fetching dependency metadata from https://rubygems.org/
  5. Fetching git://github.com/ryanfox1985/annotate_models.git
  6. Fetching git://github.com/ylosix/liquid.git
  7. Installing rake 10.5.0
  8. Installing i18n 0.7.0
  9. Using json 1.8.3
  10. Installing minitest 5.8.4
  11. Installing thread_safe 0.3.5
  12. Installing builder 3.2.2
  13. Installing erubis 2.7.0
  14. Installing mini_portile2 2.0.0
  15. Installing rack 1.6.4
  16. Installing mime-types 2.99.1
  17. Installing sass 3.4.22
  18. Installing thor 0.19.1
  19. Installing coffee-script-source 1.10.0
  20. Installing execjs 2.6.0
  21. Installing formtastic_i18n 0.6.0
  22. Installing arel 6.0.3
  23. Using bundler 1.12.1
  24. Installing concurrent-ruby 1.0.1
  25. Installing tilt 2.0.2
  26. Installing addressable 2.4.0
  27. Installing ast 2.2.0
  28. Installing ice_nine 0.11.2
  29. Installing bcrypt 3.1.11 with native extensions
  30. Installing bower-rails 0.10.0
  31. Installing uniform_notifier 1.9.0
  32. Installing byebug 8.2.4 with native extensions
  33. Installing choice 0.2.0
  34. Installing orm_adapter 0.5.0
  35. Installing equalizer 0.0.11
  36. Installing docile 1.1.5
  37. Installing simplecov-html 0.10.0
  38. Installing colorize 0.7.7
  39. Installing tins 1.6.0
  40. Installing daemons 1.2.3
  41. Installing debug_inspector 0.0.2 with native extensions
  42. Installing devise-i18n 1.0.1
  43. Using did_you_mean 1.0.0
  44. Installing unf_ext 0.0.7.2 with native extensions
  45. Installing eventmachine 1.0.9.1 with native extensions
  46. Installing fast_stack 0.2.0 with native extensions
  47. Installing sexp_processor 4.7.0
  48. Installing multi_json 1.11.2
  49. Installing le 2.7.1
  50. Using liquid 4.0.0.alpha from git://github.com/ylosix/liquid.git (at master@9a4df89)
  51. Installing sqlite3 1.3.11 with native extensions
  52. Installing netrc 0.11.0
  53. Installing mimemagic 0.3.0
  54. Installing newrelic_rpm 3.15.1.316
  55. Installing request_store 1.3.1
  56. Installing pg 0.18.4 with native extensions
  57.  
  58. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  59.  
  60.     current directory: /home/vagrant/.rvm/gems/ruby-2.3.0@testing/gems/pg-0.18.4/ext
  61. /home/vagrant/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160502-18148-w48hrg.rb extconf.rb
  62. checking for pg_config... no
  63. No pg_config... trying anyway. If building fails, please try again with
  64.  --with-pg-config=/path/to/pg_config
  65. checking for libpq-fe.h... no
  66. Can't find the 'libpq-fe.h header
  67. *** extconf.rb failed ***
  68. Could not create Makefile due to some reason, probably lack of necessary
  69. libraries and/or headers.  Check the mkmf.log file for more details.  You may
  70. need configuration options.
  71.  
  72. Provided configuration options:
  73.         --with-opt-dir
  74.         --without-opt-dir
  75.         --with-opt-include
  76.         --without-opt-include=${opt-dir}/include
  77.         --with-opt-lib
  78.         --without-opt-lib=${opt-dir}/lib
  79.         --with-make-prog
  80.         --without-make-prog
  81.         --srcdir=.
  82.         --curdir
  83.         --ruby=/home/vagrant/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME)
  84.         --with-pg
  85.         --without-pg
  86.         --enable-windows-cross
  87.         --disable-windows-cross
  88.         --with-pg-config
  89.         --without-pg-config
  90.         --with-pg_config
  91.         --without-pg_config
  92.         --with-pg-dir
  93.         --without-pg-dir
  94.         --with-pg-include
  95.         --without-pg-include=${pg-dir}/include
  96.         --with-pg-lib
  97.         --without-pg-lib=${pg-dir}/lib
  98.  
  99. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  100.  
  101.   /home/vagrant/.rvm/gems/ruby-2.3.0@testing/extensions/x86_64-linux/2.3.0/pg-0.18.4/mkmf.log
  102.  
  103. extconf failed, exit code 1
  104.  
  105. Gem files will remain installed in /home/vagrant/.rvm/gems/ruby-2.3.0@testing/gems/pg-0.18.4 for inspection.
  106. Results logged to /home/vagrant/.rvm/gems/ruby-2.3.0@testing/extensions/x86_64-linux/2.3.0/pg-0.18.4/gem_make.out
  107. Installing powerpack 0.1.1
  108. Installing puma 3.4.0 with native extensions
  109. Installing ruby-graphviz 1.2.2
  110. Installing rainbow 2.1.0
  111. Installing ruby-progressbar 1.7.5
  112. Installing unicode-display_width 1.0.3
  113. Installing ruby-prof 0.15.9 with native extensions
  114. Installing rubyzip 1.2.0
  115. Installing slack-notifier 1.5.1
  116. Installing spring 1.7.1
  117. Installing stackprof 0.2.8 with native extensions
  118. Installing yard 0.8.7.6
  119. Installing rdoc 4.2.2
  120. Installing tzinfo 1.2.2
  121. Installing descendants_tracker 0.0.4
  122. Installing nokogiri 1.6.7.2 with native extensions
  123. Installing rack-test 0.6.3
  124. Installing warden 1.2.6
  125. Installing rack-protection 1.5.3
  126. Installing rack-mini-profiler 0.9.9.2
  127. Installing mail 2.6.4
  128. Installing bourbon 4.2.6
  129. Installing foreman 0.78.0
  130. Installing coffee-script 2.4.1
  131. Installing autoprefixer-rails 6.3.6
  132. Installing uglifier 2.7.2
  133. Installing sprockets 3.6.0
  134. Installing haml 4.0.7
  135. Installing launchy 2.4.3
  136. Installing parser 2.3.0.7
  137. Installing simplecov 0.11.2
  138. Installing term-ansicolor 1.3.2
  139. Installing unf 0.1.4
  140. Installing thin 1.5.1 with native extensions
  141. Installing flamegraph 0.1.0
  142. Installing ruby_parser 3.8.1
  143. An error occurred while installing pg (0.18.4), and Bundler cannot continue.
  144. Make sure that `gem install pg -v '0.18.4'` succeeds before bundling.
  145. vagrant@ylosix-vm:/vagrant$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement