{"action":"opened","issue":{"url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1489","repository_url":"https://api.github.com/repos/sparklemotion/nokogiri","labels_url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1489/labels{/name}","comments_url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1489/comments","events_url":"https://api.github.com/repos/sparklemotion/nokogiri/issues/1489/events","html_url":"https://github.com/sparklemotion/nokogiri/issues/1489","id":160580621,"number":1489,"title":"Build nokogiri on Windows 7","user":{"login":"gwang","id":84264,"avatar_url":"https://avatars.githubusercontent.com/u/84264?v=3","gravatar_id":"","url":"https://api.github.com/users/gwang","html_url":"https://github.com/gwang","followers_url":"https://api.github.com/users/gwang/followers","following_url":"https://api.github.com/users/gwang/following{/other_user}","gists_url":"https://api.github.com/users/gwang/gists{/gist_id}","starred_url":"https://api.github.com/users/gwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwang/subscriptions","organizations_url":"https://api.github.com/users/gwang/orgs","repos_url":"https://api.github.com/users/gwang/repos","events_url":"https://api.github.com/users/gwang/events{/privacy}","received_events_url":"https://api.github.com/users/gwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-16T05:30:12Z","updated_at":"2016-06-16T05:30:12Z","closed_at":null,"body":"I have a need to install Nokogiri on a custom build of ruby 2.3.0, which has DevKit installed. I am following instructions on [this page](http://www.mlte.de/ruby-win7) to install nokogiri, but always failed because of nokogiri cannot locate the needed libs such `libiconv`.  I am suspecting that the `--with-*-dir` options are ignore, or could it be that my libs aren't installed correctly. Please help!\r\n\r\n```\r\nc:\\usr\\local.2013\\bin\\gem install nokogiri --platform=ruby --version=1.6.1 -N -- --with-iconv-dir=C:\\usr\\libiconv --with-xml2-dir=C:\\usr\\libxml2 --with-xslt-dir=C:\\usr\\libxslt\r\n\r\nFetching: mini_portile-0.5.3.gem (100%)\r\nSuccessfully installed mini_portile-0.5.3\r\nFetching: nokogiri-1.6.1.gem (100%)\r\nTemporarily enhancing PATH to include DevKit...\r\nBuilding native extensions with: '--with-iconv-dir=C:\\usr\\libiconv --with-xml2-dir=C:\\usr\\libxml2 --\r\nwith-xslt-dir=C:\\usr\\libxslt'\r\nThis could take a while...\r\nERROR:  Error installing nokogiri:\r\n        ERROR: Failed to build gem native extension.\r\n\r\n    current directory: c:/usr/local.2013/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.1/ext/nokogiri\r\nc:/usr/local.2013/bin/ruby.exe -r ./siteconf20160615-14048-115a6mf.rb extconf.rb --with-iconv-dir=C:\r\n\\usr\\libiconv --with-xml2-dir=C:\\usr\\libxml2 --with-xslt-dir=C:\\usr\\libxslt\r\nchecking for libxml/parser.h... *** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of necessary\r\nlibraries and/or headers.  Check the mkmf.log file for more details.  You may\r\nneed configuration options.\r\n\r\nProvided configuration options:\r\n        --with-opt-dir\r\n        --without-opt-dir\r\n        --with-opt-include\r\n        --without-opt-include=${opt-dir}/include\r\n        --with-opt-lib\r\n        --without-opt-lib=${opt-dir}/lib\r\n        --with-make-prog\r\n        --srcdir=.\r\n        --curdir\r\n        --ruby=c:/usr/local.2013/bin/ruby\r\n        --with-zlib-dir\r\n        --with-zlib-include\r\n        --without-zlib-include=${zlib-dir}/include\r\n        --with-zlib-lib\r\n        --without-zlib-lib=${zlib-dir}/lib\r\n        --with-iconv-dir\r\n        --with-iconv-include\r\n        --without-iconv-include=${iconv-dir}/include\r\n        --with-iconv-lib\r\n        --without-iconv-lib=${iconv-dir}/lib\r\n        --with-xml2-dir\r\n        --with-xml2-include\r\n        --without-xml2-include=${xml2-dir}/include\r\n        --with-xml2-lib\r\n        --without-xml2-lib=${xml2-dir}/lib\r\n        --with-xslt-dir\r\n        --with-xslt-include\r\n        --without-xslt-include=${xslt-dir}/include\r\n        --with-xslt-lib\r\n        --without-xslt-lib=${xslt-dir}/lib\r\n        --with-libxslt-config\r\n        --without-libxslt-config\r\n        --with-pkg-config\r\n        --without-pkg-config\r\n        --with-libxml-2.0-config\r\n        --without-libxml-2.0-config\r\n        --with-pkg-config\r\n        --without-pkg-config\r\n        --with-libiconv-config\r\n        --without-libiconv-config\r\n        --with-pkg-config\r\n        --without-pkg-config\r\nc:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executa\r\nble file. (RuntimeError)\r\nYou have to install development tools first.\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:571:in `block in try_compile'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:524:in `with_werror'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:571:in `try_compile'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:1144:in `block in find_header'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:320:in `open'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:320:in `open'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'\r\n        from c:/usr/local.2013/lib/ruby/2.3.0/mkmf.rb:1143:in `find_header'\r\n        from extconf.rb:166:in `<main>'\r\n\r\nTo see why this extension failed to compile, please check the mkmf.log which can be found here:\r\n\r\n  c:/usr/local.2013/lib/ruby/gems/2.3.0/extensions/x64-mswin64-120/2.3.0/nokogiri-1.6.1/mkmf.log\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in c:/usr/local.2013/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.1 for ins\r\npection.\r\nResults logged to c:/usr/local.2013/lib/ruby/gems/2.3.0/extensions/x64-mswin64-120/2.3.0/nokogiri-1.\r\n6.1/gem_make.out\r\n```\r\nthe `mkmf.log` file is below:\r\n\r\n```\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  conftest.c   x64-msvcr120-ruby230.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib \"\r\nconftest.c\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: int main(int argc, char **argv)\r\n13: {\r\n14:   return 0;\r\n15: }\r\n/* end */\r\n\r\n\"cl -nologo -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I.  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600    -WX -c conftest.c\"\r\nconftest.c\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: int main() {return 0;}\r\n/* end */\r\n\r\npackage configuration for libexslt is not found\r\nhave_package: checking for libexslt... -------------------- no\r\n\r\n--------------------\r\n\r\nhave_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- no\r\n\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0 -IC:/usr/libxslt/include -IC:/usr/libxml2/include -IC:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/include  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF conftest.c   x64-msvcr120-ruby230.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib -libpath:C:/usr/libxslt/lib -libpath:C:/usr/libxml2/lib -libpath:C:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/lib \"\r\nconftest.c\r\nC:\\usr\\libxml2\\include\\libxml/encoding.h(28) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: #include <libxml/parser.h>\r\n13: \r\n14: /*top*/\r\n15: extern int t(void);\r\n16: int main(int argc, char **argv)\r\n17: {\r\n18:   if (argc > 1000000) {\r\n19:     printf(\"%p\", &t);\r\n20:   }\r\n21: \r\n22:   return 0;\r\n23: }\r\n24: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return !p; }\r\n/* end */\r\n\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0 -IC:/usr/libxslt/include -IC:/usr/libxml2/include -IC:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/include  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF conftest.c   x64-msvcr120-ruby230.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib -libpath:C:/usr/libxslt/lib -libpath:C:/usr/libxml2/lib -libpath:C:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/lib \"\r\nconftest.c\r\nC:\\usr\\libxml2\\include\\libxml/encoding.h(28) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: #include <libxml/parser.h>\r\n13: \r\n14: /*top*/\r\n15: extern int t(void);\r\n16: int main(int argc, char **argv)\r\n17: {\r\n18:   if (argc > 1000000) {\r\n19:     printf(\"%p\", &t);\r\n20:   }\r\n21: \r\n22:   return 0;\r\n23: }\r\n24: extern void xmlParseDoc();\r\n25: int t(void) { xmlParseDoc(); return 0; }\r\n/* end */\r\n\r\n--------------------\r\n\r\nhave_library: checking for xmlParseDoc() in xml2.lib... -------------------- no\r\n\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0 -IC:/usr/libxslt/include -IC:/usr/libxml2/include -IC:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/include  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF conftest.c   x64-msvcr120-ruby230.lib xml2.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib -libpath:C:/usr/libxslt/lib -libpath:C:/usr/libxml2/lib -libpath:C:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/lib \"\r\nconftest.c\r\nC:\\usr\\libxml2\\include\\libxml/encoding.h(28) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: #include <libxml/parser.h>\r\n13: \r\n14: /*top*/\r\n15: extern int t(void);\r\n16: int main(int argc, char **argv)\r\n17: {\r\n18:   if (argc > 1000000) {\r\n19:     printf(\"%p\", &t);\r\n20:   }\r\n21: \r\n22:   return 0;\r\n23: }\r\n24: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return !p; }\r\n/* end */\r\n\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0 -IC:/usr/libxslt/include -IC:/usr/libxml2/include -IC:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/include  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF conftest.c   x64-msvcr120-ruby230.lib xml2.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib -libpath:C:/usr/libxslt/lib -libpath:C:/usr/libxml2/lib -libpath:C:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/lib \"\r\nconftest.c\r\nC:\\usr\\libxml2\\include\\libxml/encoding.h(28) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: #include <libxml/parser.h>\r\n13: \r\n14: /*top*/\r\n15: extern int t(void);\r\n16: int main(int argc, char **argv)\r\n17: {\r\n18:   if (argc > 1000000) {\r\n19:     printf(\"%p\", &t);\r\n20:   }\r\n21: \r\n22:   return 0;\r\n23: }\r\n24: extern void xmlParseDoc();\r\n25: int t(void) { xmlParseDoc(); return 0; }\r\n/* end */\r\n\r\n--------------------\r\n\r\nhave_library: checking for xmlParseDoc() in libxml2.lib... -------------------- no\r\n\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0 -IC:/usr/libxslt/include -IC:/usr/libxml2/include -IC:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/include  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF conftest.c   x64-msvcr120-ruby230.lib libxml2.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib -libpath:C:/usr/libxslt/lib -libpath:C:/usr/libxml2/lib -libpath:C:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/lib \"\r\nconftest.c\r\nC:\\usr\\libxml2\\include\\libxml/encoding.h(28) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: #include <libxml/parser.h>\r\n13: \r\n14: /*top*/\r\n15: extern int t(void);\r\n16: int main(int argc, char **argv)\r\n17: {\r\n18:   if (argc > 1000000) {\r\n19:     printf(\"%p\", &t);\r\n20:   }\r\n21: \r\n22:   return 0;\r\n23: }\r\n24: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return !p; }\r\n/* end */\r\n\r\n\"cl -nologo -Feconftest -Ic:/usr/local.2013/include/ruby-2.3.0/x64-mswin64_120 -Ic:/usr/local.2013/include/ruby-2.3.0/ruby/backward -Ic:/usr/local.2013/include/ruby-2.3.0 -I. -Ic:/usr/local.2013/include/ruby-2.3.0 -IC:/usr/libxslt/include -IC:/usr/libxml2/include -IC:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/include  -D_WIN32_WINNT=0x0600   -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy-  -Zm600  -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF conftest.c   x64-msvcr120-ruby230.lib libxml2.lib  user32.lib advapi32.lib shell32.lib ws2_32.lib iphlpapi.lib imagehlp.lib shlwapi.lib    -link -incremental:no -debug -opt:ref -opt:icf   -libpath:. -libpath:c:/usr/local.2013/lib -libpath:C:/usr/libxslt/lib -libpath:C:/usr/libxml2/lib -libpath:C:/dev/learning/ruby-2.3.1/gang/zlib-1.2.8.bin/lib \"\r\nconftest.c\r\nC:\\usr\\libxml2\\include\\libxml/encoding.h(28) : fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory\r\nchecked program was:\r\n/* begin */\r\n 1: #include \"ruby.h\"\r\n 2: \r\n 3: #ifndef WIN32_LEAN_AND_MEAN\r\n 4: #define WIN32_LEAN_AND_MEAN\r\n 5: #endif /* WIN32_LEAN_AND_MEAN */\r\n 6: #ifndef WIN32\r\n 7: #define WIN32\r\n 8: #endif /* WIN32 */\r\n 9: #include <winsock2.h>\r\n10: #include <ws2tcpip.h>\r\n11: #include <windows.h>\r\n12: #include <libxml/parser.h>\r\n13: \r\n14: /*top*/\r\n15: extern int t(void);\r\n16: int main(int argc, char **argv)\r\n17: {\r\n18:   if (argc > 1000000) {\r\n19:     printf(\"%p\", &t);\r\n20:   }\r\n21: \r\n22:   return 0;\r\n23: }\r\n24: extern void xmlParseDoc();\r\n25: int t(void) { xmlParseDoc(); return 0; }\r\n/* end */\r\n\r\n--------------------\r\n\r\n```"}}
{"actor":{"display_login":"gwang"}}