Guest User

Untitled

a guest
May 27th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. $ sudo gem install libxml-ruby
  2.  
  3. Select which gem to install for your platform (i486-linux)
  4. 1. libxml-ruby 0.9.0 (ruby)
  5. 2. libxml-ruby 0.9.0 (x86-mswin32-60)
  6. 3. libxml-ruby 0.8.3 (ruby)
  7. 4. libxml-ruby 0.8.3 (x86-mswin32-60)
  8. 5. Skip this gem
  9. 6. Cancel installation
  10. > 1
  11. Building native extensions. This could take a while...
  12. ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
  13. ERROR: Failed to build gem native extension.
  14.  
  15. ruby extconf.rb install libxml-ruby
  16. checking for socket() in -lsocket... no
  17. checking for gethostbyname() in -lnsl... yes
  18. checking for atan() in -lm... no
  19. checking for atan() in -lm... yes
  20. checking for inflate() in -lz... yes
  21. checking for iconv_open() in -liconv... no
  22. checking for libiconv_open() in -liconv... no
  23. checking for libiconv_open() in -llibiconv... no
  24. checking for iconv_open() in -llibiconv... no
  25. checking for iconv_open() in -lc... yes
  26. checking for xmlParseDoc() in -lxml2... yes
  27. checking for libxml/xmlversion.h... no
  28. checking for #include <libxml/xmlversion.h>
  29. ... yes
  30. checking for xmlDocFormatDump()... yes
  31. checking for docbCreateFileParserCtxt()... yes
  32. creating extconf.h
  33. creating Makefile
  34.  
  35. make
  36. cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_xinclude.c
  37. cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_html_parser.c
  38. cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_relaxng.c
  39. cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_error.c
  40. ruby_xml_error.c: In function âruby_init_xml_errorâ:
  41. ruby_xml_error.c:207: error: âXML_FROM_SCHEMATRONVâ undeclared (first use in this function)
  42. ruby_xml_error.c:207: error: (Each undeclared identifier is reported only once
  43. ruby_xml_error.c:207: error: for each function it appears in.)
  44. ruby_xml_error.c:514: error: âXML_TREE_NOT_UTF8â undeclared (first use in this function)
  45. ruby_xml_error.c:890: error: âXML_SCHEMATRONV_ASSERTâ undeclared (first use in this function)
  46. ruby_xml_error.c:891: error: âXML_SCHEMATRONV_REPORTâ undeclared (first use in this function)
  47. make: *** [ruby_xml_error.o] Error 1
  48.  
  49.  
  50. Gem files will remain installed in /var/lib/gems/1.8/gems/libxml-ruby-0.9.0 for inspection.
  51. Results logged to /var/lib/gems/1.8/gems/libxml-ruby-0.9.0/ext/libxml/gem_make.out
Add Comment
Please, Sign In to add comment