Advertisement
Guest User

Untitled

a guest
Jul 5th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. Installing nokogiri (1.5.2)
  2. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  3.  
  4. /usr/bin/ruby1.9.1 extconf.rb
  5. extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config.
  6. checking for libxml/parser.h... yes
  7. checking for libxslt/xslt.h... yes
  8. checking for libexslt/exslt.h... yes
  9. checking for iconv_open() in iconv.h... yes
  10. checking for xmlParseDoc() in -lxml2... yes
  11. checking for xsltParseStylesheetDoc() in -lxslt... yes
  12. checking for exsltFuncRegister() in -lexslt... yes
  13. checking for xmlHasFeature()... yes
  14. checking for xmlFirstElementChild()... yes
  15. checking for xmlRelaxNGSetParserStructuredErrors()... yes
  16. checking for xmlRelaxNGSetParserStructuredErrors()... yes
  17. checking for xmlRelaxNGSetValidStructuredErrors()... yes
  18. checking for xmlSchemaSetValidStructuredErrors()... yes
  19. checking for xmlSchemaSetParserStructuredErrors()... yes
  20. creating Makefile
  21.  
  22. make
  23. compiling xml_element_content.c
  24. compiling html_sax_push_parser.c
  25. compiling xml_node_set.c
  26. xml_node_set.c: In function ‘dealloc_namespace’:
  27. xml_node_set.c:9:13: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
  28. xmlFree((xmlChar *)ns->href);
  29. ^
  30. xml_node_set.c:11:13: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
  31. xmlFree((xmlChar *)ns->prefix);
  32. ^
  33. compiling xml_relax_ng.c
  34. compiling html_document.c
  35. compiling xml_element_decl.c
  36. compiling xml_sax_push_parser.c
  37. compiling xml_entity_decl.c
  38. compiling xml_syntax_error.c
  39. compiling xml_attr.c
  40. compiling xml_attribute_decl.c
  41. compiling xml_comment.c
  42. compiling xml_namespace.c
  43. xml_namespace.c: In function ‘prefix’:
  44. xml_namespace.c:14:13: warning: variable ‘doc’ set but not used [-Wunused-but-set-variable]
  45. xmlDocPtr doc;
  46. ^
  47. xml_namespace.c: In function ‘href’:
  48. xml_namespace.c:33:13: warning: variable ‘doc’ set but not used [-Wunused-but-set-variable]
  49. xmlDocPtr doc;
  50. ^
  51. compiling xml_entity_reference.c
  52. compiling xml_reader.c
  53. compiling xml_document_fragment.c
  54. compiling xml_io.c
  55. xml_io.c: In function ‘io_read_callback’:
  56. xml_io.c:28:3: warning: conversion to ‘int’ from ‘size_t’ may alter its value [-Wconversion]
  57. return safe_len;
  58. ^
  59. compiling html_entity_lookup.c
  60. compiling xml_libxml2_hacks.c
  61. compiling xml_sax_parser_context.c
  62. compiling xml_encoding_handler.c
  63. compiling xml_processing_instruction.c
  64. compiling nokogiri.c
  65. compiling xml_text.c
  66. compiling xslt_stylesheet.c
  67. compiling xml_sax_parser.c
  68. compiling xml_node.c
  69. compiling xml_xpath_context.c
  70. xml_xpath_context.c: In function ‘xpath_generic_exception_handler’:
  71. xml_xpath_context.c:189:3: error: format not a string literal and no format arguments [-Werror=format-security]
  72. rb_raise(rb_eRuntimeError, message);
  73. ^
  74. cc1: some warnings being treated as errors
  75. make: *** [xml_xpath_context.o] Error 1
  76.  
  77.  
  78. Gem files will remain installed in /var/lib/gems/1.9.1/gems/nokogiri-1.5.2 for inspection.
  79. Results logged to /var/lib/gems/1.9.1/gems/nokogiri-1.5.2/ext/nokogiri/gem_make.out
  80. An error occurred while installing nokogiri (1.5.2), and Bundler cannot continue.
  81. Make sure that `gem install nokogiri -v '1.5.2'` succeeds before bundling.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement