Nokogiri: Installation schlägt fehl unter openSUSE mit Site-config und `lib64`

Erstellt am 22. Dez. 2016  ·  30Kommentare  ·  Quelle: sparklemotion/nokogiri

Was passiert, ist, dass libxml2.a und libxslt.a gemäß dem openSUSE-Standard unter den Unterverzeichnissen "lib64" erstellt werden, aber wenn der Nokogiri-Code versucht, auf diese Bibliotheken zu verlinken, sucht er nach ihnen in einem Unterverzeichnis "lib" anstelle von " lib64".

Es scheint also, dass es irgendwo einen hartcodierten "lib" -Unterverzeichnispfad geben könnte oder die verschiedenen Konfigurations-/Build-Tools sich nicht richtig auf den richtigen Pfad einigen.

Diese Version des Nokogiri-Gems wird korrekt auf CentOS installiert (wobei "lib" der Standard ist).

Ich habe ähnliche Probleme gesehen, die hier gepostet wurden, aber oft greift das OP auf "--use-system-libraries" zurück oder antwortet nicht mit zusätzlichen angeforderten Details und dann wird das Problem geschlossen. Dies ist ein vorrangiges Problem für mich und ich mag die Problemumgehung der Systembibliotheken nicht.

Lassen Sie es mich wissen, wenn Sie weitere Diagnoseinformationen benötigen. Ich verlasse mich auf "It Just Works" und bin daher mit pkgconfig und Freunden nicht vertraut. Wenn ich also Optimierungen vornehmen muss, geben Sie bitte detaillierte Anweisungen. Vielen Dank.

Die folgenden Fehlerprotokolle stammen von einer sauber installierten virtuellen OpenSUSE Leap 42.2-Maschine.

Was ist die Ausgabe von gem install ?

markb<strong i="14">@linux</strong>:~> gem install nokogiri
Fetching: mini_portile2-2.1.0.gem (100%)
Successfully installed mini_portile2-2.1.0
Fetching: nokogiri-1.6.8.1.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    current directory: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri
/home/markb/stack/bin/ruby -r ./siteconf20161221-27275-1ul6vwa.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... yes
checking for iconv using --with-opt-* flags... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4.

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.4.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4... OK
Running 'configure' for libxml2 2.9.4... OK
Running 'compile' for libxml2 2.9.4... OK
Running 'install' for libxml2 2.9.4... OK
Activating libxml2 2.9.4 (from /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4)...
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxslt-1.1.29.

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.29.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.29... OK
Running 'configure' for libxslt 1.1.29... OK
Running 'compile' for libxslt 1.1.29... OK
Running 'install' for libxslt 1.1.29... OK
Activating libxslt 1.1.29 (from /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29)...
checking for main() in -llzma... no
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
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib64
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/home/markb/stack/bin/$(RUBY_BASE_NAME)
        --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}/lib64
        --enable-cross-build
        --disable-cross-build
        --with-xml2lib
        --without-xml2lib
        --with-libxml2lib
        --without-libxml2lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/markb/stack/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.6.8.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1 for inspection.
Results logged to /home/markb/stack/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.6.8.1/gem_make.out

Was ist der Inhalt der Datei mkmf.log ?

markb<strong i="8">@linux</strong>:~> cat /home/markb/stack/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.6.8.1/mkmf.log
"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat    -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -lz  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <zlib.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 ((*)()))gzdopen; return !p; }
/* end */

--------------------

have_iconv?: checking for iconv using --with-opt-* flags... -------------------- yes

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
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... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llzma  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -llzma
collect2: error: ld returned 1 exit status
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llzma  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
conftest.c:13:13: error: conflicting types for ‘main’
 extern void main();
             ^
conftest.c:5:5: note: previous definition of ‘main’ was here
 int main(int argc, char **argv)
     ^
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: extern void main();
14: int t(void) { main(); return 0; }
/* end */

--------------------

have_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

have_library: checking for xmlParseDoc() in -lxml2... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -lxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -lxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

have_library: checking for xmlParseDoc() in -llibxml2... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llibxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llibxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

Welches Betriebssystem verwendest du?

openSUSE Leap 42.2 x86_64 (sowie openSUSE 12.3 x86_64) mit Ruby 2.3.1

Hilfreichster Kommentar

Auch für die Nachwelt:

Nokogiri manuell unter OpenSUSE Leap 42.1 installieren:

gem install nokogiri -- --use-system-libraries \
    --with-xml2-dir=/usr \
    --with-xslt-dir=/usr \
    --with-exslt-dir=/usr

Ich kann nicht sagen, dass ich verstehe, warum ich diese Verzeichnisse angeben musste, da dies der Systemstandard ist, aber es funktioniert und ich habe es eilig. Auch dokumentiert in einem Kern , den ich eines Tages aktualisieren kann.

Alle 30 Kommentare

Schlägt mit den gleichen Symptomen für die neu veröffentlichte Version 1.7.0 fehl (erstellt Bibliotheken in lib64, sucht sie in lib).

markb<strong i="6">@linux</strong>:~> gem install nokogiri
Fetching: mini_portile2-2.1.0.gem (100%)
Successfully installed mini_portile2-2.1.0
Fetching: nokogiri-1.7.0.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

    current directory: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ext/nokogiri
/home/markb/stack/bin/ruby -r ./siteconf20170103-3181-n5wxk3.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... yes
checking for iconv using --with-opt-* flags... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4.

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.4.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4... OK
Running 'configure' for libxml2 2.9.4... OK
Running 'compile' for libxml2 2.9.4... OK
Running 'install' for libxml2 2.9.4... OK
Activating libxml2 2.9.4 (from /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4)...
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxslt-1.1.29.

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.29.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.29... OK
Running 'configure' for libxslt 1.1.29... OK
Running 'compile' for libxslt 1.1.29... OK
Running 'install' for libxslt 1.1.29... OK
Activating libxslt 1.1.29 (from /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29)...
checking for main() in -llzma... no
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
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib64
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/home/markb/stack/bin/$(RUBY_BASE_NAME)
        --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}/lib64
        --enable-cross-build
        --disable-cross-build
        --with-xml2lib
        --without-xml2lib
        --with-libxml2lib
        --without-libxml2lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/markb/stack/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.7.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0 for inspection.
Results logged to /home/markb/stack/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.7.0/gem_make.out
markb<strong i="5">@linux</strong>:~> cat /home/markb/stack/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.7.0/mkmf.log
"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat    -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -lz  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <zlib.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 ((*)()))gzdopen; return !p; }
/* end */

--------------------

have_iconv?: checking for iconv using --with-opt-* flags... -------------------- yes

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
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... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llzma  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -llzma
collect2: error: ld returned 1 exit status
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I.  -I/home/markb/stack/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib     -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llzma  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
conftest.c:13:13: error: conflicting types for ‘main’
 extern void main();
             ^
conftest.c:5:5: note: previous definition of ‘main’ was here
 int main(int argc, char **argv)
     ^
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: extern void main();
14: int t(void) { main(); return 0; }
/* end */

--------------------

have_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

have_library: checking for xmlParseDoc() in -lxml2... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -lxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -lxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

have_library: checking for xmlParseDoc() in -llibxml2... -------------------- no

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llibxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/home/markb/stack/include/ruby-2.3.0/x86_64-linux -I/home/markb/stack/include/ruby-2.3.0/ruby/backward -I/home/markb/stack/include/ruby-2.3.0 -I. -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2  -I/home/markb/stack/include   "-DNOKOGIRI_LIBXML2_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/home/markb/stack/lib64 -Wl,-R/home/markb/stack/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/home/markb/stack/lib  -Wl,-R/home/markb/stack/lib    /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -Wl,-R/home/markb/stack/lib64 -L/home/markb/stack/lib64 -lruby-static -llibxml2 /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -lz /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -lpthread -lgmp -ldl -lcrypt -lm   -lc "
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /home/markb/stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------
markb<strong i="5">@linux</strong>:~> find stack -name libxml2.a
stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/.libs/libxml2.a
stack/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64/libxml2.a
markb<strong i="6">@linux</strong>:~> 

RIESIGE +1 AUF DIESEM

Habe tagelang daran gearbeitet, um das Problem beim Erstellen von nokogiri 1.7.0 auf OpenSUSE Leap 42.1 herauszufinden. Dieses Problem besteht seit mehr als einem Jahr und wird in #1334 von @abbjohn; @cabo hat geholfen, kam aber letztendlich zu keiner anderen Schlussfolgerung als "Es hat ein lib64-Verzeichnis erstellt und nokogiri will ein lib-Verzeichnis."

William Pursell hat eine StackOverflow-Antwort bereitgestellt, die hilft: http://stackoverflow.com/questions/9247769/lib-directory-on-64-bit-opensuse-distribution hat möglicherweise einige Hinweise. Es führt mich zu /usr/share/site/x86_64-unknown-linux-gnu, was libdir setzt, wenn es noch nicht gesetzt ist, und scheint lib64 vs. lib zu erraten. Da ich über eine Bundle-Installation baue und dies über eine Cap-Bereitstellung mit einer rbenv-Installation tue, gibt es eine ganze Reihe von Ebenen, die durchdringen müssen, um den Build von Nokogiris zu beeinflussen.

Ich habe meine Informationen für gutes Google Fu hinzugefügt, da ich eine Weile gebraucht habe, um hierher zu kommen.

gem_make.out:

current directory: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ext/nokogiri
/usr/local/bin/ruby -r ./siteconf20170104-27932-69pl9d.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4.

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.4.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4... OK
Running 'configure' for libxml2 2.9.4... OK
Running 'compile' for libxml2 2.9.4... OK
Running 'install' for libxml2 2.9.4... OK
Activating libxml2 2.9.4 (from /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4)...
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxslt-1.1.29.

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.29.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.29... OK
Running 'configure' for libxslt 1.1.29... OK
Running 'compile' for libxslt 1.1.29... OK
Running 'install' for libxslt 1.1.29... OK
Activating libxslt 1.1.29 (from /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29)...
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}/lib64
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
    --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}/lib64
    --enable-cross-build
    --disable-cross-build
    --with-xml2lib
    --without-xml2lib
    --with-libxml2lib
    --without-libxml2lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /usr/local/lib64/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.7.0/mkmf.log

extconf failed, exit code 1

mkmf.log:

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static  -lpthread -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat    -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static -lz  -lpthread -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.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 ((*)()))gzdopen; return !p; }
/* end */

--------------------

have_iconv?: checking for iconv... -------------------- yes

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static  -lpthread -ldl -lcrypt -lm   -lc "
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

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I.     -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static -llzma  -lpthread -ldl -lcrypt -lm   -lc "
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 !p; }
/* end */

--------------------

have_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- no

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I. -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2    "-DNOKOGIRI_LIBXML2_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic    /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I. -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2    "-DNOKOGIRI_LIBXML2_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic    /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

have_library: checking for xmlParseDoc() in -lxml2... -------------------- no

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I. -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2    "-DNOKOGIRI_LIBXML2_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic    /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static -lxml2 /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I. -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2    "-DNOKOGIRI_LIBXML2_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic    /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static -lxml2 /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

have_library: checking for xmlParseDoc() in -llibxml2... -------------------- no

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I. -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2    "-DNOKOGIRI_LIBXML2_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic    /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static -llibxml2 /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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 !p; }
/* end */

"gcc -o conftest -I/usr/local/include/ruby-2.3.0/x86_64-linux -I/usr/local/include/ruby-2.3.0/ruby/backward -I/usr/local/include/ruby-2.3.0 -I. -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2    "-DNOKOGIRI_LIBXML2_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\""  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c  -L. -L/usr/local/lib64 -Wl,-R/usr/local/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib64 -L/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -Wl,-R/usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib64 -L/lib64 -Wl,-R/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic    /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/usr/local/lib64 -L/usr/local/lib64 -lruby-static -llibxml2 /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a: No such file or directory
gcc: error: /usr/local/lib64/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a: No such file or directory
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: extern void xmlParseDoc();
16: int t(void) { xmlParseDoc(); return 0; }
/* end */

--------------------

/usr/share/site/x86_64-unknown-linux-gnu:

#!/bin/sh
# Site script for configure. It is resourced via $CONFIG_SITE environment varaible.

# If user did not specify libdir, guess the correct target:
# Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
if test "$libdir" = '${exec_prefix}/lib' ; then

        ac_config_site_64bit_host=NONE

        case "$host" in
        "" )
                # User did not specify host target.
                # The native platform x86_64 is a bi-arch platform.
                # Try to detect cross-compilation to inferior architecture.

                # We are trying to guess 32-bit target compilation. It's not as easy as
                # it sounds, as there is possible several intermediate combinations.
                ac_config_site_cross_to_32bit_host=NONE

                # User defined -m32 in CFLAGS or CXXFLAGS or CC or CXX:
                # (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
                case "$CFLAGS $CXXFLAGS $CC $CXX" in
                *-m32*)
                        ac_config_site_cross_to_32bit_host=YES
                        ;;
                esac

                # Running with linux32:
                # (Changes detected platform, but not the toolchain target.)
                case "`/bin/uname -i`" in
                x86_64 | ppc64 | s390x )
                        ;;
                * )
                        ac_config_site_cross_to_32bit_host=YES
                        ;;
                esac

                if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
                        ac_config_site_64bit_host=YES
                fi

                ;;
        *x86_64* | *ppc64* | *s390x* )
                ac_config_site_64bit_host=YES
                ;;
        esac

        if test "x$ac_config_site_64bit_host" = xYES; then
                libdir='${exec_prefix}/lib64'
        fi
fi

# If user did not specify libexecdir, set the correct target:
# Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.

if test "$libexecdir" = '${exec_prefix}/libexec' ; then
        libexecdir='${exec_prefix}/lib'
fi

# Continue with the standard behavior of configure defined in AC_SITE_LOAD:
if test "x$prefix" != xNONE; then
        ac_site_file1=$prefix/share/config.site
        ac_site_file2=$prefix/etc/config.site
else
        ac_site_file1=$ac_default_prefix/share/config.site
        ac_site_file2=$ac_default_prefix/etc/config.site
fi
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
        test "x$ac_site_file" = xNONE && continue
        if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
$as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;}
                sed 's/^/| /' "$ac_site_file" >&5
                . "$ac_site_file" \
                        || { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See \`config.log' for more details" "$LINENO" 5; }
        fi
done

Hi,

Danke, dass Sie dieses Thema angesprochen haben. Wir sind sicherlich bereit, einen Patch zur Unterstützung von openSUSE zu akzeptieren.

Leider habe ich nie SUSE oder openSUSE verwendet und bin nicht bereit, eine funktionierende Konfiguration zu finden und dieses Problem zu diagnostizieren. Ich würde mich über einige Anweisungen zum Vorbereiten eines Docker-Images freuen, um das Gesehene zu reproduzieren, aber im Allgemeinen gehe ich davon aus, dass Leute mit Interesse an der Nokogiri-Unterstützung für eine Distribution helfen werden, diese Unterstützung bereitzustellen (z. B. #1543 für OpenBSD-Unterstützung). . Sinn ergeben?

Zunächst einmal vielen Dank, dass Sie sich die Zeit genommen haben, und für Nokogiri. Ich nutze alles, also weiß ich wirklich zu schätzen, was Sie und Team Nokogiri hier gemacht haben.

Ich wünschte, ich hätte die Zeit oder das Fachwissen, um hier einen größeren Beitrag zu leisten; Leider habe ich Zeit damit verbracht, dies herauszufinden, und ich habe nicht mehr als einen gut spezifizierten, leicht zu reproduzierenden Fehlerbericht, also muss ich wahrscheinlich weitermachen und --use-system-libraries wie viele andere.

Ich glaube jedoch nicht, dass dies stark mit OpenSUSE zusammenhängt, da ich es auf einem Mac reproduzieren kann.

So reproduzieren Sie auf MacOS (oder einem anderen 64-Bit * Nix)

Wenn Sie /usr/share/site/x86_64-unknown-linux-gnu von oben nehmen, es irgendwo auf einem 64-Bit-System (wie meinem MBP mit MacOS Sierra 10.12.1) ablegen und CONFIG_SITE darauf zeigen, können Sie das Problem reproduzieren:

Last login: Wed Jan  4 07:29:40 on ttys003
You have mail.
purp<strong i="14">@tinyjoy</strong>:~ [07:30:55] <501>$ rbenv shell 2.3.3
purp<strong i="15">@tinyjoy</strong>:~ [07:31:05] <502>$ gem search --local nokogiri

*** LOCAL GEMS ***


purp<strong i="16">@tinyjoy</strong>:~ [07:31:11] <503>$ cat ~/tmp/config-site
#!/bin/sh
# Site script for configure. It is resourced via $CONFIG_SITE environment varaible.

# If user did not specify libdir, guess the correct target:
# Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
if test "$libdir" = '${exec_prefix}/lib' ; then

        ac_config_site_64bit_host=NONE

        case "$host" in
        "" )
                # User did not specify host target.
                # The native platform x86_64 is a bi-arch platform.
                # Try to detect cross-compilation to inferior architecture.

                # We are trying to guess 32-bit target compilation. It's not as easy as
                # it sounds, as there is possible several intermediate combinations.
                ac_config_site_cross_to_32bit_host=NONE

                # User defined -m32 in CFLAGS or CXXFLAGS or CC or CXX:
                # (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
                case "$CFLAGS $CXXFLAGS $CC $CXX" in
                *-m32*)
                        ac_config_site_cross_to_32bit_host=YES
                        ;;
                esac

                # Running with linux32:
                # (Changes detected platform, but not the toolchain target.)
                case "`/bin/uname -i`" in
                x86_64 | ppc64 | s390x )
                        ;;
                * )
                        ac_config_site_cross_to_32bit_host=YES
                        ;;
                esac

                if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
                        ac_config_site_64bit_host=YES
                fi

                ;;
        *x86_64* | *ppc64* | *s390x* )
                ac_config_site_64bit_host=YES
                ;;
        esac

        if test "x$ac_config_site_64bit_host" = xYES; then
                libdir='${exec_prefix}/lib64'
        fi
fi

# If user did not specify libexecdir, set the correct target:
# Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.

if test "$libexecdir" = '${exec_prefix}/libexec' ; then
        libexecdir='${exec_prefix}/lib'
fi

# Continue with the standard behavior of configure defined in AC_SITE_LOAD:
if test "x$prefix" != xNONE; then
        ac_site_file1=$prefix/share/config.site
        ac_site_file2=$prefix/etc/config.site
else
        ac_site_file1=$ac_default_prefix/share/config.site
        ac_site_file2=$ac_default_prefix/etc/config.site
fi
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
        test "x$ac_site_file" = xNONE && continue
        if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
$as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;}
                sed 's/^/| /' "$ac_site_file" >&5
                . "$ac_site_file" \
                        || { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See \`config.log' for more details" "$LINENO" 5; }
        fi
done

purp<strong i="17">@tinyjoy</strong>:~ [07:31:20] <504>$ export CONFIG_SITE=/Users/purp/tmp/config-site
purp<strong i="18">@tinyjoy</strong>:~ [07:32:01] <505>$ gem install nokogiri
Fetching: nokogiri-1.7.0.1.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
    ERROR: Failed to build gem native extension.

    current directory: /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri
/usr/local/var/rbenv/versions/2.3.3/bin/ruby -r ./siteconf20170104-81264-1i77mcj.rb 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.
Using mini_portile version 2.1.0
checking for iconv.h... yes
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4.

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.4.tar.gz into tmp/x86_64-apple-darwin16.1.0/ports/libxml2/2.9.4... OK
Running 'configure' for libxml2 2.9.4... OK
Running 'compile' for libxml2 2.9.4... OK
Running 'install' for libxml2 2.9.4... OK
Activating libxml2 2.9.4 (from /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/x86_64-apple-darwin16.1.0/libxml2/2.9.4)...
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxslt-1.1.29.

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.29.tar.gz into tmp/x86_64-apple-darwin16.1.0/ports/libxslt/1.1.29... OK
Running 'configure' for libxslt 1.1.29... OK
Running 'compile' for libxslt 1.1.29... OK
Running 'install' for libxslt 1.1.29... OK
Activating libxslt 1.1.29 (from /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/x86_64-apple-darwin16.1.0/libxslt/1.1.29)...
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=/usr/local/var/rbenv/versions/2.3.3/bin/$(RUBY_BASE_NAME)
    --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

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-16/2.3.0-static/nokogiri-1.7.0.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1 for inspection.
Results logged to /usr/local/var/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-16/2.3.0-static/nokogiri-1.7.0.1/gem_make.out
purp<strong i="19">@tinyjoy</strong>:~ [07:33:01] <506>$

Ich hoffe, das reicht aus, um es jemandem mit mehr Erfahrung in Nokogiris Build-System(en) leicht zu machen, diesen Fehler zu jagen und zu beseitigen.

Auch für die Nachwelt:

Nokogiri manuell unter OpenSUSE Leap 42.1 installieren:

gem install nokogiri -- --use-system-libraries \
    --with-xml2-dir=/usr \
    --with-xslt-dir=/usr \
    --with-exslt-dir=/usr

Ich kann nicht sagen, dass ich verstehe, warum ich diese Verzeichnisse angeben musste, da dies der Systemstandard ist, aber es funktioniert und ich habe es eilig. Auch dokumentiert in einem Kern , den ich eines Tages aktualisieren kann.

Ich habe es in ext/nokogiri/extconf.rb bis zu fest codierter 'lib' verfolgt:

  if static_p
    $libs = $libs.shellsplit.map do |arg|
      case arg
      when '-lxml2'
        File.join(libxml2_recipe.path, 'lib', lib_a(arg))
      when '-lxslt', '-lexslt'
        File.join(libxslt_recipe.path, 'lib', lib_a(arg))
      else
        arg
      end
    end.shelljoin
  end

SUSE verwendet wie MacOS ein CONFIG_SITE-Skript, um autoconf anzuweisen, lib64 zu verwenden, was Probleme für die oben genannten hartcodierten 'lib'-Referenzen verursacht.

Das Hacken meiner fehlgeschlagenen Gem-Installation, das Ändern des Codes, um nach der Existenz der Bibliothek 'lib64' zu suchen und dann auf 'lib' zurückzugreifen, ermöglicht es extconf.rb, ein Makefile zu vervollständigen und zu generieren, das dann nokogiri erstellen kann.

Dies ist die von mir gewählte Lösung (mit einer ähnlichen Permutation für den xslt-Fall:

(lib64 = File.join(libxml2_recipe.path, 'lib64', lib_a(arg))) && File.exist?(lib64) ? lib64 : File.join(libxml2_recipe.path, 'lib', lib_a(arg))

Ich habe mich für diese Strategie entschieden, weil die anderen Optionen fragwürdig und brüchig erschienen. Die Pfadinformationen der xml2- und xslt-Bibliotheken sind in libtool *.la-Dateien, pkgconfig *.pc-Dateien und *-config-Skripten gespeichert. Ich konnte keine Dokumentation zu libtool *.la oder einem libtool-Skript zum Extrahieren der Informationen finden. Ich wollte keine neue Abhängigkeit von pkgconfig einführen. Und das Parsen oder Ausführen von *-config-Shell-Skripten wäre einfach zu hässlich.

Ich muss heute alle Nokogiri-Entwicklungsabhängigkeiten zusammenbringen, um zu versuchen, diesen Fix in einen Pull zu formalisieren.

Pull-Request #1574 erstellt.

Ich bin neu bei Pull Requests, also sei bitte sanft. Es besteht alle Tests mit Ausnahme von 4 Sprüngen, bei denen ich anscheinend keine Details preisgeben kann (das Hinzufügen von --verbose ändert nichts).

Fabelhafter Lauf in 6.871694 s, 201.4059 Läufen/s, 578.1689 Behauptungen/s.

1384 Durchläufe, 3973 Assertions, 0 Fehler, 0 Fehler, 4 Sprünge

Sie haben Tests übersprungen. Führen Sie mit --verbose für Details aus.

+1
(und vielen Dank für nokogirl, dies ist ein laufendes Problem, das behoben werden könnte)

Ok, alles, ich brauche mehr Hilfe, um zu verstehen, was hier vor sich geht.

Ich habe versucht, das zu reproduzieren, was Sie in einem Openuse-Docker-Image sehen. Wenn Sie dies ausführen, wird dies erfolgreich kompiliert und installiert:

$ docker run -it opensuse:42.1 bash
bash-4.2# zypper install -y ruby ruby-devel gcc make tar zlib-devel
...
bash-4.2# gem install nokogiri
Fetching: nokogiri-1.7.0.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.7.0.1

Ich kann also immer noch nicht reproduzieren, was ihr alle seht. Helfen Sie mir dabei, damit ich das richtig beheben kann?

Schließlich, wenn ich versuche, diese Installation von nokogiri zu verwenden, erhalte ich einen neuen Fehler, den Sie nicht erwähnt haben, und möchte Hilfe bei der Diagnose:

bash-4.2# irb
irb(main):001:0> require 'nokogiri'
LoadError: libexslt.so.0: cannot open shared object file: No such file or directory - /usr/lib64/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0/nokogiri-1.7.0.1/nokogiri/nokogiri.so
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.7.0.1/lib/nokogiri.rb:32:in `rescue in <top (required)>'
    from /usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.7.0.1/lib/nokogiri.rb:28:in `<top (required)>'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from (irb):1
    from /usr/bin/irb:11:in `<main>'
irb(main):002:0> exit
bash-4.2# find /usr -name libexslt.so.0
/usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.7.0.1/ports/x86_64-suse-linux-gnu/libxslt/1.1.29/lib/libexslt.so.0

Ich kann mir vorstellen, dass dies durch ein verwandtes Pfadproblem verursacht wird; Aber ich möchte wirklich nicht damit beginnen, PRs dafür auszuwerten, es sei denn, ich kann reproduzieren, was Sie sehen, und das ist mir noch nicht gelungen.

Kann mir jemand helfen?

Außerdem - bitte wickeln Sie Ihre Protokolle mit dem dreifachen Backtick ein, damit sie gut formatiert werden. Ich bin alle vorherigen Kommentare zu diesem Thread durchgegangen und habe es für Sie erledigt.

Ich muss den nächsten Meilenstein erreichen, wofür mein Job mich bezahlt ;-) bevor ich damit in einem Docker-Container herumspielen kann. Hoffentlich irgendwann nächste Woche.

Ich konnte mein ursprüngliches Problem mit dem Docker opensuse 42.1 Container reproduzieren.

Meine tägliche Webanwendung wird bereitgestellt, indem Ruby (und viele andere Dinge) aus der Quelle in einen Nicht-Systemspeicherort auf dem Zielsystem erstellt werden, gefolgt von der Installation von Rails und verschiedenen anderen abhängigen Gems, einschließlich Nokogiri.

Bei Opensuse stellt das Site-Config-Paket ein kleines Autoconf-Skript bereit, das die lib64-Namenskonvention einrichtet. Dieses Skript wird durch die env var CONFIG_SITE angegeben. Wenn Sie opensuse von einer ISO installieren, erhalten Sie standardmäßig site-config und die Standard-Shell-Profile setzen CONFIG_SITE.

Der Docker-Container ist zu aufgeräumt und enthält keine Site-Config und den anderen Kleber, der die env var über Shell-Profile einrichtet. Sobald Sie das Docker-Image realistischer gestalten, ist der Nokogiri-Fehler reproduzierbar.

Rufen Sie das Docker-Image wie oben auf:

docker run - es

Gehen Sie dann in der Docker-Bash-Shell wie folgt vor, um mein ursprüngliches Problem zu reproduzieren:

zypper install -y aaa_base gcc libopenssl-devel make site-config tar wget zlib-devel
bash --login
cd $HOME
wget https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.gz
tar xvfz ruby-2.3.3.tar.gz
CD Rubin-2.3.3
./configure --prefix=$HOME/stack --disable-install-doc
machen
Test machen
installieren
CD ..
$HOME/stack/bin/gem install nokogiri --no-document

Die Nokogiri-Gem-Installation wird auf die gleiche Weise wie in meinem ursprünglichen Beitrag oben fehlschlagen, dh nach den gebündelten Libs in einem "lib"-Unterverzeichnis statt im "lib64"-Unterverzeichnis suchen, in dem autoconf entschieden hat, dass sie erstellt werden.

@mbixby17451 Es sieht so aus, als würden Sie Ihren eigenen Ruby

Können Sie dieses Problem mit dem ruby Paket reproduzieren, das zypper installiert?

@flavorjones Ich habe oben Anweisungen zum Reproduzieren auf einem MacBook Pro bereitgestellt. Sie funktionieren mit jeder Ruby-Version. Ich glaube nicht, dass dies ein OpenSUSE-Problem ist; darauf hat @mbixby17451 hingewiesen: Es gibt eine

@purp Danke für die zusätzlichen Kommentare. Ich konnte dies jedoch nicht reproduzieren (ich bin kein Mac-Benutzer); und solange ich es nicht reproduzieren kann, kann ich es nicht reparieren (und ich akzeptiere auch nicht gerne eine blinde Korrektur von einem Nicht-Kernmitwirkenden).

Können Sie mir helfen, dieses Problem zu reproduzieren?

@flavorjones Verstehe die (richtige) Vorsicht beim Entnehmen von Code von Randos wie mir. Ich kann auf jeden Fall versuchen, es zu reproduzieren.

Hast du die Schritte ausprobiert, die ich in meinem früheren Kommentar angegeben habe ? Ich denke, wenn Sie diesen Inhalt in eine Datei einfügen, diese Umgebungsvariable festlegen und versuchen, nokogiri zu installieren, sollte dies in jedem Betriebssystem auf jeder Architektur passieren.

Wenn das Problem dadurch nicht reproduziert werden kann, sagen Sie mir, welches Betriebssystem/Arch Sie verwenden, und ich werde sehen, ob ich es dort reproduzieren kann.

OpenSuse Leap 42.2 Benutzer hier.

Möchte das nur hinzufügen
in _RVM_ env kann ich nokogiri 1.6.8.1 nicht mit rvm ruby ​​2.2.6 installieren, da der Fehler 'libxml2 fehlt' (Protokoll angehängt).
mkmf_nokogiri_log.txt

Ich muss diesen Workaround verwenden:
gem install nokogiri -v 1.6.8.1 -- --use-system-libraries --with-xml2-config=/usr/bin/xml2-config

Jedoch,
in _system_ env ruby ​​2.1 kann ich nokogiri problemlos installieren:
sudo gem install nokogiri -v 1.6.8.1

@purp Ich habe Ihre Schritte zum Reproduzieren früher gelesen, muss aber zugeben, dass ich sie nicht ganz verstehe.

Wie ich in meinem früheren Kommentar gefragt

Und ich habe meinen Versuch, dies in Docker zu reproduzieren, in einem anderen früheren Kommentar gezeigt , also möchte ich wirklich nur eine Anleitung, wie Sie sehen können, was Sie sehen.

Mein Zögern hat nichts damit zu tun, dass du ein "Rando" bist ;). Es hat damit zu tun, a) das zugrunde liegende Problem zu verstehen, damit ich b) feststellen kann, ob der Fix angemessen ist oder ob es einen besseren Fix gibt, und c) diesen Fix in Zukunft pflegen und unterstützen.

Ich zeige meine Arbeit wieder. Das Docker-Image opensuse:leap ...

Wenn ich das mache:

zypper install -y ruby ruby-devel gcc make tar zlib-devel
gem install -V nokogiri --no-rdoc --no-ri

es funktioniert total:

bash-4.3# irb -rnokogiri
irb(main):001:0> Nokogiri::VERSION_INFO
=> {"warnings"=>[], "nokogiri"=>"1.7.0.1", "ruby"=>{"version"=>"2.1.2", "platform"=>"x86_64-linux-gnu", "description"=>"ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux-gnu]", "engine"=>"ruby"}, "libxml"=>{"binding"=>"extension", "source"=>"system", "compiled"=>"2.9.4", "loaded"=>"2.9.4"}}

Wenn ich das mache:

zypper install -y ruby ruby-devel gcc make libxml2-devel libxslt-devel
gem install -V nokogiri --no-rdoc --no-ri -- --use-system-libraries

es funktioniert total:

bash-4.3# irb -rnokogiri -ryaml
irb(main):001:0> puts Nokogiri::VERSION_INFO.to_yaml
---
warnings: []
nokogiri: 1.7.0.1
ruby:
  version: 2.1.2
  platform: x86_64-linux-gnu
  description: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux-gnu]
  engine: ruby
libxml:
  binding: extension
  source: packaged
  libxml2_path: "/usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.7.0.1/ports/x86_64-suse-linux-gnu/libxml2/2.9.4"
  libxslt_path: "/usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.7.0.1/ports/x86_64-suse-linux-gnu/libxslt/1.1.29"
  libxml2_patches: []
  libxslt_patches: []
  compiled: 2.9.4
  loaded: 2.9.4
=> nil

Beachten Sie, dass es in diesem zweiten Anwendungsfall die lib64 Dateien findet.

Was vermisse ich?

Mein Docker-Rezept oben zum Reproduzieren des Fehlers in meinem Anwendungsfall (Nicht-System-Ruby) erstellt diesen Ruby mit allen Standardoptionen außer dem Verzeichnispräfix (notwendig für Nicht-System-Build) und der Unterdrückung der Doc-Generierung (warum die Zeit verschwenden?). Ich kann es nicht klarer oder abgespeckter machen und immer noch meinen Anwendungsfall widerspiegeln, bei dem Nokogiri versagt.

Nokogiri selbst unterstützt denselben Anwendungsfall, bei dem wesentliche Abhängigkeiten gebündelt und an Nicht-Systemstandorten erstellt werden, anstatt sich auf möglicherweise inkompatible Systempakete zu verlassen. Was ich also mit einem Nicht-System-Ruby mache, sollte nicht besonders überraschend oder unvernünftig sein.

@mbixby17451 Ich habe in meinem obigen Kommentar gefragt, ob Sie dieses Problem mit dem System Ruby reproduzieren könnten, weil ich versuche, das Problem zu halbieren und Variablen zu entfernen, bis klar ist, wo das Problem liegt.

Wenn Sie dieses Problem nicht mit dem System-Ruby reproduzieren können, können Sie mir dann helfen zu verstehen, warum angenommen wird, dass das Problem bei Nokogiri liegt und nicht bei der Erstellung des Nicht-System-Ruby?

Ich bin immer noch am Graben ... Ich glaube, ich habe dieses Wurzelproblem (wenn auch mit anderen Symptomen) mit dem Systemruby reproduziert. Gib mir ein bisschen.

Ich glaube, das Problem hat damit zu tun, wie die Shared Object-Datei nokogiri.so auf OpenSuse erstellt wird.

Auf Ubuntu und anderen Linux-Systemen enthält das von extconf.rb erstellte Makefile eine Zeile wie:

LIBPATH =  -L. -L$(libdir) -Wl,-R$(libdir) -L/home/flavorjones/code/oss/nokogiri/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/flavorjones/code/oss/nokogiri/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/flavorjones/code/oss/nokogiri/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/flavorjones/code/oss/nokogiri/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib

die wichtigsten Teile sind -Wl,-R<directory> das die Option -rpath ld , um Verzeichnisse zum Bibliothekssuchpfad der (eventuellen) Laufzeit hinzuzufügen.

Dieselbe Zeile im Makefile von OpenSuse:

LIBPATH =  -L. -L$(libdir) -L/nokogiri/ports/x86_64-suse-linux-gnu/libxml2/2.9.4/lib64 -L/nokogiri/ports/x86_64-suse-linux-gnu/libxslt/1.1.29/lib64 -L/lib64

Weiß jemand, warum OpenSuse so schwierig ist? Ich werde weiter stochern.

OK, also mit dem Ruby auf meiner Ubuntu-Entwicklungsmaschine:

require 'rbconfig'
puts RbConfig::CONFIG["RPATHFLAG"]
# => " -Wl,-R%1$-s" 

aber auf OpenSuse:

# => ""

(Dies ist mit dem System-Ruby, habe es noch nicht mit meinem eigenen kompilierten Ruby versucht) ... das ist ein Teil des Problems.

Ich kann den Ruby des OpenSUSE-Systems nicht zum Versagen bringen. RPATHFLAG ist, wie Sie anmerken, auf System- und Nicht-System-Rubin.

Ich kann jedoch mein Docker-Nokogiri-Fehlerduplizierungsrezept in eine erfolgreiche Nokogiri-Installation umwandeln, wenn ich die CONFIG_SITE env var (die aus den OpenSUSE-Paketen site-config und aaa_base stammt) deaktiviere, bevor ich das Nicht-System-Ruby-Configure-Skript ausführe.

CONFIG_SITE zeigt auf ein Autoconf-Skript, das die Namenskonvention "lib64" auferlegt. Wenn ich das vor dem Erstellen eines Nicht-System-Rubys deaktiviere, wird die übliche "lib"-Namenskonvention verwendet, die der Erwartung der hartcodierten "lib" in Nokogiri entspricht.

RPATHFLAG ist für mich beim Erstellen von Nicht-System-Rubin sowohl im Erfolgs- als auch im Misserfolgsfall gleich. Es scheint daher unwahrscheinlich, dass es allein die Ursache für den Ausfall ist.

Dies scheint eindeutig mit den Einstellungen von CONFIG_SITE/autoconf verbunden zu sein, da ich es so auf jedem 64-Bit-x86-System reproduzieren kann, einschließlich Ubuntu.

  1. Nehmen Sie das Skript /usr/share/site/x86_64-unknown-linux-gnu von einem OpenSUSE Leap 42-System und kopieren Sie es nach /tmp/config_site_from_opensuse auf dem System, das Sie verwenden möchten, um dies zu reproduzieren.
  2. export CONFIG_SITE=/tmp/config_site_from_opensuse
  3. gem install nokogiri

Inhalt von /usr/share/site/x86_64-unknown-linux-gnu unten:

#!/bin/sh
# Site script for configure. It is resourced via $CONFIG_SITE environment varaible.

# If user did not specify libdir, guess the correct target:
# Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
if test "$libdir" = '${exec_prefix}/lib' ; then

        ac_config_site_64bit_host=NONE

        case "$host" in
        "" )
                # User did not specify host target.
                # The native platform x86_64 is a bi-arch platform.
                # Try to detect cross-compilation to inferior architecture.

                # We are trying to guess 32-bit target compilation. It's not as easy as
                # it sounds, as there is possible several intermediate combinations.
                ac_config_site_cross_to_32bit_host=NONE

                # User defined -m32 in CFLAGS or CXXFLAGS or CC or CXX:
                # (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
                case "$CFLAGS $CXXFLAGS $CC $CXX" in
                *-m32*)
                        ac_config_site_cross_to_32bit_host=YES
                        ;;
                esac

                # Running with linux32:
                # (Changes detected platform, but not the toolchain target.)
                case "`/bin/uname -i`" in
                x86_64 | ppc64 | s390x )
                        ;;
                * )
                        ac_config_site_cross_to_32bit_host=YES
                        ;;
                esac

                if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
                        ac_config_site_64bit_host=YES
                fi

                ;;
        *x86_64* | *ppc64* | *s390x* )
                ac_config_site_64bit_host=YES
                ;;
        esac

        if test "x$ac_config_site_64bit_host" = xYES; then
                libdir='${exec_prefix}/lib64'
        fi
fi

# If user did not specify libexecdir, set the correct target:
# Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.

if test "$libexecdir" = '${exec_prefix}/libexec' ; then
        libexecdir='${exec_prefix}/lib'
fi

# Continue with the standard behavior of configure defined in AC_SITE_LOAD:
if test "x$prefix" != xNONE; then
        ac_site_file1=$prefix/share/config.site
        ac_site_file2=$prefix/etc/config.site
else
        ac_site_file1=$ac_default_prefix/share/config.site
        ac_site_file2=$ac_default_prefix/etc/config.site
fi
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
        test "x$ac_site_file" = xNONE && continue
        if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
$as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;}
                sed 's/^/| /' "$ac_site_file" >&5
                . "$ac_site_file" \
                        || { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See \`config.log' for more details" "$LINENO" 5; }
        fi
done

OK, noch ein paar Fortschritte: Wenn ich meinen eigenen Ruby baue, indem ich das Rezept von diesem Kommentar verwende , ist RPATHFLAG richtig eingestellt:

# ruby -rrbconfig -e "puts RbConfig::CONFIG['RPATHFLAG']"
 -Wl,-R%1$-s

Und außerdem installiert sich nokogiri richtig:

# gem install nokogiri -V
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=nokogiri
200 OK
Getting SRV record failed: DNS result has no information for _rubygems._tcp.api.rubygems.org
GET https://api.rubygems.org/api/v1/dependencies?gems=mini_portile2
200 OK
Downloading gem nokogiri-1.7.0.1.gem
GET https://api.rubygems.org/gems/nokogiri-1.7.0.1.gem
200 OK
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/.autotest
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/.cross_rubies
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/.editorconfig
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/.gemtest
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/.travis.yml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/CHANGELOG.md
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/CONTRIBUTING.md
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/C_CODING_STYLE.rdoc
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/Gemfile
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/LICENSE.txt
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/Manifest.txt
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/README.md
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ROADMAP.md
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/Rakefile
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/STANDARD_RESPONSES.md
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/Y_U_NO_GEMSPEC.md
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/appveyor.yml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/bin/nokogiri
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/build_all
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/dependencies.yml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/depend
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/extconf.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_document.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_document.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_element_description.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_element_description.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_entity_lookup.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_entity_lookup.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_sax_parser_context.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_sax_parser_context.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_sax_push_parser.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/html_sax_push_parser.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/nokogiri.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/nokogiri.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_attr.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_attr.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_attribute_decl.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_attribute_decl.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_cdata.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_cdata.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_comment.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_comment.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_document.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_document.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_document_fragment.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_document_fragment.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_dtd.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_dtd.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_element_content.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_element_content.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_element_decl.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_element_decl.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_encoding_handler.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_encoding_handler.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_entity_decl.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_entity_decl.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_entity_reference.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_entity_reference.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_io.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_io.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_libxml2_hacks.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_libxml2_hacks.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_namespace.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_namespace.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_node.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_node.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_node_set.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_node_set.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_processing_instruction.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_processing_instruction.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_reader.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_reader.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_relax_ng.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_relax_ng.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_sax_parser.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_sax_parser.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_sax_parser_context.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_sax_parser_context.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_sax_push_parser.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_sax_push_parser.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_schema.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_schema.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_syntax_error.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_syntax_error.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_text.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_text.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_xpath_context.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xml_xpath_context.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xslt_stylesheet.c
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/xslt_stylesheet.h
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/node.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/parser.y
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/parser_extras.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/syntax_error.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/tokenizer.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/tokenizer.rex
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/css/xpath_visitor.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/decorators/slop.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/builder.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/document.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/document_fragment.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/element_description.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/element_description_defaults.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/entity_lookup.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/sax/parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/sax/parser_context.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/html/sax/push_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/syntax_error.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/version.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/attr.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/attribute_decl.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/builder.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/cdata.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/character_data.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/document.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/document_fragment.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/dtd.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/element_content.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/element_decl.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/entity_decl.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/namespace.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/node.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/node/save_options.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/node_set.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/notation.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/parse_options.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/pp.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/pp/character_data.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/pp/node.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/processing_instruction.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/reader.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/relax_ng.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/sax.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/sax/document.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/sax/parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/sax/parser_context.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/sax/push_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/schema.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/searchable.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/syntax_error.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/text.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/xpath.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/xpath/syntax_error.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xml/xpath_context.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xslt.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/nokogiri/xslt/stylesheet.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/lib/xsd/xmlparser/nokogiri.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/patches/sort-patches-by-date
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/archives/libxml2-2.9.4.tar.gz
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/archives/libxslt-1.1.29.tar.gz
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/suppressions/README.txt
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/suppressions/nokogiri_ree-1.8.7.358.supp
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/suppressions/nokogiri_ruby-1.8.7.370.supp
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/suppressions/nokogiri_ruby-1.9.2.320.supp
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/suppressions/nokogiri_ruby-1.9.3.327.supp
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/tasks/test.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/css/test_nthiness.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/css/test_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/css/test_tokenizer.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/css/test_xpath_visitor.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/decorators/test_slop.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/2ch.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/GH_1042.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/address_book.rlx
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/address_book.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/atom.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/bar/bar.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/bogus.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/dont_hurt_em_why.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/encoding.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/encoding.xhtml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/exslt.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/exslt.xslt
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/foo/foo.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/metacharset.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/namespace_pressure_test.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/noencoding.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/po.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/po.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/saml/saml20assertion_schema.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/saml/saml20protocol_schema.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/saml/xenc_schema.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/saml/xmldsig_schema.xsd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/shift_jis.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/shift_jis.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/shift_jis_no_charset.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/slow-xpath.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/snuggles.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/staff.dtd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/staff.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/staff.xslt
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/test_document_url/bar.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/test_document_url/document.dtd
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/test_document_url/document.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/tlm.html
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/to_be_xincluded.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/valid_bar.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/files/xinclude.xml
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/helper.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/sax/test_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/sax/test_parser_context.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/sax/test_push_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_builder.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_document.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_document_encoding.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_document_fragment.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_element_description.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_named_characters.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_node.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/html/test_node_encoding.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_namespaces_aliased_default.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_namespaces_in_builder_doc.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_namespaces_in_cloned_doc.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_namespaces_in_created_doc.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_namespaces_in_parsed_doc.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/namespaces/test_namespaces_preservation.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_convert_xpath.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_css_cache.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_encoding_handler.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_memory_leak.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_nokogiri.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_soap4r_sax.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/test_xslt_transforms.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/node/test_save_options.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/node/test_subclass.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/sax/test_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/sax/test_parser_context.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/sax/test_push_parser.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_attr.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_attribute_decl.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_builder.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_c14n.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_cdata.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_comment.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_document.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_document_encoding.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_document_fragment.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_dtd.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_dtd_encoding.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_element_content.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_element_decl.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_entity_decl.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_entity_reference.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_namespace.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_node.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_node_attributes.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_node_encoding.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_node_inheritance.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_node_reparenting.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_node_set.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_parse_options.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_processing_instruction.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_reader.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_reader_encoding.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_relax_ng.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_schema.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_syntax_error.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_text.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_unparented_node.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_xinclude.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xml/test_xpath.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xslt/test_custom_functions.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test/xslt/test_exception_handling.rb
/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/test_all
Building native extensions.  This could take a while...
current directory: /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri
/root/ruby-2.3.3/bin/ruby -r ./siteconf20170216-7781-g7x971.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4.

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.4.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4... OK
Running 'configure' for libxml2 2.9.4... OK
Running 'compile' for libxml2 2.9.4... OK
Running 'install' for libxml2 2.9.4... OK
Activating libxml2 2.9.4 (from /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4)...
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxslt-1.1.29.

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.29.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.29... OK
Running 'configure' for libxslt 1.1.29... OK
Running 'compile' for libxslt 1.1.29... OK
Running 'install' for libxslt 1.1.29... OK
Activating libxslt 1.1.29 (from /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29)...
checking for main() in -llzma... no
checking for xmlParseDoc() in libxml/parser.h... yes
checking for xsltParseStylesheetDoc() in libxslt/xslt.h... yes
checking for exsltFuncRegister() in libexslt/exslt.h... yes
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetValidStructuredErrors()... yes
checking for xmlSchemaSetValidStructuredErrors()... yes
checking for xmlSchemaSetParserStructuredErrors()... yes
creating Makefile
current directory: /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri
make "DESTDIR=" clean
current directory: /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri
make "DESTDIR="
compiling xml_reader.c
compiling nokogiri.c
compiling xml_element_content.c
compiling xml_libxml2_hacks.c
compiling xml_comment.c
compiling xml_node.c
xml_node.c: In function 'reparent_node_with':
xml_node.c:170:7: warning: enumeration value 'XML_ATTRIBUTE_NODE' not handled in switch [-Wswitch]
       switch (reparentee->type) {
       ^
xml_node.c:170:7: warning: enumeration value 'XML_ENTITY_NODE' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_DOCUMENT_FRAG_NODE' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_NOTATION_NODE' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_HTML_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_DTD_NODE' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_ELEMENT_DECL' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_ATTRIBUTE_DECL' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_ENTITY_DECL' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_NAMESPACE_DECL' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_XINCLUDE_START' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_XINCLUDE_END' not handled in switch [-Wswitch]
xml_node.c:170:7: warning: enumeration value 'XML_DOCB_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_ATTRIBUTE_NODE' not handled in switch [-Wswitch]
       switch (reparentee->type) {
       ^
xml_node.c:188:7: warning: enumeration value 'XML_ENTITY_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_DOCUMENT_TYPE_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_DOCUMENT_FRAG_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_NOTATION_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_HTML_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_DTD_NODE' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_ELEMENT_DECL' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_ATTRIBUTE_DECL' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_ENTITY_DECL' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_NAMESPACE_DECL' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_XINCLUDE_START' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_XINCLUDE_END' not handled in switch [-Wswitch]
xml_node.c:188:7: warning: enumeration value 'XML_DOCB_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_ELEMENT_NODE' not handled in switch [-Wswitch]
       switch (reparentee->type) {
       ^
xml_node.c:199:7: warning: enumeration value 'XML_ATTRIBUTE_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_CDATA_SECTION_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_ENTITY_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_PI_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_COMMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_DOCUMENT_TYPE_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_DOCUMENT_FRAG_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_NOTATION_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_HTML_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_DTD_NODE' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_ELEMENT_DECL' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_ATTRIBUTE_DECL' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_ENTITY_DECL' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_NAMESPACE_DECL' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_XINCLUDE_START' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_XINCLUDE_END' not handled in switch [-Wswitch]
xml_node.c:199:7: warning: enumeration value 'XML_DOCB_DOCUMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_CDATA_SECTION_NODE' not handled in switch [-Wswitch]
     switch (parent->type) {
     ^
xml_node.c:167:5: warning: enumeration value 'XML_ENTITY_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_PI_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_COMMENT_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_DOCUMENT_TYPE_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_NOTATION_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_DTD_NODE' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_ELEMENT_DECL' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_ATTRIBUTE_DECL' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_ENTITY_DECL' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_NAMESPACE_DECL' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_XINCLUDE_START' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_XINCLUDE_END' not handled in switch [-Wswitch]
xml_node.c:167:5: warning: enumeration value 'XML_DOCB_DOCUMENT_NODE' not handled in switch [-Wswitch]
compiling xml_text.c
compiling xml_document_fragment.c
compiling xml_syntax_error.c
compiling xml_sax_parser.c
xml_sax_parser.c: In function 'start_document':
xml_sax_parser.c:28:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
       VALUE version = ctxt->version ? NOKOGIRI_STR_NEW2(ctxt->version) : Qnil;
       ^
compiling html_element_description.c
In file included from /root/ruby-2.3.3/include/ruby-2.3.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_element_description.h:4,
                 from html_element_description.c:1:
html_element_description.c: In function 'get_description':
html_element_description.c:252:40: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
   return Data_Wrap_Struct(klass, 0, 0, (void *)description);
                                        ^
/root/ruby-2.3.3/include/ruby-2.3.0/ruby/ruby.h:1167:34: note: in definition of macro 'Data_Wrap_Struct'
     rb_data_object_wrap((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free))
                                  ^
compiling xml_sax_push_parser.c
compiling xml_attr.c
compiling xml_entity_decl.c
compiling xml_relax_ng.c
compiling xml_element_decl.c
compiling xml_io.c
compiling xml_sax_parser_context.c
compiling xml_node_set.c
compiling xslt_stylesheet.c
xslt_stylesheet.c: In function 'initFunc':
xslt_stylesheet.c:217:5: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [enabled by default]
     Data_Get_Struct(ctxt->style->_private, nokogiriXsltStylesheetTuple,
     ^
In file included from /root/ruby-2.3.3/include/ruby-2.3.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xslt_stylesheet.h:4,
                 from xslt_stylesheet.c:1:
/root/ruby-2.3.3/include/ruby-2.3.0/ruby/ruby.h:1397:1: note: expected 'VALUE' but argument is of type 'void *'
 rb_data_object_get(VALUE obj)
 ^
xslt_stylesheet.c: In function 'shutdownFunc':
xslt_stylesheet.c:230:5: warning: passing argument 1 of 'rb_data_object_get' makes integer from pointer without a cast [enabled by default]
     Data_Get_Struct(ctxt->style->_private, nokogiriXsltStylesheetTuple,
     ^
In file included from /root/ruby-2.3.3/include/ruby-2.3.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xslt_stylesheet.h:4,
                 from xslt_stylesheet.c:1:
/root/ruby-2.3.3/include/ruby-2.3.0/ruby/ruby.h:1397:1: note: expected 'VALUE' but argument is of type 'void *'
 rb_data_object_get(VALUE obj)
 ^
compiling xml_attribute_decl.c
compiling xml_namespace.c
xml_namespace.c: In function 'dealloc_namespace':
xml_namespace.c:17:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
     xmlFree((xmlChar *)ns->href);
             ^
xml_namespace.c:20:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
     xmlFree((xmlChar *)ns->prefix);
             ^
xml_namespace.c: In function 'part_of_an_xpath_node_set_eh':
xml_namespace.c:67:3: warning: passing argument 1 of 'Nokogiri_namespace_eh' from incompatible pointer type [enabled by default]
   return (node->next && ! Nokogiri_namespace_eh(node->next));
   ^
xml_namespace.c:27:5: note: expected 'xmlNodePtr' but argument is of type 'struct _xmlNs *'
 int Nokogiri_namespace_eh(xmlNodePtr node)
     ^
compiling xml_dtd.c
compiling xml_processing_instruction.c
compiling html_sax_parser_context.c
compiling html_sax_push_parser.c
compiling xml_encoding_handler.c
compiling xml_xpath_context.c
compiling html_entity_lookup.c
compiling xml_document.c
xml_document.c: In function 'set_encoding':
xml_document.c:182:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
       free((char *) doc->encoding); /* this may produce a gcc cast warning */
            ^
xml_document.c: In function 'canonicalize':
xml_document.c:535:15: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
       ns[i] = (xmlChar*) ptr;
               ^
compiling xml_schema.c
compiling xml_cdata.c
compiling xml_entity_reference.c
compiling html_document.c
linking shared-object nokogiri/nokogiri.so
Cleaning files only used during build.
rm -rf /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports
rm -rf /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports
current directory: /root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri
make "DESTDIR=" install
/usr/bin/install -c -m 0755 nokogiri.so ./.gem.20170216-7781-1rmk8v8/nokogiri
To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /root/ruby-2.3.3/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0-static/nokogiri-1.7.0.1/mkmf.log
/root/ruby-2.3.3/bin/nokogiri
Successfully installed nokogiri-1.7.0.1
Parsing documentation for nokogiri-1.7.0.1
Parsing sources...
  0% [ 1/179]  CHANGELOG.md
  1% [ 2/179]  CONTRIBUTING.md
  1% [ 3/179]  C_CODING_STYLE.rdoc
  2% [ 4/179]  LICENSE.txt
  2% [ 5/179]  Manifest.txt
  3% [ 6/179]  README.md
  3% [ 7/179]  ROADMAP.md
  4% [ 8/179]  STANDARD_RESPONSES.md
  5% [ 9/179]  Y_U_NO_GEMSPEC.md
  5% [10/179]  ext/nokogiri/Makefile
  6% [11/179]  ext/nokogiri/depend
  6% [12/179]  ext/nokogiri/extconf.rb
  7% [13/179]  ext/nokogiri/html_document.c
  7% [14/179]  ext/nokogiri/html_document.h
  8% [15/179]  ext/nokogiri/html_document.o
  8% [16/179]  ext/nokogiri/html_element_description.c
  9% [17/179]  ext/nokogiri/html_element_description.h
 10% [18/179]  ext/nokogiri/html_element_description.o
 10% [19/179]  ext/nokogiri/html_entity_lookup.c
 11% [20/179]  ext/nokogiri/html_entity_lookup.h
 11% [21/179]  ext/nokogiri/html_entity_lookup.o
 12% [22/179]  ext/nokogiri/html_sax_parser_context.c
 12% [23/179]  ext/nokogiri/html_sax_parser_context.h
 13% [24/179]  ext/nokogiri/html_sax_parser_context.o
 13% [25/179]  ext/nokogiri/html_sax_push_parser.c
 14% [26/179]  ext/nokogiri/html_sax_push_parser.h
 15% [27/179]  ext/nokogiri/html_sax_push_parser.o
 15% [28/179]  ext/nokogiri/nokogiri.c
 16% [29/179]  ext/nokogiri/nokogiri.h
 16% [30/179]  ext/nokogiri/nokogiri.o
 17% [31/179]  ext/nokogiri/nokogiri.so
 17% [32/179]  ext/nokogiri/xml_attr.c
 18% [33/179]  ext/nokogiri/xml_attr.h
 18% [34/179]  ext/nokogiri/xml_attr.o
 19% [35/179]  ext/nokogiri/xml_attribute_decl.c
 20% [36/179]  ext/nokogiri/xml_attribute_decl.h
 20% [37/179]  ext/nokogiri/xml_attribute_decl.o
 21% [38/179]  ext/nokogiri/xml_cdata.c
 21% [39/179]  ext/nokogiri/xml_cdata.h
 22% [40/179]  ext/nokogiri/xml_cdata.o
 22% [41/179]  ext/nokogiri/xml_comment.c
 23% [42/179]  ext/nokogiri/xml_comment.h
 24% [43/179]  ext/nokogiri/xml_comment.o
 24% [44/179]  ext/nokogiri/xml_document.c
 25% [45/179]  ext/nokogiri/xml_document.h
 25% [46/179]  ext/nokogiri/xml_document.o
 26% [47/179]  ext/nokogiri/xml_document_fragment.c
 26% [48/179]  ext/nokogiri/xml_document_fragment.h
 27% [49/179]  ext/nokogiri/xml_document_fragment.o
 27% [50/179]  ext/nokogiri/xml_dtd.c
 28% [51/179]  ext/nokogiri/xml_dtd.h
 29% [52/179]  ext/nokogiri/xml_dtd.o
 29% [53/179]  ext/nokogiri/xml_element_content.c
 30% [54/179]  ext/nokogiri/xml_element_content.h
 30% [55/179]  ext/nokogiri/xml_element_content.o
 31% [56/179]  ext/nokogiri/xml_element_decl.c
 31% [57/179]  ext/nokogiri/xml_element_decl.h
 32% [58/179]  ext/nokogiri/xml_element_decl.o
 32% [59/179]  ext/nokogiri/xml_encoding_handler.c
 33% [60/179]  ext/nokogiri/xml_encoding_handler.h
 34% [61/179]  ext/nokogiri/xml_encoding_handler.o
 34% [62/179]  ext/nokogiri/xml_entity_decl.c
 35% [63/179]  ext/nokogiri/xml_entity_decl.h
 35% [64/179]  ext/nokogiri/xml_entity_decl.o
 36% [65/179]  ext/nokogiri/xml_entity_reference.c
 36% [66/179]  ext/nokogiri/xml_entity_reference.h
 37% [67/179]  ext/nokogiri/xml_entity_reference.o
 37% [68/179]  ext/nokogiri/xml_io.c
 38% [69/179]  ext/nokogiri/xml_io.h
 39% [70/179]  ext/nokogiri/xml_io.o
 39% [71/179]  ext/nokogiri/xml_libxml2_hacks.c
 40% [72/179]  ext/nokogiri/xml_libxml2_hacks.h
 40% [73/179]  ext/nokogiri/xml_libxml2_hacks.o
 41% [74/179]  ext/nokogiri/xml_namespace.c
 41% [75/179]  ext/nokogiri/xml_namespace.h
 42% [76/179]  ext/nokogiri/xml_namespace.o
 43% [77/179]  ext/nokogiri/xml_node.c
 43% [78/179]  ext/nokogiri/xml_node.h
 44% [79/179]  ext/nokogiri/xml_node.o
 44% [80/179]  ext/nokogiri/xml_node_set.c
 45% [81/179]  ext/nokogiri/xml_node_set.h
 45% [82/179]  ext/nokogiri/xml_node_set.o
 46% [83/179]  ext/nokogiri/xml_processing_instruction.c
 46% [84/179]  ext/nokogiri/xml_processing_instruction.h
 47% [85/179]  ext/nokogiri/xml_processing_instruction.o
 48% [86/179]  ext/nokogiri/xml_reader.c
 48% [87/179]  ext/nokogiri/xml_reader.h
 49% [88/179]  ext/nokogiri/xml_reader.o
 49% [89/179]  ext/nokogiri/xml_relax_ng.c
 50% [90/179]  ext/nokogiri/xml_relax_ng.h
 50% [91/179]  ext/nokogiri/xml_relax_ng.o
 51% [92/179]  ext/nokogiri/xml_sax_parser.c
 51% [93/179]  ext/nokogiri/xml_sax_parser.h
 52% [94/179]  ext/nokogiri/xml_sax_parser.o
 53% [95/179]  ext/nokogiri/xml_sax_parser_context.c
 53% [96/179]  ext/nokogiri/xml_sax_parser_context.h
 54% [97/179]  ext/nokogiri/xml_sax_parser_context.o
 54% [98/179]  ext/nokogiri/xml_sax_push_parser.c
 55% [99/179]  ext/nokogiri/xml_sax_push_parser.h
 55% [100/179]  ext/nokogiri/xml_sax_push_parser.o
 56% [101/179]  ext/nokogiri/xml_schema.c
 56% [102/179]  ext/nokogiri/xml_schema.h
 57% [103/179]  ext/nokogiri/xml_schema.o
 58% [104/179]  ext/nokogiri/xml_syntax_error.c
 58% [105/179]  ext/nokogiri/xml_syntax_error.h
 59% [106/179]  ext/nokogiri/xml_syntax_error.o
 59% [107/179]  ext/nokogiri/xml_text.c
 60% [108/179]  ext/nokogiri/xml_text.h
 60% [109/179]  ext/nokogiri/xml_text.o
 61% [110/179]  ext/nokogiri/xml_xpath_context.c
 62% [111/179]  ext/nokogiri/xml_xpath_context.h
 62% [112/179]  ext/nokogiri/xml_xpath_context.o
 63% [113/179]  ext/nokogiri/xslt_stylesheet.c
 63% [114/179]  ext/nokogiri/xslt_stylesheet.h
 64% [115/179]  ext/nokogiri/xslt_stylesheet.o
 64% [116/179]  lib/nokogiri.rb
 65% [117/179]  lib/nokogiri/css.rb
 65% [118/179]  lib/nokogiri/css/node.rb
 66% [119/179]  lib/nokogiri/css/parser.rb
 67% [120/179]  lib/nokogiri/css/parser.y
 67% [121/179]  lib/nokogiri/css/parser_extras.rb
 68% [122/179]  lib/nokogiri/css/syntax_error.rb
 68% [123/179]  lib/nokogiri/css/tokenizer.rb
 69% [124/179]  lib/nokogiri/css/tokenizer.rex
 69% [125/179]  lib/nokogiri/css/xpath_visitor.rb
 70% [126/179]  lib/nokogiri/decorators/slop.rb
 70% [127/179]  lib/nokogiri/html.rb
 71% [128/179]  lib/nokogiri/html/builder.rb
 72% [129/179]  lib/nokogiri/html/document.rb
 72% [130/179]  lib/nokogiri/html/document_fragment.rb
 73% [131/179]  lib/nokogiri/html/element_description.rb
 73% [132/179]  lib/nokogiri/html/element_description_defaults.rb
 74% [133/179]  lib/nokogiri/html/entity_lookup.rb
 74% [134/179]  lib/nokogiri/html/sax/parser.rb
 75% [135/179]  lib/nokogiri/html/sax/parser_context.rb
 75% [136/179]  lib/nokogiri/html/sax/push_parser.rb
 76% [137/179]  lib/nokogiri/nokogiri.so
 77% [138/179]  lib/nokogiri/syntax_error.rb
 77% [139/179]  lib/nokogiri/version.rb
 78% [140/179]  lib/nokogiri/xml.rb
 78% [141/179]  lib/nokogiri/xml/attr.rb
 79% [142/179]  lib/nokogiri/xml/attribute_decl.rb
 79% [143/179]  lib/nokogiri/xml/builder.rb
 80% [144/179]  lib/nokogiri/xml/cdata.rb
 81% [145/179]  lib/nokogiri/xml/character_data.rb
 81% [146/179]  lib/nokogiri/xml/document.rb
 82% [147/179]  lib/nokogiri/xml/document_fragment.rb
 82% [148/179]  lib/nokogiri/xml/dtd.rb
 83% [149/179]  lib/nokogiri/xml/element_content.rb
 83% [150/179]  lib/nokogiri/xml/element_decl.rb
 84% [151/179]  lib/nokogiri/xml/entity_decl.rb
 84% [152/179]  lib/nokogiri/xml/namespace.rb
 85% [153/179]  lib/nokogiri/xml/node.rb
 86% [154/179]  lib/nokogiri/xml/node/save_options.rb
 86% [155/179]  lib/nokogiri/xml/node_set.rb
 87% [156/179]  lib/nokogiri/xml/notation.rb
 87% [157/179]  lib/nokogiri/xml/parse_options.rb
 88% [158/179]  lib/nokogiri/xml/pp.rb
 88% [159/179]  lib/nokogiri/xml/pp/character_data.rb
 89% [160/179]  lib/nokogiri/xml/pp/node.rb
 89% [161/179]  lib/nokogiri/xml/processing_instruction.rb
 90% [162/179]  lib/nokogiri/xml/reader.rb
 91% [163/179]  lib/nokogiri/xml/relax_ng.rb
 91% [164/179]  lib/nokogiri/xml/sax.rb
 92% [165/179]  lib/nokogiri/xml/sax/document.rb
 92% [166/179]  lib/nokogiri/xml/sax/parser.rb
 93% [167/179]  lib/nokogiri/xml/sax/parser_context.rb
 93% [168/179]  lib/nokogiri/xml/sax/push_parser.rb
 94% [169/179]  lib/nokogiri/xml/schema.rb
 94% [170/179]  lib/nokogiri/xml/searchable.rb
 95% [171/179]  lib/nokogiri/xml/syntax_error.rb
 96% [172/179]  lib/nokogiri/xml/text.rb
 96% [173/179]  lib/nokogiri/xml/xpath.rb
 97% [174/179]  lib/nokogiri/xml/xpath/syntax_error.rb
 97% [175/179]  lib/nokogiri/xml/xpath_context.rb
 98% [176/179]  lib/nokogiri/xslt.rb
 98% [177/179]  lib/nokogiri/xslt/stylesheet.rb
 99% [178/179]  lib/xsd/xmlparser/nokogiri.rb
100% [179/179]  suppressions/README.txt

Installing ri documentation for nokogiri-1.7.0.1
Done installing documentation for nokogiri after 9 seconds
1 gem installed

# nokogiri -v
# Nokogiri (1.7.0.1)
    ---
    warnings: []
    nokogiri: 1.7.0.1
    ruby:
      version: 2.3.3
      platform: x86_64-linux
      description: ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
      engine: ruby
    libxml:
      binding: extension
      source: packaged
      libxml2_path: "/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.4"
      libxslt_path: "/root/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.29"
      libxml2_patches: []
      libxslt_patches: []
      compiled: 2.9.4
      loaded: 2.9.4

Ich bin mir nicht sicher, warum ich die Ergebnisse von @mbixby17451 hier nicht reproduzieren kann ... werde es noch einmal von vorne versuchen, um zu sehen, ob zusätzliche Zypper-Pakete, die ich möglicherweise installiert habe, einen Unterschied gemacht haben.

OK, ich habe bestätigt, dass Nokogiri fehlschlägt, wenn site-config auf OpenSuse 42.1 installiert ist. Und wenn es nicht installiert ist, installiert sich Nokogiri problemlos.

Hi, @flavorjones ... Ich verstehe nicht, warum du das geschlossen hast.

Die site-config Datei ist ein beabsichtigter Teil von autoconf dem Sie Aspekte eines bestimmten Betriebssystem-Layouts angeben können, je nachdem, wie die Distribution sie bevorzugt. Es setzt die richtige Variable richtig, die dann von anderen Build-Tools verwendet werden soll, um zu verstehen, wo man Includes, Bibliotheken usw. findet. Dies wird in OpenSUSE richtig verwendet.

@mbixby17451 hat die Quelle des Problems notiert , die sich in ext/nokogiri/extconf.rb was einen hartcodierten 'lib'-Pfad annimmt, anstatt zu versuchen, die richtige Variable aus autoconf zu verwenden (wahrscheinlich, weil es schwierig ist, diese Variable abzurufen, ohne darin zu sein höllisch). Er bot PR #1574 an, die Sie auch geschlossen haben, und wies darauf hin, dass Sie sie möglicherweise wieder öffnen könnten, sobald Sie das Problem klarer verstanden haben.

Können Sie mehr darüber sagen, warum Sie sich entschieden haben, dies ohne weiteren Kommentar zu schließen, außer zu verstehen, wie es kaputt ging? Ich hoffe , mehr zu verwenden diese Abhilfe jedesmal , wenn ich nokogiri auf einem 64-Bit - OpenSUSE - System installieren.

Und wie immer danke an Sie und das Team Nokogiri. Wenn ich es nicht so oft benutzen würde, wäre es nicht so schmerzhaft zu ertragen.

@purp Ich habe es geschlossen, weil es behoben ist - siehe Commit 988856b75caa19b08e3bbb01c5aa08930da9372b

Wenn dies immer noch nicht für Sie funktioniert, graben wir ein!

Ahhhhh. Entschuldigung, ich verdumme heute eindeutig in einem "No Dumbing"-Bereich. Völlig übersehen, dass es mit einem Commit geschlossen wurde.

Danke für die Korrektur und sorry für den Lärm!

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen