RailsにPostgreをinstallしたいのですが、以下のエラーが出てきます。Netで調べているのですが、うまく行かず、解決方法をご存じの方は教えて頂けますと幸いです。
尚、こちらのサイトを参考にしました。
リンク内容
psql (PostgreSQL) 9.6.1はinstall済みです
*** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/chimaki1987/.rbenv/versions/2.3.0/bin/$(RUBY_BASE_NAME) --with-pg --without-pg --enable-windows-cross --disable-windows-cross --with-pg-config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/chimaki1987/cuty/cuty/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/pg-0.19.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /Users/chimaki1987/cuty/cuty/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0 for inspection. Results logged to /Users/chimaki1987/cuty/cuty/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/pg-0.19.0/gem_make.out An error occurred while installing pg (0.19.0), and Bundler cannot continue. Make sure that `gem install pg -v '0.19.0'` succeeds before bundling.
当方エスパーではないので/Users/chimaki1987/cuty/cuty/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/pg-0.19.0/mkmf.logを晒してくれないと
あなたの回答
tips
プレビュー