質問編集履歴

1

解決したのでエラーコードの削除

2017/08/17 07:36

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -6,371 +6,7 @@
6
6
 
7
7
  それで、bundlerのインストールの際errorがでました。
8
8
 
9
- ```ここに言語を入力
10
-
11
- Fetching gem metadata from https://rubygems.org/..........
12
-
13
- Fetching version metadata from https://rubygems.org/..
14
-
15
- Fetching dependency metadata from https://rubygems.org/.
16
-
17
- Resolving dependencies...
18
-
19
- Using rake 12.0.0
20
-
21
- Using concurrent-ruby 1.0.5
22
-
23
- Using i18n 0.8.6
24
-
25
- Using minitest 5.10.3
26
-
27
- Using thread_safe 0.3.6
28
-
29
- Using builder 3.2.3
30
-
31
- Fetching erubis 2.7.0
32
-
33
- Installing erubis 2.7.0
34
-
35
- Using mini_portile2 2.2.0
36
-
37
- Using rack 2.0.3
38
-
39
- Using nio4r 2.1.0
40
-
41
- Using websocket-extensions 0.1.2
42
-
43
- Using mime-types-data 3.2016.0521
44
-
45
- Fetching arel 7.1.4
46
-
47
- Installing arel 7.1.4
48
-
49
- Using bundler 1.15.3
50
-
51
- Using method_source 0.8.2
52
-
53
- Using thor 0.19.4
54
-
55
- Using tzinfo 1.2.3
56
-
57
- Fetching nokogiri 1.8.0
58
-
59
- Installing nokogiri 1.8.0 with native extensions
60
-
61
- Using rack-test 0.6.3
62
-
63
- Using sprockets 3.7.1
64
-
65
- Using websocket-driver 0.6.5
66
-
67
- Using mime-types 3.1
68
-
69
- Fetching activesupport 5.0.4
70
-
71
- Installing activesupport 5.0.4
72
-
73
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
74
-
75
-
76
-
77
- current directory:
78
-
79
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/ext/nokogiri
80
-
81
- /Users/minamigani/.rbenv/versions/2.4.0/bin/ruby -r ./siteconf20170816-66214-d2rl8l.rb extconf.rb
82
-
83
- checking if the C compiler accepts ... yes
84
-
85
- checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
86
-
87
- Building nokogiri using packaged libraries.
88
-
89
- Using mini_portile version 2.2.0
90
-
91
- checking for iconv.h... yes
92
-
93
- checking for gzdopen() in -lz... yes
94
-
95
- checking for iconv using --with-iconv-* flags... yes
96
-
97
- ************************************************************************
98
-
99
- IMPORTANT NOTICE:
100
-
101
-
102
-
103
- Building Nokogiri with a packaged version of libxml2-2.9.4
104
-
105
- with the following patches applied:
106
-
107
- - 0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch
108
-
109
- - 0002-Fix-XPointer-paths-beginning-with-range-to.patch
110
-
111
- - 0003-Disallow-namespace-nodes-in-XPointer-ranges.patch
112
-
113
-
114
-
115
- Team Nokogiri will keep on doing their best to provide security
116
-
117
- updates in a timely manner, but if this is a concern for you and want
118
-
119
- to use the system library instead; abort this installation process and
120
-
121
- reinstall nokogiri as follows:
122
-
123
-
124
-
125
- gem install nokogiri -- --use-system-libraries
126
-
127
- [--with-xml2-config=/path/to/xml2-config]
128
-
129
- [--with-xslt-config=/path/to/xslt-config]
130
-
131
-
132
-
133
- If you are using Bundler, tell it to use the option:
134
-
135
-
136
-
137
- bundle config build.nokogiri --use-system-libraries
138
-
139
- bundle install
140
-
141
-
142
-
143
- Note, however, that nokogiri is not fully compatible with arbitrary
144
-
145
- versions of libxml2 provided by OS/package vendors.
146
-
147
- ************************************************************************
148
-
149
- Extracting libxml2-2.9.4.tar.gz into tmp/x86_64-apple-darwin16.6.0/ports/libxml2/2.9.4... OK
150
-
151
- Running git apply with
152
-
153
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/patches/libxml2/0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch...
154
-
155
- OK
156
-
157
- Running git apply with
158
-
159
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/patches/libxml2/0002-Fix-XPointer-paths-beginning-with-range-to.patch...
160
-
161
- OK
162
-
163
- Running git apply with
164
-
165
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/patches/libxml2/0003-Disallow-namespace-nodes-in-XPointer-ranges.patch...
166
-
167
- OK
168
-
169
- Running 'configure' for libxml2 2.9.4... OK
170
-
171
- Running 'compile' for libxml2 2.9.4... OK
172
-
173
- Running 'install' for libxml2 2.9.4... OK
174
-
175
- Activating libxml2 2.9.4 (from
176
-
177
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/ports/x86_64-apple-darwin16.6.0/libxml2/2.9.4)...
178
-
179
- ************************************************************************
180
-
181
- IMPORTANT NOTICE:
182
-
183
-
184
-
185
- Building Nokogiri with a packaged version of libxslt-1.1.29
186
-
187
- with the following patches applied:
188
-
189
- - 0001-Fix-heap-overread-in-xsltFormatNumberConversion.patch
190
-
191
- - 0002-Check-for-integer-overflow-in-xsltAddTextString.patch
192
-
193
-
194
-
195
- Team Nokogiri will keep on doing their best to provide security
196
-
197
- updates in a timely manner, but if this is a concern for you and want
198
-
199
- to use the system library instead; abort this installation process and
200
-
201
- reinstall nokogiri as follows:
202
-
203
-
204
-
205
- gem install nokogiri -- --use-system-libraries
206
-
207
- [--with-xml2-config=/path/to/xml2-config]
208
-
209
- [--with-xslt-config=/path/to/xslt-config]
210
-
211
-
212
-
213
- If you are using Bundler, tell it to use the option:
214
-
215
-
216
-
217
- bundle config build.nokogiri --use-system-libraries
218
-
219
- bundle install
220
-
221
- ************************************************************************
222
-
223
- Extracting libxslt-1.1.29.tar.gz into tmp/x86_64-apple-darwin16.6.0/ports/libxslt/1.1.29... OK
224
-
225
- Running git apply with
226
-
227
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/patches/libxslt/0001-Fix-heap-overread-in-xsltFormatNumberConversion.patch...
228
-
229
- OK
230
-
231
- Running git apply with
232
-
233
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/patches/libxslt/0002-Check-for-integer-overflow-in-xsltAddTextString.patch...
234
-
235
- OK
236
-
237
- Running 'configure' for libxslt 1.1.29... OK
238
-
239
- Running 'compile' for libxslt 1.1.29... OK
240
-
241
- Running 'install' for libxslt 1.1.29... OK
242
-
243
- Activating libxslt 1.1.29 (from
244
-
245
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0/ports/x86_64-apple-darwin16.6.0/libxslt/1.1.29)...
246
-
247
- checking for -llzma... yes
248
-
249
- checking for xmlParseDoc() in libxml/parser.h... no
250
-
251
- checking for xmlParseDoc() in -lxml2... no
252
-
253
- checking for xmlParseDoc() in -llibxml2... no
254
-
255
- -----
256
-
257
- libxml2 is missing. Please locate mkmf.log to investigate how it is failing.
258
-
259
- -----
260
-
261
- *** extconf.rb failed ***
262
-
263
- Could not create Makefile due to some reason, probably lack of necessary
264
-
265
- libraries and/or headers. Check the mkmf.log file for more details. You may
266
-
267
- need configuration options.
268
-
269
-
270
-
271
- Provided configuration options:
272
-
273
- --with-opt-dir
274
-
275
- --without-opt-dir
276
-
277
- --with-opt-include
278
-
279
- --without-opt-include=${opt-dir}/include
280
-
281
- --with-opt-lib
282
-
283
- --without-opt-lib=${opt-dir}/lib
284
-
285
- --with-make-prog
286
-
287
- --without-make-prog
288
-
289
- --srcdir=.
290
-
291
- --curdir
292
-
293
- --ruby=/Users/minamigani/.rbenv/versions/2.4.0/bin/$(RUBY_BASE_NAME)
294
-
295
- --help
296
-
297
- --clean
298
-
299
- --use-system-libraries
300
-
301
- --enable-static
302
-
303
- --disable-static
304
-
305
- --with-zlib-dir
306
-
307
- --without-zlib-dir
308
-
309
- --with-zlib-include
310
-
311
- --without-zlib-include=${zlib-dir}/include
312
-
313
- --with-zlib-lib
314
-
315
- --without-zlib-lib=${zlib-dir}/lib
316
-
317
- --enable-cross-build
318
-
319
- --disable-cross-build
320
-
321
- --with-xml2lib
322
-
323
- --without-xml2lib
324
-
325
- --with-libxml2lib
326
-
327
- --without-libxml2lib
328
-
329
-
330
-
331
- To see why this extension failed to compile, please check the mkmf.log which can be found here:
332
-
333
-
334
-
335
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-16/2.4.0-static/nokogiri-1.8.0/mkmf.log
336
-
337
-
338
-
339
- extconf failed, exit code 1
340
-
341
-
342
-
343
- Gem files will remain installed in
344
-
345
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.0 for inspection.
346
-
347
- Results logged to
348
-
349
- /Users/minamigani/workspace/rails-projects/vendor/bundle/ruby/2.4.0/extensions/x86_64-darwin-16/2.4.0-static/nokogiri-1.8.0/gem_make.out
350
-
351
-
352
-
353
- An error occurred while installing nokogiri (1.8.0), and Bundler cannot continue.
354
-
355
- Make sure that `gem install nokogiri -v '1.8.0'` succeeds before bundling.
356
-
357
-
358
-
359
- In Gemfile:
360
-
361
- rails was resolved to 5.0.4, which depends on
362
-
363
- actioncable was resolved to 5.0.4, which depends on
364
-
365
- actionpack was resolved to 5.0.4, which depends on
366
-
367
- actionview was resolved to 5.0.4, which depends on
368
-
369
- rails-dom-testing was resolved to 2.0.3, which depends on
370
-
371
- nokogiri
372
-
373
- ```
9
+ `
374
10
 
375
11
 
376
12