質問編集履歴
3
ごじ
test
CHANGED
File without changes
|
test
CHANGED
@@ -200,7 +200,7 @@
|
|
200
200
|
|
201
201
|
|
202
202
|
|
203
|
-
current directory: /Users/user_name/
|
203
|
+
current directory: /Users/user_name/app_anem/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
204
204
|
|
205
205
|
/Users/user_name/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20181127-41841-k7bxey.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
|
206
206
|
|
2
ごじ
test
CHANGED
File without changes
|
test
CHANGED
@@ -200,9 +200,9 @@
|
|
200
200
|
|
201
201
|
|
202
202
|
|
203
|
-
current directory: /Users/
|
203
|
+
current directory: /Users/user_name/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
204
|
-
|
204
|
+
|
205
|
-
/Users/
|
205
|
+
/Users/user_name/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20181127-41841-k7bxey.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
|
206
206
|
|
207
207
|
checking for rb_absint_size()... yes
|
208
208
|
|
@@ -258,13 +258,13 @@
|
|
258
258
|
|
259
259
|
|
260
260
|
|
261
|
-
current directory: /Users/
|
261
|
+
current directory: /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
262
262
|
|
263
263
|
make "DESTDIR=" clean
|
264
264
|
|
265
265
|
|
266
266
|
|
267
|
-
current directory: /Users/
|
267
|
+
current directory: /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
268
268
|
|
269
269
|
make "DESTDIR="
|
270
270
|
|
@@ -282,7 +282,7 @@
|
|
282
282
|
|
283
283
|
|
284
284
|
|
285
|
-
current directory: /Users/
|
285
|
+
current directory: /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
286
286
|
|
287
287
|
make "DESTDIR=" install
|
288
288
|
|
@@ -296,9 +296,9 @@
|
|
296
296
|
|
297
297
|
|
298
298
|
|
299
|
-
Gem files will remain installed in /Users/
|
299
|
+
Gem files will remain installed in /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10 for inspection.
|
300
|
-
|
300
|
+
|
301
|
-
Results logged to /Users/
|
301
|
+
Results logged to /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/mysql2-0.4.10/gem_make.out
|
302
302
|
|
303
303
|
|
304
304
|
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -171,3 +171,139 @@
|
|
171
171
|
mysql2のバージョンとかの問題だと思っているのですが、なかなか解決に繋がっておりません。
|
172
172
|
|
173
173
|
どなたかアドバイスいただけますと幸いです。
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
### 追記
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
ご指摘をいただきopensslの再インストールを行い改めてbundle install
|
196
|
+
|
197
|
+
```ここに言語を入力
|
198
|
+
|
199
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
204
|
+
|
205
|
+
/Users/saitoushigeyuki/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20181127-41841-k7bxey.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
|
206
|
+
|
207
|
+
checking for rb_absint_size()... yes
|
208
|
+
|
209
|
+
checking for rb_absint_singlebit_p()... yes
|
210
|
+
|
211
|
+
checking for ruby/thread.h... yes
|
212
|
+
|
213
|
+
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
|
214
|
+
|
215
|
+
checking for rb_thread_blocking_region()... no
|
216
|
+
|
217
|
+
checking for rb_wait_for_single_fd()... yes
|
218
|
+
|
219
|
+
checking for rb_hash_dup()... yes
|
220
|
+
|
221
|
+
checking for rb_intern3()... yes
|
222
|
+
|
223
|
+
checking for rb_big_cmp()... yes
|
224
|
+
|
225
|
+
-----
|
226
|
+
|
227
|
+
Using mysql_config at /usr/local/bin/mysql_config
|
228
|
+
|
229
|
+
-----
|
230
|
+
|
231
|
+
checking for mysql.h... yes
|
232
|
+
|
233
|
+
checking for errmsg.h... yes
|
234
|
+
|
235
|
+
checking for SSL_MODE_DISABLED in mysql.h... yes
|
236
|
+
|
237
|
+
checking for SSL_MODE_PREFERRED in mysql.h... yes
|
238
|
+
|
239
|
+
checking for SSL_MODE_REQUIRED in mysql.h... yes
|
240
|
+
|
241
|
+
checking for SSL_MODE_VERIFY_CA in mysql.h... yes
|
242
|
+
|
243
|
+
checking for SSL_MODE_VERIFY_IDENTITY in mysql.h... yes
|
244
|
+
|
245
|
+
checking for MYSQL.net.vio in mysql.h... yes
|
246
|
+
|
247
|
+
checking for MYSQL.net.pvio in mysql.h... no
|
248
|
+
|
249
|
+
checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
|
250
|
+
|
251
|
+
-----
|
252
|
+
|
253
|
+
Setting rpath to /usr/local/Cellar/mysql/8.0.12/lib
|
254
|
+
|
255
|
+
-----
|
256
|
+
|
257
|
+
creating Makefile
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
262
|
+
|
263
|
+
make "DESTDIR=" clean
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
268
|
+
|
269
|
+
make "DESTDIR="
|
270
|
+
|
271
|
+
compiling client.c
|
272
|
+
|
273
|
+
compiling infile.c
|
274
|
+
|
275
|
+
compiling mysql2_ext.c
|
276
|
+
|
277
|
+
compiling result.c
|
278
|
+
|
279
|
+
compiling statement.c
|
280
|
+
|
281
|
+
linking shared-object mysql2/mysql2.bundle
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
286
|
+
|
287
|
+
make "DESTDIR=" install
|
288
|
+
|
289
|
+
make: /usr/local/bin/gmkdir: No such file or directory
|
290
|
+
|
291
|
+
make: *** [.sitearchdir.-.mysql2.time] Error 1
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
make install failed, exit code 2
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
Gem files will remain installed in /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10 for inspection.
|
300
|
+
|
301
|
+
Results logged to /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/mysql2-0.4.10/gem_make.out
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
|
306
|
+
|
307
|
+
Make sure that `gem install mysql2 -v '0.4.10' --source 'https://rubygems.org/'` succeeds before bundling.
|
308
|
+
|
309
|
+
```
|