質問編集履歴
2
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -168,4 +168,100 @@
|
|
168
168
|
|
169
169
|
|
170
170
|
|
171
|
+
## 追加現状 gem_make.out内
|
172
|
+
|
173
|
+
```
|
174
|
+
|
175
|
+
current directory: /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/ext/mysql2
|
176
|
+
|
177
|
+
/Users/kousaka/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20191218-23610-14rny5h.rb extconf.rb
|
178
|
+
|
179
|
+
checking for rb_absint_size()... yes
|
180
|
+
|
181
|
+
checking for rb_absint_singlebit_p()... yes
|
182
|
+
|
183
|
+
checking for rb_wait_for_single_fd()... yes
|
184
|
+
|
185
|
+
-----
|
186
|
+
|
187
|
+
Using mysql_config at /usr/local/opt/mysql@5.6/bin/mysql_config
|
188
|
+
|
189
|
+
-----
|
190
|
+
|
191
|
+
checking for mysql.h... yes
|
192
|
+
|
193
|
+
checking for errmsg.h... yes
|
194
|
+
|
195
|
+
checking for SSL_MODE_DISABLED in mysql.h... no
|
196
|
+
|
197
|
+
checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
|
198
|
+
|
199
|
+
checking for MYSQL.net.vio in mysql.h... yes
|
200
|
+
|
201
|
+
checking for MYSQL.net.pvio in mysql.h... no
|
202
|
+
|
203
|
+
checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
|
204
|
+
|
205
|
+
checking for SERVER_QUERY_NO_GOOD_INDEX_USED in mysql.h... yes
|
206
|
+
|
207
|
+
checking for SERVER_QUERY_NO_INDEX_USED in mysql.h... yes
|
208
|
+
|
209
|
+
checking for SERVER_QUERY_WAS_SLOW in mysql.h... yes
|
210
|
+
|
211
|
+
checking for MYSQL_OPTION_MULTI_STATEMENTS_ON in mysql.h... yes
|
212
|
+
|
213
|
+
checking for MYSQL_OPTION_MULTI_STATEMENTS_OFF in mysql.h... yes
|
214
|
+
|
215
|
+
checking for my_bool in mysql.h... yes
|
216
|
+
|
217
|
+
-----
|
218
|
+
|
219
|
+
Don't know how to set rpath on your system, if MySQL libraries are not in path mysql2 may not load
|
220
|
+
|
221
|
+
-----
|
222
|
+
|
223
|
+
-----
|
224
|
+
|
225
|
+
Setting libpath to /usr/local/opt/mysql@5.6/lib
|
226
|
+
|
227
|
+
-----
|
228
|
+
|
229
|
+
creating Makefile
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
current directory: /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/ext/mysql2
|
234
|
+
|
235
|
+
make "DESTDIR=" clean
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
current directory: /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/ext/mysql2
|
240
|
+
|
241
|
+
make "DESTDIR="
|
242
|
+
|
243
|
+
compiling client.c
|
244
|
+
|
245
|
+
compiling infile.c
|
246
|
+
|
247
|
+
compiling mysql2_ext.c
|
248
|
+
|
249
|
+
compiling result.c
|
250
|
+
|
251
|
+
compiling statement.c
|
252
|
+
|
171
|
-
|
253
|
+
linking shared-object mysql2/mysql2.bundle
|
254
|
+
|
255
|
+
ld: library not found for -lssl
|
256
|
+
|
257
|
+
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
258
|
+
|
259
|
+
make: *** [mysql2.bundle] Error 1
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
make failed, exit code 2
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
```
|
1
エラー文追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,11 +8,133 @@
|
|
8
8
|
|
9
9
|
## エラー文
|
10
10
|
|
11
|
+
```
|
12
|
+
|
11
|
-
|
13
|
+
Installing mysql2 0.5.3 with native extensions
|
14
|
+
|
15
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
12
16
|
|
13
17
|
|
14
18
|
|
19
|
+
current directory: /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/ext/mysql2
|
15
20
|
|
21
|
+
/Users/kousaka/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20191218-22120-19ybcfe.rb extconf.rb
|
22
|
+
|
23
|
+
checking for rb_absint_size()... yes
|
24
|
+
|
25
|
+
checking for rb_absint_singlebit_p()... yes
|
26
|
+
|
27
|
+
checking for rb_wait_for_single_fd()... yes
|
28
|
+
|
29
|
+
-----
|
30
|
+
|
31
|
+
Using mysql_config at /usr/local/opt/mysql@5.6/bin/mysql_config
|
32
|
+
|
33
|
+
-----
|
34
|
+
|
35
|
+
checking for mysql.h... yes
|
36
|
+
|
37
|
+
checking for errmsg.h... yes
|
38
|
+
|
39
|
+
checking for SSL_MODE_DISABLED in mysql.h... no
|
40
|
+
|
41
|
+
checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
|
42
|
+
|
43
|
+
checking for MYSQL.net.vio in mysql.h... yes
|
44
|
+
|
45
|
+
checking for MYSQL.net.pvio in mysql.h... no
|
46
|
+
|
47
|
+
checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
|
48
|
+
|
49
|
+
checking for SERVER_QUERY_NO_GOOD_INDEX_USED in mysql.h... yes
|
50
|
+
|
51
|
+
checking for SERVER_QUERY_NO_INDEX_USED in mysql.h... yes
|
52
|
+
|
53
|
+
checking for SERVER_QUERY_WAS_SLOW in mysql.h... yes
|
54
|
+
|
55
|
+
checking for MYSQL_OPTION_MULTI_STATEMENTS_ON in mysql.h... yes
|
56
|
+
|
57
|
+
checking for MYSQL_OPTION_MULTI_STATEMENTS_OFF in mysql.h... yes
|
58
|
+
|
59
|
+
checking for my_bool in mysql.h... yes
|
60
|
+
|
61
|
+
-----
|
62
|
+
|
63
|
+
Don't know how to set rpath on your system, if MySQL libraries are not in path mysql2 may not load
|
64
|
+
|
65
|
+
-----
|
66
|
+
|
67
|
+
-----
|
68
|
+
|
69
|
+
Setting libpath to /usr/local/opt/mysql@5.6/lib
|
70
|
+
|
71
|
+
-----
|
72
|
+
|
73
|
+
creating Makefile
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
current directory: /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/ext/mysql2
|
78
|
+
|
79
|
+
make "DESTDIR=" clean
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
current directory: /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/ext/mysql2
|
84
|
+
|
85
|
+
make "DESTDIR="
|
86
|
+
|
87
|
+
compiling client.c
|
88
|
+
|
89
|
+
compiling infile.c
|
90
|
+
|
91
|
+
compiling mysql2_ext.c
|
92
|
+
|
93
|
+
compiling result.c
|
94
|
+
|
95
|
+
compiling statement.c
|
96
|
+
|
97
|
+
linking shared-object mysql2/mysql2.bundle
|
98
|
+
|
99
|
+
ld: library not found for -lssl
|
100
|
+
|
101
|
+
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
102
|
+
|
103
|
+
make: *** [mysql2.bundle] Error 1
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
make failed, exit code 2
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
Gem files will remain installed in /Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3 for
|
112
|
+
|
113
|
+
inspection.
|
114
|
+
|
115
|
+
Results logged to
|
116
|
+
|
117
|
+
/Users/kousaka/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-18/2.5.0/mysql2-0.5.3/gem_make.out
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.
|
122
|
+
|
123
|
+
Make sure that `gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/'` succeeds before bundling.
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
In Gemfile:
|
128
|
+
|
129
|
+
mysql2
|
130
|
+
|
131
|
+
run bundle exec spring binstub --all
|
132
|
+
|
133
|
+
* bin/rake: Spring inserted
|
134
|
+
|
135
|
+
* bin/rails: Spring inserted
|
136
|
+
|
137
|
+
```
|
16
138
|
|
17
139
|
|
18
140
|
|
@@ -43,3 +165,7 @@
|
|
43
165
|
たりないもの等ございましたら指摘して頂けると幸いです。
|
44
166
|
|
45
167
|
よろしくお願いいたします.
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
![イメージ説明](4f3314d4fe3a7d5f705e99208c93452c.png)
|