質問編集履歴

1

追記

2018/09/14 03:21

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,147 @@
43
43
 
44
44
 
45
45
  よろしくおねがいします
46
+
47
+
48
+
49
+ 追記: エラーログ
50
+
51
+ ```
52
+
53
+ Installing mysql2 0.3.20 with native extensions
54
+
55
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
56
+
57
+
58
+
59
+ /Users/assist1/.rbenv/versions/2.2.2/bin/ruby -r ./siteconf20180914-31937-1ra6qbf.rb extconf.rb
60
+
61
+ checking for ruby/thread.h... yes
62
+
63
+ checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
64
+
65
+ checking for rb_thread_blocking_region()... no
66
+
67
+ checking for rb_wait_for_single_fd()... yes
68
+
69
+ checking for rb_hash_dup()... yes
70
+
71
+ checking for rb_intern3()... yes
72
+
73
+ -----
74
+
75
+ Using mysql_config at /Users/assist1/local/homebrew/bin/mysql_config
76
+
77
+ -----
78
+
79
+ checking for mysql.h... yes
80
+
81
+ checking for errmsg.h... yes
82
+
83
+ checking for mysqld_error.h... yes
84
+
85
+ -----
86
+
87
+ Setting rpath to /Users/assist1/local/homebrew/Cellar/mysql/8.0.11/lib
88
+
89
+ -----
90
+
91
+ creating Makefile
92
+
93
+
94
+
95
+ make "DESTDIR=" clean
96
+
97
+
98
+
99
+ make "DESTDIR="
100
+
101
+ compiling infile.c
102
+
103
+ compiling client.c
104
+
105
+ client.c:439:3: error: use of undeclared identifier 'my_bool'
106
+
107
+ my_bool res = mysql_read_query_result(client);
108
+
109
+ ^
110
+
111
+ client.c:441:19: error: use of undeclared identifier 'res'
112
+
113
+ return (void *)(res == 0 ? Qtrue : Qfalse);
114
+
115
+ ^
116
+
117
+ client.c:775:3: error: use of undeclared identifier 'my_bool'
118
+
119
+ my_bool boolval;
120
+
121
+ ^
122
+
123
+ client.c:806:7: error: use of undeclared identifier 'boolval'
124
+
125
+ boolval = (value == Qfalse ? 0 : 1);
126
+
127
+ ^
128
+
129
+ client.c:807:17: error: use of undeclared identifier 'boolval'
130
+
131
+ retval = &boolval;
132
+
133
+ ^
134
+
135
+ client.c:810:10: error: use of undeclared identifier 'MYSQL_SECURE_AUTH'; did you mean 'MYSQL_DEFAULT_AUTH'?
136
+
137
+ case MYSQL_SECURE_AUTH:
138
+
139
+ ^~~~~~~~~~~~~~~~~
140
+
141
+ MYSQL_DEFAULT_AUTH
142
+
143
+ /Users/assist1/local/homebrew/Cellar/mysql/8.0.11/include/mysql/mysql.h:188:3: note: 'MYSQL_DEFAULT_AUTH' declared here
144
+
145
+ MYSQL_DEFAULT_AUTH,
146
+
147
+ ^
148
+
149
+ client.c:811:7: error: use of undeclared identifier 'boolval'
150
+
151
+ boolval = (value == Qfalse ? 0 : 1);
152
+
153
+ ^
154
+
155
+ client.c:812:17: error: use of undeclared identifier 'boolval'
156
+
157
+ retval = &boolval;
158
+
159
+ ^
160
+
161
+ client.c:843:38: error: use of undeclared identifier 'boolval'
162
+
163
+ wrapper->reconnect_enabled = boolval;
164
+
165
+ ^
166
+
167
+ client.c:1198:38: error: use of undeclared identifier 'MYSQL_SECURE_AUTH'; did you mean 'MYSQL_DEFAULT_AUTH'?
168
+
169
+ return _mysql_client_options(self, MYSQL_SECURE_AUTH, value);
170
+
171
+ ^~~~~~~~~~~~~~~~~
172
+
173
+ MYSQL_DEFAULT_AUTH
174
+
175
+ /Users/assist1/local/homebrew/Cellar/mysql/8.0.11/include/mysql/mysql.h:188:3: note: 'MYSQL_DEFAULT_AUTH' declared here
176
+
177
+ MYSQL_DEFAULT_AUTH,
178
+
179
+ ^
180
+
181
+ 10 errors generated.
182
+
183
+ make: *** [client.o] Error 1
184
+
185
+
186
+
187
+ make failed, exit code 2
188
+
189
+ ```