質問編集履歴

2

レイアウトの修正

2018/03/02 04:34

投稿

paranokids
paranokids

スコア6

test CHANGED
File without changes
test CHANGED
@@ -60,11 +60,11 @@
60
60
 
61
61
  checking for xmlParseDoc() in -lxml2... no
62
62
 
63
- -----
63
+
64
64
 
65
65
  libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
66
66
 
67
- -----
67
+
68
68
 
69
69
  *** extconf.rb failed ***
70
70
 

1

詳細の追加

2018/03/02 04:34

投稿

paranokids
paranokids

スコア6

test CHANGED
File without changes
test CHANGED
@@ -23,3 +23,173 @@
23
23
 
24
24
 
25
25
  この辺りの記事をいろいろ見ましたが解決策はありませんでした。
26
+
27
+
28
+
29
+ ```
30
+
31
+ gem install nokogiri -v "1.5.9"
32
+
33
+ ```
34
+
35
+
36
+
37
+ とすると
38
+
39
+
40
+
41
+ ERROR: Error installing nokogiri:
42
+
43
+ ERROR: Failed to build gem native extension.
44
+
45
+
46
+
47
+ current directory: /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.5.9/ext/nokogiri
48
+
49
+ /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180302-30933-bszhgl.rb extconf.rb
50
+
51
+ checking for libxml/parser.h... yes
52
+
53
+ checking for libxslt/xslt.h... yes
54
+
55
+ checking for libexslt/exslt.h... yes
56
+
57
+ checking for iconv_open() in iconv.h... no
58
+
59
+ checking for iconv_open() in -liconv... yes
60
+
61
+ checking for xmlParseDoc() in -lxml2... no
62
+
63
+ -----
64
+
65
+ libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
66
+
67
+ -----
68
+
69
+ *** extconf.rb failed ***
70
+
71
+ Could not create Makefile due to some reason, probably lack of necessary
72
+
73
+ libraries and/or headers. Check the mkmf.log file for more details. You may
74
+
75
+ need configuration options.
76
+
77
+
78
+
79
+ Provided configuration options:
80
+
81
+ --with-opt-dir
82
+
83
+ --without-opt-dir
84
+
85
+ --with-opt-include
86
+
87
+ --without-opt-include=${opt-dir}/include
88
+
89
+ --with-opt-lib
90
+
91
+ --without-opt-lib=${opt-dir}/lib
92
+
93
+ --with-make-prog
94
+
95
+ --without-make-prog
96
+
97
+ --srcdir=.
98
+
99
+ --curdir
100
+
101
+ --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/$(RUBY_BASE_NAME)
102
+
103
+ --with-zlib-dir
104
+
105
+ --without-zlib-dir
106
+
107
+ --with-zlib-include
108
+
109
+ --without-zlib-include=${zlib-dir}/include
110
+
111
+ --with-zlib-lib
112
+
113
+ --without-zlib-lib=${zlib-dir}/lib
114
+
115
+ --with-iconv-dir
116
+
117
+ --without-iconv-dir
118
+
119
+ --with-iconv-include
120
+
121
+ --without-iconv-include=${iconv-dir}/include
122
+
123
+ --with-iconv-lib
124
+
125
+ --without-iconv-lib=${iconv-dir}/lib
126
+
127
+ --with-xml2-dir
128
+
129
+ --without-xml2-dir
130
+
131
+ --with-xml2-include
132
+
133
+ --without-xml2-include=${xml2-dir}/include
134
+
135
+ --with-xml2-lib
136
+
137
+ --without-xml2-lib=${xml2-dir}/lib
138
+
139
+ --with-xslt-dir
140
+
141
+ --without-xslt-dir
142
+
143
+ --with-xslt-include
144
+
145
+ --without-xslt-include=${xslt-dir}/include
146
+
147
+ --with-xslt-lib
148
+
149
+ --without-xslt-lib=${xslt-dir}/lib
150
+
151
+ --with-libxslt-config
152
+
153
+ --without-libxslt-config
154
+
155
+ --with-pkg-config
156
+
157
+ --without-pkg-config
158
+
159
+ --with-libxml-2.0-config
160
+
161
+ --without-libxml-2.0-config
162
+
163
+ --with-libiconv-config
164
+
165
+ --without-libiconv-config
166
+
167
+ --with-iconvlib
168
+
169
+ --without-iconvlib
170
+
171
+ --with-xml2lib
172
+
173
+ --without-xml2lib
174
+
175
+
176
+
177
+ To see why this extension failed to compile, please check the mkmf.log which can be found here:
178
+
179
+
180
+
181
+ /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.5.9/mkmf.log
182
+
183
+
184
+
185
+ extconf failed, exit code 1
186
+
187
+
188
+
189
+ Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.5.9 for inspection.
190
+
191
+ Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.5.9/gem_make.out
192
+
193
+
194
+
195
+ というエラーが出ます。