新手问题 无法安装 Nokogiri

pigonthetree · 2014年12月18日 · 最后由 xiaogui 回复于 2015年10月27日 · 9023 次阅读

本人最近开始接触 rails,在跟着 Ruby on tutorial 做练习,使用的环境是 Ubuntu14.04,ruby 2.0,0, rails 4.0.0,在安装 Nokogiri 时一直报错,在网上也查了些资料,但是都没解决。请各位大神帮忙看看错误的原因啊!(ps libxml)

/usr/local/rvm/rubies/ruby-2.0.0-p598/bin/ruby extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:

Buidling Nokogiri with a packaged version of libxml2-2.9.2
with the following patches applied:
    - 0001-Revert-Missing-initialization-for-the-catalog-module.patch
    - 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

    gem install nokogiri -- --use-system-libraries
        [--with-xml2-config=/path/to/xml2-config]
        [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
************************************************************************
Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxml2/2.9.2... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxml2/0001-Revert-Missing-initialization-for-the-catalog-module.patch...
Running 'patch' for libxml2 2.9.2... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxml2/0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch...
Running 'patch' for libxml2 2.9.2... OK
Running 'configure' for libxml2 2.9.2... OK
Running 'compile' for libxml2 2.9.2... OK
Running 'install' for libxml2 2.9.2... OK
Activating libxml2 2.9.2 (from /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/x86_64-unknown-linux-gnu/libxml2/2.9.2)...
************************************************************************
IMPORTANT NOTICE:

Buidling Nokogiri with a packaged version of libxslt-1.1.28
with the following patches applied:
    - 0001-Adding-doc-update-related-to-1.1.28.patch
    - 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
    - 0003-Initialize-pseudo-random-number-generator-with-curre.patch
    - 0004-EXSLT-function-str-replace-is-broken-as-is.patch
    - 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
    - 0007-Separate-function-for-predicate-matching-in-patterns.patch
    - 0008-Fix-direct-pattern-matching.patch
    - 0009-Fix-certain-patterns-with-predicates.patch
    - 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
    - 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
    - 0014-Fix-for-bug-436589.patch
    - 0015-Fix-mkdir-for-mingw.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

    gem install nokogiri -- --use-system-libraries
        [--with-xml2-config=/path/to/xml2-config]
        [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install
************************************************************************
Extracting libxslt-1.1.28.tar.gz into tmp/x86_64-unknown-linux-gnu/ports/libxslt/1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0014-Fix-for-bug-436589.patch...
Running 'patch' for libxslt 1.1.28... OK
Running patch with /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch...
Running 'patch' for libxslt 1.1.28... OK
Running 'configure' for libxslt 1.1.28... OK
Running 'compile' for libxslt 1.1.28... OK
Running 'install' for libxslt 1.1.28... OK
Activating libxslt 1.1.28 (from /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports/x86_64-unknown-linux-gnu/libxslt/1.1.28)...
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

make
compiling xml_sax_parser_context.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_sax_parser_context.h:4,
                 from xml_sax_parser_context.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_sax_parser_context.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_sax_parser_context.h:4,
                 from html_sax_parser_context.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_attribute_decl.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_attribute_decl.h:4,
                 from xml_attribute_decl.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_node_set.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_node_set.h:4,
                 from xml_node_set.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
xml_node_set.c: In function ‘dealloc_namespace’:
xml_node_set.c:9:13: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
     xmlFree((xmlChar *)ns->href);
             ^
xml_node_set.c:11:13: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
     xmlFree((xmlChar *)ns->prefix);
             ^
compiling xml_entity_decl.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_entity_decl.h:4,
                 from xml_entity_decl.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_document.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_document.h:4,
                 from html_document.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_processing_instruction.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_processing_instruction.h:4,
                 from xml_processing_instruction.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_syntax_error.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_syntax_error.h:4,
                 from xml_syntax_error.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_element_description.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_element_description.h:4,
                 from html_element_description.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
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);
                                        ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:1008:35: note: in definition of macro ‘Data_Wrap_Struct’
     rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free))
                                   ^
compiling xml_document_fragment.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_document_fragment.h:4,
                 from xml_document_fragment.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_text.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_text.h:4,
                 from xml_text.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_relax_ng.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_relax_ng.h:4,
                 from xml_relax_ng.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_node.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_node.h:4,
                 from xml_node.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
xml_node.c: In function ‘mark’:
xml_node.c:17:20: warning: initialization from incompatible pointer type [enabled by default]
   xmlNodePtr doc = node->doc;
                    ^
xml_node.c: In function ‘reparent_node_with’:
xml_node.c:168:7: warning: enumeration value ‘XML_ATTRIBUTE_NODE’ not handled in switch [-Wswitch]
       switch (reparentee->type) {
       ^
xml_node.c:168:7: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_DOCUMENT_FRAG_NODE’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_HTML_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch]
xml_node.c:168:7: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_ATTRIBUTE_NODE’ not handled in switch [-Wswitch]
       switch (reparentee->type) {
       ^
xml_node.c:186:7: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_DOCUMENT_TYPE_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_DOCUMENT_FRAG_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_HTML_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch]
xml_node.c:186:7: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_ELEMENT_NODE’ not handled in switch [-Wswitch]
       switch (reparentee->type) {
       ^
xml_node.c:197:7: warning: enumeration value ‘XML_ATTRIBUTE_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_CDATA_SECTION_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_PI_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_COMMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_DOCUMENT_TYPE_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_DOCUMENT_FRAG_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_HTML_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch]
xml_node.c:197:7: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_CDATA_SECTION_NODE’ not handled in switch [-Wswitch]
     switch (parent->type) {
     ^
xml_node.c:165:5: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_PI_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_COMMENT_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_DOCUMENT_TYPE_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch]
xml_node.c:165:5: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch]
compiling html_sax_push_parser.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_sax_push_parser.h:4,
                 from html_sax_push_parser.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_cdata.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_cdata.h:4,
                 from xml_cdata.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_schema.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_schema.h:4,
                 from xml_schema.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling html_entity_lookup.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./html_entity_lookup.h:4,
                 from html_entity_lookup.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_sax_push_parser.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_sax_push_parser.h:4,
                 from xml_sax_push_parser.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_xpath_context.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_xpath_context.h:4,
                 from xml_xpath_context.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_encoding_handler.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_encoding_handler.h:4,
                 from xml_encoding_handler.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_comment.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_comment.h:4,
                 from xml_comment.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_libxml2_hacks.c
compiling xml_entity_reference.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_entity_reference.h:4,
                 from xml_entity_reference.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_document.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_document.h:4,
                 from xml_document.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
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:537:15: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
       ns[i] = (xmlChar*) ptr;
               ^
compiling xml_reader.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_reader.h:4,
                 from xml_reader.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_dtd.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_dtd.h:4,
                 from xml_dtd.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_sax_parser.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_sax_parser.h:4,
                 from xml_sax_parser.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_attr.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_attr.h:4,
                 from xml_attr.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_namespace.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_namespace.h:4,
                 from xml_namespace.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_element_decl.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_element_decl.h:4,
                 from xml_element_decl.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xslt_stylesheet.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xslt_stylesheet.h:4,
                 from xslt_stylesheet.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_io.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_io.h:4,
                 from xml_io.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling nokogiri.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from nokogiri.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
compiling xml_element_content.c
In file included from /usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby.h:33:0,
                 from ./nokogiri.h:33,
                 from ./xml_element_content.h:4,
                 from xml_element_content.c:1:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h: In function ‘rb_float_value’:
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
      t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
      ^
/usr/local/rvm/rubies/ruby-2.0.0-p598/include/ruby-2.0.0/ruby/ruby.h:777:6: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
linking shared-object nokogiri/nokogiri.so
Cleaning files only used during build.
rm -rf /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ext/nokogiri/tmp/x86_64-unknown-linux-gnu/ports
rmdir -p /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ext/nokogiri/tmp/x86_64-unknown-linux-gnu
rm -rf /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/ports

make install
/usr/bin/install -c -m 0755 nokogiri.so /usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/lib/usr/local/rvm/rubies/ruby-2.0.0-p598/lib/ruby/site_ruby/2.0.0/x86_64-linux/nokogiri
/usr/bin/install: 无法创建普通文件"/usr/local/rvm/gems/ruby-2.0.0-p598/gems/nokogiri-1.6.5/lib/usr/local/rvm/rubies/ruby-2.0.0-p598/lib/ruby/site_ruby/2.0.0/x86_64-linux/nokogiri": 没有那个文件或目录
make: *** [install-so] 错误 1

你发的这些是啥?

搜索下,官方有解决办法

贴的东西是安装 gems 包出错的信息,看不懂在哪出来,所以发出来了,网上没搜到和我这问题一样的

#4 楼 @xiaogui 您好,我是刚开始学习 Ruby 的新手,我去您给的网址去下载 nokogiri 安装包,但是不能成功下载,就是点了 DOWNLOAD 没有反应,请问是什么问题呢?

#5 楼 @maomao1994999 不好意思,刚看到。页面中间有针对各系统下安装失败的解决方法。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号