Created
December 11, 2014 19:47
-
-
Save ArloL/11c944436f5135de4347 to your computer and use it in GitHub Desktop.
nokogiri 1.6.5 install failing on osx 10.10.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/ArloLOK/.rbenv/versions/2.1.5/bin/ruby extconf.rb | |
checking if the C compiler accepts ... yes | |
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no | |
Building nokogiri using packaged libraries. | |
checking for iconv... yes | |
************************************************************************ | |
IMPORTANT NOTICE: | |
Buidling Nokogiri with a packaged version of libxml2-2.9.2 | |
with the following patches applied: | |
- 0001-Revert-Missing-initialization-for-the-catalog-module.patch | |
- 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch | |
Team Nokogiri will keep on doing their best to provide security | |
updates in a timely manner, but if this is a concern for you and want | |
to use the system library instead; abort this installation process and | |
reinstall nokogiri as follows: | |
gem install nokogiri -- --use-system-libraries | |
[--with-xml2-config=/path/to/xml2-config] | |
[--with-xslt-config=/path/to/xslt-config] | |
If you are using Bundler, tell it to use the option: | |
bundle config build.nokogiri --use-system-libraries | |
bundle install | |
Note, however, that nokogiri is not fully compatible with arbitrary | |
versions of libxml2 provided by OS/package vendors. | |
************************************************************************ | |
Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-apple-darwin14.0.0/ports/libxml2/2.9.2... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxml2/0001-Revert-Missing-initialization-for-the-catalog-module.patch... | |
Running 'patch' for libxml2 2.9.2... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxml2/0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch... | |
Running 'patch' for libxml2 2.9.2... OK | |
Running 'configure' for libxml2 2.9.2... OK | |
Running 'compile' for libxml2 2.9.2... OK | |
Running 'install' for libxml2 2.9.2... OK | |
Activating libxml2 2.9.2 (from /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2)... | |
************************************************************************ | |
IMPORTANT NOTICE: | |
Buidling Nokogiri with a packaged version of libxslt-1.1.28 | |
with the following patches applied: | |
- 0001-Adding-doc-update-related-to-1.1.28.patch | |
- 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch | |
- 0003-Initialize-pseudo-random-number-generator-with-curre.patch | |
- 0004-EXSLT-function-str-replace-is-broken-as-is.patch | |
- 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch | |
- 0007-Separate-function-for-predicate-matching-in-patterns.patch | |
- 0008-Fix-direct-pattern-matching.patch | |
- 0009-Fix-certain-patterns-with-predicates.patch | |
- 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch | |
- 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch | |
- 0014-Fix-for-bug-436589.patch | |
- 0015-Fix-mkdir-for-mingw.patch | |
Team Nokogiri will keep on doing their best to provide security | |
updates in a timely manner, but if this is a concern for you and want | |
to use the system library instead; abort this installation process and | |
reinstall nokogiri as follows: | |
gem install nokogiri -- --use-system-libraries | |
[--with-xml2-config=/path/to/xml2-config] | |
[--with-xslt-config=/path/to/xslt-config] | |
If you are using Bundler, tell it to use the option: | |
bundle config build.nokogiri --use-system-libraries | |
bundle install | |
************************************************************************ | |
Extracting libxslt-1.1.28.tar.gz into tmp/x86_64-apple-darwin14.0.0/ports/libxslt/1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0014-Fix-for-bug-436589.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running patch with /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch... | |
Running 'patch' for libxslt 1.1.28... OK | |
Running 'configure' for libxslt 1.1.28... OK | |
Running 'compile' for libxslt 1.1.28... OK | |
Running 'install' for libxslt 1.1.28... OK | |
Activating libxslt 1.1.28 (from /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28)... | |
checking for main() in -llzma... yes | |
checking for xmlParseDoc() in libxml/parser.h... no | |
checking for xmlParseDoc() in -lxml2... no | |
checking for xmlParseDoc() in -llibxml2... no | |
----- | |
libxml2 is missing. Please locate mkmf.log to investigate how it is failing. | |
----- | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/Users/ArloLOK/.rbenv/versions/2.1.5/bin/ruby | |
--help | |
--clean | |
--use-system-libraries | |
--enable-static | |
--disable-static | |
--with-zlib-dir | |
--without-zlib-dir | |
--with-zlib-include | |
--without-zlib-include=${zlib-dir}/include | |
--with-zlib-lib | |
--without-zlib-lib=${zlib-dir}/lib | |
--enable-cross-build | |
--disable-cross-build | |
--with-xml2lib | |
--without-xml2lib | |
--with-libxml2lib | |
--without-libxml2lib | |
extconf failed, exit code 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { | |
5: return 0; | |
6: } | |
/* end */ | |
"clang -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Werror -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
"clang -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wno-error=unused-command-line-argument-hard-error-in-future -Werror -c conftest.c" | |
error: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Werror,-Wunknown-warning-option] | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
have_iconv?: checking for iconv... -------------------- yes | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_iconv", referenced from: | |
_main in conftest-54ac4b.o | |
"_iconv_open", referenced from: | |
_main in conftest-54ac4b.o | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <stdlib.h> | |
4: #include <iconv.h> | |
5: | |
6: int main(void) | |
7: { | |
8: iconv_t cd = iconv_open("", ""); | |
9: iconv(cd, NULL, NULL, NULL, NULL); | |
10: return EXIT_SUCCESS; | |
11: } | |
/* end */ | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector -lruby-static -framework CoreFoundation -liconv -lpthread -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <stdlib.h> | |
4: #include <iconv.h> | |
5: | |
6: int main(void) | |
7: { | |
8: iconv_t cd = iconv_open("", ""); | |
9: iconv(cd, NULL, NULL, NULL, NULL); | |
10: return EXIT_SUCCESS; | |
11: } | |
/* end */ | |
-------------------- | |
have_library: checking for main() in -llzma... -------------------- yes | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector -lruby-static -framework CoreFoundation -llzma -lpthread -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: extern int t(void); | |
5: int main(int argc, char **argv) | |
6: { | |
7: if (argc > 1000000) { | |
8: printf("%p", &t); | |
9: } | |
10: | |
11: return 0; | |
12: } | |
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- no | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/include -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lruby-static -framework CoreFoundation /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_libiconv", referenced from: | |
_xmlIconvWrapper in libxml2.a(encoding.o) | |
"_libiconv_close", referenced from: | |
_xmlFindCharEncodingHandler in libxml2.a(encoding.o) | |
_xmlCharEncCloseFunc in libxml2.a(encoding.o) | |
"_libiconv_open", referenced from: | |
_xmlFindCharEncodingHandler in libxml2.a(encoding.o) | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libxml/parser.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return 0; } | |
/* end */ | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/include -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lruby-static -framework CoreFoundation /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " | |
conftest.c:15:27: error: too few arguments to function call, single argument 'cur' was not specified | |
int t(void) { xmlParseDoc(); return 0; } | |
~~~~~~~~~~~ ^ | |
/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2/libxml/parser.h:841:11: note: 'xmlParseDoc' declared here | |
XMLPUBFUN xmlDocPtr XMLCALL | |
^ | |
1 error generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libxml/parser.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { xmlParseDoc(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for xmlParseDoc() in -lxml2... -------------------- no | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/include -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lruby-static -framework CoreFoundation -lxml2 /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " | |
Undefined symbols for architecture x86_64: | |
"_libiconv", referenced from: | |
_xmlIconvWrapper in libxml2.a(encoding.o) | |
"_libiconv_close", referenced from: | |
_xmlFindCharEncodingHandler in libxml2.a(encoding.o) | |
_xmlCharEncCloseFunc in libxml2.a(encoding.o) | |
"_libiconv_open", referenced from: | |
_xmlFindCharEncodingHandler in libxml2.a(encoding.o) | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libxml/parser.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return 0; } | |
/* end */ | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/include -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lruby-static -framework CoreFoundation -lxml2 /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " | |
conftest.c:15:27: error: too few arguments to function call, single argument 'cur' was not specified | |
int t(void) { xmlParseDoc(); return 0; } | |
~~~~~~~~~~~ ^ | |
/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2/libxml/parser.h:841:11: note: 'xmlParseDoc' declared here | |
XMLPUBFUN xmlDocPtr XMLCALL | |
^ | |
1 error generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libxml/parser.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { xmlParseDoc(); return 0; } | |
/* end */ | |
-------------------- | |
have_library: checking for xmlParseDoc() in -llibxml2... -------------------- no | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/include -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lruby-static -framework CoreFoundation -llibxml2 /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " | |
ld: library not found for -llibxml2 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libxml/parser.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return 0; } | |
/* end */ | |
"clang -o conftest -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/x86_64-darwin14.0 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0/ruby/backward -I/Users/ArloLOK/.rbenv/versions/2.1.5/include/ruby-2.1.0 -I. -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/include -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2 -I/Users/ArloLOK/.rbenv/versions/2.1.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -O3 -Wno-error=shorten-64-to-32 -pipe -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib -L. -L/Users/ArloLOK/.rbenv/versions/2.1.5/lib -fstack-protector /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lruby-static -framework CoreFoundation -llibxml2 /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " | |
conftest.c:15:27: error: too few arguments to function call, single argument 'cur' was not specified | |
int t(void) { xmlParseDoc(); return 0; } | |
~~~~~~~~~~~ ^ | |
/Users/ArloLOK/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin14.0.0/libxml2/2.9.2/include/libxml2/libxml/parser.h:841:11: note: 'xmlParseDoc' declared here | |
XMLPUBFUN xmlDocPtr XMLCALL | |
^ | |
1 error generated. | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <libxml/parser.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int main(int argc, char **argv) | |
8: { | |
9: if (argc > 1000000) { | |
10: printf("%p", &t); | |
11: } | |
12: | |
13: return 0; | |
14: } | |
15: int t(void) { xmlParseDoc(); return 0; } | |
/* end */ | |
-------------------- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rbenv versions | |
system | |
* 2.1.5 (set by /Users/ArloLOK/.rbenv/version) | |
$ xcode-select -v | |
xcode-select version 2339. | |
$ xcode-select -p | |
/Applications/Xcode.app/Contents/Developer | |
$ cc -version | |
clang: error: unknown argument: '-version' | |
clang: error: no input files | |
$ cc --version | |
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) | |
Target: x86_64-apple-darwin14.0.0 | |
Thread model: posix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment