質問編集履歴
1
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -179,3 +179,127 @@
|
|
179
179
|
となり、エラーが出てしまいます。
|
180
180
|
|
181
181
|
これを治すにはどのようにすればよいでしょうか。
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
P.S /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/pg-1.0.0/gem_make.outの中身は下記です。
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
```ここに言語を入力
|
194
|
+
|
195
|
+
current directory: /Library/Ruby/Gems/2.3.0/gems/pg-1.0.0/ext
|
196
|
+
|
197
|
+
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180416-8796-1v2mml5.rb extconf.rb
|
198
|
+
|
199
|
+
checking for pg_config... yes
|
200
|
+
|
201
|
+
Using config values from /usr/local/bin/pg_config
|
202
|
+
|
203
|
+
checking for libpq-fe.h... yes
|
204
|
+
|
205
|
+
checking for libpq/libpq-fs.h... yes
|
206
|
+
|
207
|
+
checking for pg_config_manual.h... yes
|
208
|
+
|
209
|
+
checking for PQconnectdb() in -lpq... no
|
210
|
+
|
211
|
+
checking for PQconnectdb() in -llibpq... no
|
212
|
+
|
213
|
+
checking for PQconnectdb() in -lms/libpq... no
|
214
|
+
|
215
|
+
Can't find the PostgreSQL client library (libpq)
|
216
|
+
|
217
|
+
*** extconf.rb failed ***
|
218
|
+
|
219
|
+
Could not create Makefile due to some reason, probably lack of necessary
|
220
|
+
|
221
|
+
libraries and/or headers. Check the mkmf.log file for more details. You may
|
222
|
+
|
223
|
+
need configuration options.
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
Provided configuration options:
|
228
|
+
|
229
|
+
--with-opt-dir
|
230
|
+
|
231
|
+
--without-opt-dir
|
232
|
+
|
233
|
+
--with-opt-include
|
234
|
+
|
235
|
+
--without-opt-include=${opt-dir}/include
|
236
|
+
|
237
|
+
--with-opt-lib
|
238
|
+
|
239
|
+
--without-opt-lib=${opt-dir}/lib
|
240
|
+
|
241
|
+
--with-make-prog
|
242
|
+
|
243
|
+
--without-make-prog
|
244
|
+
|
245
|
+
--srcdir=.
|
246
|
+
|
247
|
+
--curdir
|
248
|
+
|
249
|
+
--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/$(RUBY_BASE_NAME)
|
250
|
+
|
251
|
+
--with-pg
|
252
|
+
|
253
|
+
--without-pg
|
254
|
+
|
255
|
+
--enable-windows-cross
|
256
|
+
|
257
|
+
--disable-windows-cross
|
258
|
+
|
259
|
+
--with-pg-config
|
260
|
+
|
261
|
+
--without-pg-config
|
262
|
+
|
263
|
+
--with-pg_config
|
264
|
+
|
265
|
+
--without-pg_config
|
266
|
+
|
267
|
+
--with-pg-dir
|
268
|
+
|
269
|
+
--without-pg-dir
|
270
|
+
|
271
|
+
--with-pg-include
|
272
|
+
|
273
|
+
--without-pg-include=${pg-dir}/include
|
274
|
+
|
275
|
+
--with-pg-lib
|
276
|
+
|
277
|
+
--without-pg-lib=${pg-dir}/lib
|
278
|
+
|
279
|
+
--with-pqlib
|
280
|
+
|
281
|
+
--without-pqlib
|
282
|
+
|
283
|
+
--with-libpqlib
|
284
|
+
|
285
|
+
--without-libpqlib
|
286
|
+
|
287
|
+
--with-ms/libpqlib
|
288
|
+
|
289
|
+
--without-ms/libpqlib
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
To see why this extension failed to compile, please check the mkmf.log which can be found here:
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
/Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/pg-1.0.0/mkmf.log
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
extconf failed, exit code 1
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
```
|