teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

ターミナルのエラーログを追記しました

2019/05/11 01:54

投稿

yuki0920
yuki0920

スコア31

title CHANGED
File without changes
body CHANGED
@@ -68,8 +68,13 @@
68
68
  checking host system type... x86_64-apple-darwin18.5.0
69
69
  checking target system type... x86_64-apple-darwin18.5.0
70
70
  checking whether the C compiler works... no
71
- configure: error: in `/var/folders/d6/0hgvlg7n40q_yw0z_j8kj3600000gn/T/ruby-buil
71
+ configure: error: in `/var/folders/d6/0hgvlg7n40q_yw0z_j8kj3600000gn/T/ruby-build.20190511105021.1635/ruby-2.5.1':
72
+ configure: error: C compiler cannot create executables
73
+ See `config.log' for more details
74
+ make: *** No targets specified and no makefile found. Stop.
72
75
  ```
76
+
77
+ # cofig.logの内容
73
78
  ```
74
79
  This file contains any messages produced by compilers while
75
80
  running configure, to aid debugging if configure makes a mistake.

1

config.logの追記

2019/05/11 01:54

投稿

yuki0920
yuki0920

スコア31

title CHANGED
File without changes
body CHANGED
@@ -69,4 +69,238 @@
69
69
  checking target system type... x86_64-apple-darwin18.5.0
70
70
  checking whether the C compiler works... no
71
71
  configure: error: in `/var/folders/d6/0hgvlg7n40q_yw0z_j8kj3600000gn/T/ruby-buil
72
+ ```
73
+ ```
74
+ This file contains any messages produced by compilers while
75
+ running configure, to aid debugging if configure makes a mistake.
76
+
77
+ It was created by configure, which was
78
+ generated by GNU Autoconf 2.69. Invocation command line was
79
+
80
+ $ ./configure --prefix=/Users/yu-kiwatanabe 1/.rbenv/versions/2.5.1 --with-openssl-dir=/usr/local/opt/openssl --with-readline-dir=/usr/local/opt/readline
81
+
82
+ ## --------- ##
83
+ ## Platform. ##
84
+ ## --------- ##
85
+
86
+ hostname = yu-kiwatanabe-no-MacBook-Pro.local
87
+ uname -m = x86_64
88
+ uname -r = 18.5.0
89
+ uname -s = Darwin
90
+ uname -v = Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64
91
+
92
+ /usr/bin/uname -p = i386
93
+ /bin/uname -X = unknown
94
+
95
+ /bin/arch = unknown
96
+ /usr/bin/arch -k = unknown
97
+ /usr/convex/getsysinfo = unknown
98
+ /usr/bin/hostinfo = Mach kernel version:
99
+ Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64
100
+ Kernel configured for up to 4 processors.
101
+ 2 processors are physically available.
102
+ 4 processors are logically available.
103
+ Processor type: x86_64h (Intel x86-64h Haswell)
104
+ Processors active: 0 1 2 3
105
+ Primary memory available: 16.00 gigabytes
106
+ Default processor set: 409 tasks, 1974 threads, 4 processors
107
+ Load average: 2.80, Mach factor: 1.66
108
+ /bin/machine = unknown
109
+ /usr/bin/oslevel = unknown
110
+ /bin/universe = unknown
111
+
112
+ PATH: /usr/local/Cellar/rbenv/1.1.1/libexec
113
+ PATH: /Users/yu-kiwatanabe 1/.rbenv/shims
114
+ PATH: /Users/yu-kiwatanabe 1/.rbenv/bin
115
+ PATH: /Users/yu-kiwatanabe 1/.rbenv/shims
116
+ PATH: /Users/yu-kiwatanabe 1/.rbenv/bin
117
+ PATH: /usr/local/bin
118
+ PATH: /usr/bin
119
+ PATH: /bin
120
+ PATH: /usr/sbin
121
+ PATH: /sbin
122
+ PATH: /opt/X11/bin
123
+ PATH: /usr/local/bin
124
+
125
+
126
+ ## ----------- ##
127
+ ## Core tests. ##
128
+ ## ----------- ##
129
+
130
+ configure:2962: checking for ruby
131
+ configure:2980: found /usr/bin/ruby
132
+ configure:2993: result: /usr/bin/ruby
133
+ configure:3079: checking build system type
134
+ configure:3093: result: x86_64-apple-darwin18.5.0
135
+ configure:3181: checking host system type
136
+ configure:3194: result: x86_64-apple-darwin18.5.0
137
+ configure:3214: checking target system type
138
+ configure:3227: result: x86_64-apple-darwin18.5.0
139
+ configure:3888: checking for C compiler version
140
+ configure:3897: clang --version >&5
141
+ Apple LLVM version 10.0.1 (clang-1001.0.46.4)
142
+ Target: x86_64-apple-darwin18.5.0
143
+ Thread model: posix
144
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
145
+ configure:3908: $? = 0
146
+ configure:3897: clang -v >&5
147
+ Apple LLVM version 10.0.1 (clang-1001.0.46.4)
148
+ Target: x86_64-apple-darwin18.5.0
149
+ Thread model: posix
150
+ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
151
+ configure:3908: $? = 0
152
+ configure:3897: clang -V >&5
153
+ clang: error: unsupported option '-V -Wno-atomic-implicit-seq-cst'
154
+ clang: error: no input files
155
+ configure:3908: $? = 1
156
+ configure:3897: clang -qversion >&5
157
+ clang: error: unknown argument '-qversion', did you mean '--version'?
158
+ clang: error: no input files
159
+ configure:3908: $? = 1
160
+ configure:3928: checking whether the C compiler works
161
+ configure:3950: clang -I/Users/yu-kiwatanabe 1/.rbenv/versions/2.5.1/include -L/Users/yu-kiwatanabe 1/.rbenv/versions/2.5.1/lib conftest.c >&5
162
+ clang: error: no such file or directory: '1/.rbenv/versions/2.5.1/include'
163
+ clang: error: no such file or directory: '1/.rbenv/versions/2.5.1/lib'
164
+ configure:3954: $? = 1
165
+ configure:3992: result: no
166
+ configure: failed program was:
167
+ | /* confdefs.h */
168
+ | #define PACKAGE_NAME ""
169
+ | #define PACKAGE_TARNAME ""
170
+ | #define PACKAGE_VERSION ""
171
+ | #define PACKAGE_STRING ""
172
+ | #define PACKAGE_BUGREPORT ""
173
+ | #define PACKAGE_URL ""
174
+ | #define CANONICALIZATION_FOR_MATHN 1
175
+ | /* end confdefs.h. */
176
+ |
177
+ | int
178
+ | main ()
179
+ | {
180
+ |
181
+ | ;
182
+ | return 0;
183
+ | }
184
+ configure:3997: error: in `/var/folders/d6/0hgvlg7n40q_yw0z_j8kj3600000gn/T/ruby-build.20190511000829.58813/ruby-2.5.1':
185
+ configure:3999: error: C compiler cannot create executables
186
+ See `config.log' for more details
187
+
188
+ ## ---------------- ##
189
+ ## Cache variables. ##
190
+ ## ---------------- ##
191
+
192
+ ac_cv_build=x86_64-apple-darwin18.5.0
193
+ ac_cv_env_CCC_set=
194
+ ac_cv_env_CCC_value=
195
+ ac_cv_env_CC_set=set
196
+ ac_cv_env_CC_value=clang
197
+ ac_cv_env_CFLAGS_set=
198
+ ac_cv_env_CFLAGS_value=
199
+ ac_cv_env_CPPFLAGS_set=set
200
+ ac_cv_env_CPPFLAGS_value='-I/Users/yu-kiwatanabe 1/.rbenv/versions/2.5.1/include '
201
+ ac_cv_env_CPP_set=
202
+ ac_cv_env_CPP_value=
203
+ ac_cv_env_CXXFLAGS_set=
204
+ ac_cv_env_CXXFLAGS_value=
205
+ ac_cv_env_CXX_set=
206
+ ac_cv_env_CXX_value=
207
+ ac_cv_env_LDFLAGS_set=set
208
+ ac_cv_env_LDFLAGS_value='-L/Users/yu-kiwatanabe 1/.rbenv/versions/2.5.1/lib '
209
+ ac_cv_env_LIBS_set=
210
+ ac_cv_env_LIBS_value=
211
+ ac_cv_env_build_alias_set=
212
+ ac_cv_env_build_alias_value=
213
+ ac_cv_env_cflags_set=
214
+ ac_cv_env_cflags_value=
215
+ ac_cv_env_cppflags_set=
216
+ ac_cv_env_cppflags_value=
217
+ ac_cv_env_cxxflags_set=
218
+ ac_cv_env_cxxflags_value=
219
+ ac_cv_env_host_alias_set=
220
+ ac_cv_env_host_alias_value=
221
+ ac_cv_env_target_alias_set=
222
+ ac_cv_env_target_alias_value=
223
+ ac_cv_host=x86_64-apple-darwin18.5.0
224
+ ac_cv_path_BASERUBY=/usr/bin/ruby
225
+ ac_cv_prog_CC=clang
226
+ ac_cv_target=x86_64-apple-darwin18.5.0
227
+
228
+ ## ----------------- ##
229
+ ## Output variables. ##
230
+ ## ----------------- ##
231
+
232
+ ALLOCA=''
233
+ AR=''
234
+ ARCHFILE=''
235
+ ARCH_FLAG=''
236
+ ARFLAGS=''
237
+ AS=''
238
+ ASFLAGS=''
239
+ ASMEXT=''
240
+ BASERUBY='/usr/bin/ruby --disable=gems'
241
+ BOOTSTRAPRUBY=''
242
+ BTESTRUBY=''
243
+ BUILTIN_ENCOBJS=''
244
+ BUILTIN_TRANSOBJS=''
245
+ BUILTIN_TRANSSRCS=''
246
+ CAPITARGET=''
247
+ CC='clang'
248
+ CCDLFLAGS=''
249
+ CC_VERSION=''
250
+ CC_VERSION_MESSAGE=''
251
+ CFLAGS=''
252
+ CHDIR=''
253
+ COMMON_HEADERS=''
254
+ COMMON_LIBS=''
255
+ COMMON_MACROS=''
256
+ CONFIGURE=''
257
+ COUTFLAG=''
258
+ CP=''
259
+ CPP=''
260
+ CPPFLAGS='-I/Users/yu-kiwatanabe 1/.rbenv/versions/2.5.1/include '
261
+ CPPOUTFILE=''
262
+ CROSS_COMPILING=''
263
+ CSRCFLAG=''
264
+ CXX=''
265
+ CXXFLAGS=''
266
+ DEFS=''
267
+ DESTDIR=''
268
+ DLDFLAGS=''
269
+ DLDLIBS=''
270
+ DLEXT2=''
271
+ DLEXT=''
272
+ DLLWRAP=''
273
+ DLNOBJ=''
274
+ DOT=''
275
+ DOXYGEN=''
276
+ DTRACE=''
277
+ DTRACE_EXT=''
278
+ DTRACE_OBJ=''
279
+ DTRACE_OPT=''
280
+ DTRACE_REBUILD=''
281
+ ECHO_C='\c'
282
+ ECHO_N=''
283
+ ECHO_T=''
284
+ EGREP=''
285
+ ENABLE_DEBUG_ENV=''
286
+ ENABLE_SHARED=''
287
+ ENCOBJS=''
288
+ ENCSTATIC=''
289
+ EXECUTABLE_EXTS=''
290
+ EXEEXT=''
291
+ EXPORT_PREFIX=''
292
+ EXTDLDFLAGS=''
293
+ EXTLDFLAGS=''
294
+ EXTOBJS=''
295
+ EXTOUT=''
296
+ EXTSTATIC=''
297
+ GCC=''
298
+ GIT='git'
299
+ GNU_LD=''
300
+ GREP=''
301
+ HAVE_BASERUBY='yes'
302
+
303
+
304
+ 字数制限のため略
305
+
72
306
  ```