質問編集履歴
2
curlを/usr/bin/curlとなるように調整
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,9 +32,9 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
Inspect or clean up the working tree at /var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.201911181
|
35
|
+
Inspect or clean up the working tree at /var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118174942.13224
|
36
|
-
|
36
|
+
|
37
|
-
Results logged to /var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.201911181
|
37
|
+
Results logged to /var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118174942.13224.log
|
38
38
|
|
39
39
|
|
40
40
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
checking whether the C compiler works... no
|
54
54
|
|
55
|
-
configure: error: in `/var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.201911181
|
55
|
+
configure: error: in `/var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118174942.13224/Python-3.6.9':
|
56
56
|
|
57
57
|
configure: error: C compiler cannot create executables
|
58
58
|
|
@@ -60,7 +60,11 @@
|
|
60
60
|
|
61
61
|
make: *** No targets specified and no makefile found. Stop.
|
62
62
|
|
63
|
-
(base) MacBook-Pro:~
|
63
|
+
(base) twinte-MacBook-Pro:~ yuka$ cd var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118174942.13224/Python-3.6.9
|
64
|
+
|
65
|
+
bash: cd: var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118174942.13224/Python-3.6.9: No such file or directory
|
66
|
+
|
67
|
+
|
64
68
|
|
65
69
|
```
|
66
70
|
|
@@ -84,9 +88,15 @@
|
|
84
88
|
|
85
89
|
pyenvのアップデート
|
86
90
|
|
87
|
-
|
91
|
+
xcode-select --installの実行
|
88
|
-
|
92
|
+
|
89
|
-
config.log
|
93
|
+
config.logの中身を色々と調べてみたところ、似たような問題で悩んでいた方が見つからず、自分でもよく理解できなかったため、皆様のお力を貸してください
|
94
|
+
|
95
|
+
【追記】アドバイスいただいた通りhttps://teratail.com/questions/179205の手法でcurlを/usr/bin/curlとなるように調整、未だエラーのまま
|
96
|
+
|
97
|
+
以下config.logの中身
|
98
|
+
|
99
|
+
|
90
100
|
|
91
101
|
```config.log
|
92
102
|
|
@@ -128,7 +138,7 @@
|
|
128
138
|
|
129
139
|
configure:2878: checking for python3.6
|
130
140
|
|
131
|
-
configure:2894: found /
|
141
|
+
configure:2894: found /usr/local/bin/python3.6
|
132
142
|
|
133
143
|
configure:2905: result: python3.6
|
134
144
|
|
@@ -250,7 +260,7 @@
|
|
250
260
|
|
251
261
|
| }
|
252
262
|
|
253
|
-
configure:4005: error: in `/var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.201911181
|
263
|
+
configure:4005: error: in `/var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118174942.13224/Python-3.6.9':
|
254
264
|
|
255
265
|
configure:4007: error: C compiler cannot create executables
|
256
266
|
|
@@ -258,6 +268,8 @@
|
|
258
268
|
|
259
269
|
|
260
270
|
|
271
|
+
|
272
|
+
|
261
273
|
(中略)
|
262
274
|
|
263
275
|
|
@@ -290,7 +302,7 @@
|
|
290
302
|
|
291
303
|
```
|
292
304
|
|
293
|
-
|
305
|
+
|
294
306
|
|
295
307
|
|
296
308
|
|
1
config.logの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,7 +84,211 @@
|
|
84
84
|
|
85
85
|
pyenvのアップデート
|
86
86
|
|
87
|
-
とあるサイトの通りにconfig.logの検索を行ったがそれらしいものは見つからなかった
|
87
|
+
~~とあるサイトの通りにconfig.logの検索を行ったがそれらしいものは見つからなかった~~
|
88
|
+
|
89
|
+
config.logを発見することができました。ログの中身を色々と調べてみたところ、似たような問題で悩んでいた方が見つからず、自分でもよく理解できなかったため、皆様のお力を貸してください
|
90
|
+
|
91
|
+
```config.log
|
92
|
+
|
93
|
+
This file contains any messages produced by co
|
94
|
+
|
95
|
+
mpilers while
|
96
|
+
|
97
|
+
running configure, to aid debugging if configure makes a mistake.
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
It was created by python configure 3.6, which was
|
102
|
+
|
103
|
+
generated by GNU Autoconf 2.69. Invocation command line was
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
(中略)
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
## ----------- ##
|
114
|
+
|
115
|
+
## Core tests. ##
|
116
|
+
|
117
|
+
## ----------- ##
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
configure:2801: checking build system type
|
122
|
+
|
123
|
+
configure:2815: result: x86_64-apple-darwin18.7.0
|
124
|
+
|
125
|
+
configure:2835: checking host system type
|
126
|
+
|
127
|
+
configure:2848: result: x86_64-apple-darwin18.7.0
|
128
|
+
|
129
|
+
configure:2878: checking for python3.6
|
130
|
+
|
131
|
+
configure:2894: found /Users/user/.pyenv/shims/python3.6
|
132
|
+
|
133
|
+
configure:2905: result: python3.6
|
134
|
+
|
135
|
+
configure:3005: checking for --enable-universalsdk
|
136
|
+
|
137
|
+
configure:3052: result: no
|
138
|
+
|
139
|
+
configure:3075: checking for --with-universal-archs
|
140
|
+
|
141
|
+
configure:3090: result: no
|
142
|
+
|
143
|
+
configure:3240: checking MACHDEP
|
144
|
+
|
145
|
+
configure:3449: result: darwin
|
146
|
+
|
147
|
+
configure:3470: checking for --without-gcc
|
148
|
+
|
149
|
+
configure:3493: result: no
|
150
|
+
|
151
|
+
configure:3496: checking for --with-icc
|
152
|
+
|
153
|
+
configure:3516: result: no
|
154
|
+
|
155
|
+
configure:3640: checking for gcc
|
156
|
+
|
157
|
+
configure:3667: result: clang
|
158
|
+
|
159
|
+
configure:3896: checking for C compiler version
|
160
|
+
|
161
|
+
configure:3905: clang --version >&5
|
162
|
+
|
163
|
+
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
|
164
|
+
|
165
|
+
Target: x86_64-apple-darwin18.7.0
|
166
|
+
|
167
|
+
Thread model: posix
|
168
|
+
|
169
|
+
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
|
170
|
+
|
171
|
+
configure:3916: $? = 0
|
172
|
+
|
173
|
+
configure:3905: clang -v >&5
|
174
|
+
|
175
|
+
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
|
176
|
+
|
177
|
+
Target: x86_64-apple-darwin18.7.0
|
178
|
+
|
179
|
+
Thread model: posix
|
180
|
+
|
181
|
+
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
|
182
|
+
|
183
|
+
Found CUDA installation: /usr/local/cuda, version unknown
|
184
|
+
|
185
|
+
configure:3916: $? = 0
|
186
|
+
|
187
|
+
configure:3905: clang -V >&5
|
188
|
+
|
189
|
+
clang: error: unsupported option '-V -Wno-atomic-implicit-seq-cst'
|
190
|
+
|
191
|
+
clang: error: no input files
|
192
|
+
|
193
|
+
configure:3916: $? = 1
|
194
|
+
|
195
|
+
configure:3905: clang -qversion >&5
|
196
|
+
|
197
|
+
clang: error: unknown argument '-qversion', did you mean '--version'?
|
198
|
+
|
199
|
+
clang: error: no input files
|
200
|
+
|
201
|
+
configure:3916: $? = 1
|
202
|
+
|
203
|
+
configure:3936: checking whether the C compiler works
|
204
|
+
|
205
|
+
configure:3958: clang -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/usr/local/opt/openssl@1.1/include -I/Users/user/.pyenv/versions/3.6.9/include -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/openssl@1.1/lib -L/Users/user/.pyenv/versions/3.6.9/lib conftest.c >&5
|
206
|
+
|
207
|
+
dyld: Library not loaded: @rpath/libtapi.dylib
|
208
|
+
|
209
|
+
Referenced from: /Library/Developer/CommandLineTools/usr/bin/ld
|
210
|
+
|
211
|
+
Reason: image not found
|
212
|
+
|
213
|
+
clang: error: unable to execute command: Abort trap: 6
|
214
|
+
|
215
|
+
clang: error: linker command failed due to signal (use -v to see invocation)
|
216
|
+
|
217
|
+
configure:3962: $? = 254
|
218
|
+
|
219
|
+
configure:4000: result: no
|
220
|
+
|
221
|
+
configure: failed program was:
|
222
|
+
|
223
|
+
| /* confdefs.h */
|
224
|
+
|
225
|
+
| #define _GNU_SOURCE 1
|
226
|
+
|
227
|
+
| #define _NETBSD_SOURCE 1
|
228
|
+
|
229
|
+
| #define __BSD_VISIBLE 1
|
230
|
+
|
231
|
+
| #define _BSD_TYPES 1
|
232
|
+
|
233
|
+
| #define _DARWIN_C_SOURCE 1
|
234
|
+
|
235
|
+
| /* end confdefs.h. */
|
236
|
+
|
237
|
+
|
|
238
|
+
|
239
|
+
| int
|
240
|
+
|
241
|
+
| main ()
|
242
|
+
|
243
|
+
| {
|
244
|
+
|
245
|
+
|
|
246
|
+
|
247
|
+
| ;
|
248
|
+
|
249
|
+
| return 0;
|
250
|
+
|
251
|
+
| }
|
252
|
+
|
253
|
+
configure:4005: error: in `/var/folders/1w/n7_6cwys5c77hdvrl8v_r6ym0000gn/T/python-build.20191118152620.11029/Python-3.6.9':
|
254
|
+
|
255
|
+
configure:4007: error: C compiler cannot create executables
|
256
|
+
|
257
|
+
See `config.log' for more details
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
(中略)
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
## ----------- ##
|
266
|
+
|
267
|
+
## confdefs.h. ##
|
268
|
+
|
269
|
+
## ----------- ##
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
/* confdefs.h */
|
274
|
+
|
275
|
+
#define _GNU_SOURCE 1
|
276
|
+
|
277
|
+
#define _NETBSD_SOURCE 1
|
278
|
+
|
279
|
+
#define __BSD_VISIBLE 1
|
280
|
+
|
281
|
+
#define _BSD_TYPES 1
|
282
|
+
|
283
|
+
#define _DARWIN_C_SOURCE 1
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
configure: exit 77
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
```
|
88
292
|
|
89
293
|
xcode-select --installの実行
|
90
294
|
|