質問編集履歴
1
エラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,6 +50,210 @@
|
|
50
50
|
|
51
51
|
checking for iconv... yes
|
52
52
|
|
53
|
+
IMPORTANT NOTICE:
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
Building Nokogiri with a packaged version of libxml2-2.9.8
|
58
|
+
|
59
|
+
with the following patches applied:
|
60
|
+
|
61
|
+
- 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
Team Nokogiri will keep on doing their best to provide security
|
66
|
+
|
67
|
+
updates in a timely manner, but if this is a concern for you and want
|
68
|
+
|
69
|
+
to use the system library instead; abort this installation process and
|
70
|
+
|
71
|
+
reinstall nokogiri as follows:
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
gem install nokogiri -- --use-system-libraries
|
76
|
+
|
77
|
+
[--with-xml2-config=/path/to/xml2-config]
|
78
|
+
|
79
|
+
[--with-xslt-config=/path/to/xslt-config]
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
If you are using Bundler, tell it to use the option:
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
bundle config build.nokogiri --use-system-libraries
|
88
|
+
|
89
|
+
bundle install
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
Note, however, that nokogiri is not fully compatible with arbitrary
|
94
|
+
|
95
|
+
versions of libxml2 provided by OS/package vendors.
|
96
|
+
|
97
|
+
************************************************************************
|
98
|
+
|
99
|
+
Extracting libxml2-2.9.8.tar.gz into tmp/x86_64-apple-darwin17/ports/libxml2/2.9.8... OK
|
100
|
+
|
101
|
+
Running git apply with /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.4/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK
|
102
|
+
|
103
|
+
Running 'configure' for libxml2 2.9.8... OK
|
104
|
+
|
105
|
+
Running 'compile' for libxml2 2.9.8... ERROR, review '/Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.4/ext/nokogiri/tmp/x86_64-apple-darwin17/ports/libxml2/2.9.8/compile.log' to see what happened. Last lines are:
|
106
|
+
|
107
|
+
========================================================================
|
108
|
+
|
109
|
+
CCLD libxml2.la
|
110
|
+
|
111
|
+
CC testdso.lo
|
112
|
+
|
113
|
+
CCLD testdso.la
|
114
|
+
|
115
|
+
CC xmllint.o
|
116
|
+
|
117
|
+
CCLD xmllint
|
118
|
+
|
119
|
+
ld: warning: ignoring file /usr/local/Cellar/xz/5.2.4/lib/liblzma.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/xz/5.2.4/lib/liblzma.dylib
|
120
|
+
|
121
|
+
Undefined symbols for architecture i386:
|
122
|
+
|
123
|
+
"_lzma_auto_decoder", referenced from:
|
124
|
+
|
125
|
+
_xz_head in libxml2.a(xzlib.o)
|
126
|
+
|
127
|
+
"_lzma_code", referenced from:
|
128
|
+
|
129
|
+
_xz_decomp in libxml2.a(xzlib.o)
|
130
|
+
|
131
|
+
"_lzma_end", referenced from:
|
132
|
+
|
133
|
+
___libxml2_xzclose in libxml2.a(xzlib.o)
|
134
|
+
|
135
|
+
"_lzma_properties_decode", referenced from:
|
136
|
+
|
137
|
+
_is_format_lzma in libxml2.a(xzlib.o)
|
138
|
+
|
139
|
+
ld: symbol(s) not found for architecture i386
|
140
|
+
|
141
|
+
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
142
|
+
|
143
|
+
make[2]: *** [xmllint] Error 1
|
144
|
+
|
145
|
+
make[1]: *** [all-recursive] Error 1
|
146
|
+
|
147
|
+
make: *** [all] Error 2
|
148
|
+
|
149
|
+
========================================================================
|
150
|
+
|
151
|
+
*** extconf.rb failed ***
|
152
|
+
|
153
|
+
Could not create Makefile due to some reason, probably lack of necessary
|
154
|
+
|
155
|
+
libraries and/or headers. Check the mkmf.log file for more details. You may
|
156
|
+
|
157
|
+
need configuration options.
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
Provided configuration options:
|
162
|
+
|
163
|
+
--with-opt-dir
|
164
|
+
|
165
|
+
--without-opt-dir
|
166
|
+
|
167
|
+
--with-opt-include
|
168
|
+
|
169
|
+
--without-opt-include=${opt-dir}/include
|
170
|
+
|
171
|
+
--with-opt-lib
|
172
|
+
|
173
|
+
--without-opt-lib=${opt-dir}/lib
|
174
|
+
|
175
|
+
--with-make-prog
|
176
|
+
|
177
|
+
--without-make-prog
|
178
|
+
|
179
|
+
--srcdir=.
|
180
|
+
|
181
|
+
--curdir
|
182
|
+
|
183
|
+
--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/$(RUBY_BASE_NAME)
|
184
|
+
|
185
|
+
--help
|
186
|
+
|
187
|
+
--clean
|
188
|
+
|
189
|
+
--use-system-libraries
|
190
|
+
|
191
|
+
--enable-static
|
192
|
+
|
193
|
+
--disable-static
|
194
|
+
|
195
|
+
--with-zlib-dir
|
196
|
+
|
197
|
+
--without-zlib-dir
|
198
|
+
|
199
|
+
--with-zlib-include
|
200
|
+
|
201
|
+
--without-zlib-include=${zlib-dir}/include
|
202
|
+
|
203
|
+
--with-zlib-lib
|
204
|
+
|
205
|
+
--without-zlib-lib=${zlib-dir}/lib
|
206
|
+
|
207
|
+
--enable-cross-build
|
208
|
+
|
209
|
+
--disable-cross-build
|
210
|
+
|
211
|
+
/Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:402:in `block in execute': Failed to complete compile task (RuntimeError)
|
212
|
+
|
213
|
+
from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:373:in `chdir'
|
214
|
+
|
215
|
+
from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:373:in `execute'
|
216
|
+
|
217
|
+
from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:115:in `compile'
|
218
|
+
|
219
|
+
from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:154:in `cook'
|
220
|
+
|
221
|
+
from extconf.rb:365:in `block (2 levels) in process_recipe'
|
222
|
+
|
223
|
+
from extconf.rb:257:in `block in chdir_for_build'
|
224
|
+
|
225
|
+
from extconf.rb:256:in `chdir'
|
226
|
+
|
227
|
+
from extconf.rb:256:in `chdir_for_build'
|
228
|
+
|
229
|
+
from extconf.rb:364:in `block in process_recipe'
|
230
|
+
|
231
|
+
from extconf.rb:262:in `tap'
|
232
|
+
|
233
|
+
from extconf.rb:262:in `process_recipe'
|
234
|
+
|
235
|
+
from extconf.rb:551:in `<main>'
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
To see why this extension failed to compile, please check the mkmf.log which can be found here:
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
/Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.8.4/mkmf.log
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
extconf failed, exit code 1
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.4 for inspection.
|
252
|
+
|
253
|
+
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.8.4/gem_make.out
|
254
|
+
|
255
|
+
|
256
|
+
|
53
257
|
|
54
258
|
|
55
259
|
```
|