teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

追加

2018/04/16 09:03

投稿

satokiyoshino
satokiyoshino

スコア11

title CHANGED
File without changes
body CHANGED
@@ -88,4 +88,66 @@
88
88
 
89
89
  ```
90
90
  となり、エラーが出てしまいます。
91
- これを治すにはどのようにすればよいでしょうか。
91
+ これを治すにはどのようにすればよいでしょうか。
92
+
93
+
94
+
95
+ P.S /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/pg-1.0.0/gem_make.outの中身は下記です。
96
+
97
+ ```ここに言語を入力
98
+ current directory: /Library/Ruby/Gems/2.3.0/gems/pg-1.0.0/ext
99
+ /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180416-8796-1v2mml5.rb extconf.rb
100
+ checking for pg_config... yes
101
+ Using config values from /usr/local/bin/pg_config
102
+ checking for libpq-fe.h... yes
103
+ checking for libpq/libpq-fs.h... yes
104
+ checking for pg_config_manual.h... yes
105
+ checking for PQconnectdb() in -lpq... no
106
+ checking for PQconnectdb() in -llibpq... no
107
+ checking for PQconnectdb() in -lms/libpq... no
108
+ Can't find the PostgreSQL client library (libpq)
109
+ *** extconf.rb failed ***
110
+ Could not create Makefile due to some reason, probably lack of necessary
111
+ libraries and/or headers. Check the mkmf.log file for more details. You may
112
+ need configuration options.
113
+
114
+ Provided configuration options:
115
+ --with-opt-dir
116
+ --without-opt-dir
117
+ --with-opt-include
118
+ --without-opt-include=${opt-dir}/include
119
+ --with-opt-lib
120
+ --without-opt-lib=${opt-dir}/lib
121
+ --with-make-prog
122
+ --without-make-prog
123
+ --srcdir=.
124
+ --curdir
125
+ --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/$(RUBY_BASE_NAME)
126
+ --with-pg
127
+ --without-pg
128
+ --enable-windows-cross
129
+ --disable-windows-cross
130
+ --with-pg-config
131
+ --without-pg-config
132
+ --with-pg_config
133
+ --without-pg_config
134
+ --with-pg-dir
135
+ --without-pg-dir
136
+ --with-pg-include
137
+ --without-pg-include=${pg-dir}/include
138
+ --with-pg-lib
139
+ --without-pg-lib=${pg-dir}/lib
140
+ --with-pqlib
141
+ --without-pqlib
142
+ --with-libpqlib
143
+ --without-libpqlib
144
+ --with-ms/libpqlib
145
+ --without-ms/libpqlib
146
+
147
+ To see why this extension failed to compile, please check the mkmf.log which can be found here:
148
+
149
+ /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/pg-1.0.0/mkmf.log
150
+
151
+ extconf failed, exit code 1
152
+
153
+ ```