Advertisement
Guest User

Untitled

a guest
Jan 10th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. [r0@r0mini rubyPrac]$ gem install nokogiri -v 1.6.1
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing nokogiri:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /usr/bin/ruby -r ./siteconf20160110-5046-1fn0bgg.rb extconf.rb
  7. Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-redhat-linux/ports/libxml2/2.8.0... OK
  8. Running 'configure' for libxml2 2.8.0... OK
  9. Running 'compile' for libxml2 2.8.0... OK
  10. Running 'install' for libxml2 2.8.0... OK
  11. Activating libxml2 2.8.0 (from /home/r0/.gem/ruby/gems/nokogiri-1.6.1/ports/x86_64-redhat-linux/libxml2/2.8.0)...
  12. Extracting libxslt-1.1.26.tar.gz into tmp/x86_64-redhat-linux/ports/libxslt/1.1.26... OK
  13. Running 'configure' for libxslt 1.1.26... OK
  14. Running 'compile' for libxslt 1.1.26... OK
  15. Running 'install' for libxslt 1.1.26... OK
  16. Activating libxslt 1.1.26 (from /home/r0/.gem/ruby/gems/nokogiri-1.6.1/ports/x86_64-redhat-linux/libxslt/1.1.26)...
  17. checking for libxml/parser.h... *** extconf.rb failed ***
  18. Could not create Makefile due to some reason, probably lack of necessary
  19. libraries and/or headers. Check the mkmf.log file for more details. You may
  20. need configuration options.
  21.  
  22. Provided configuration options:
  23. --with-opt-dir
  24. --without-opt-dir
  25. --with-opt-include
  26. --without-opt-include=${opt-dir}/include
  27. --with-opt-lib
  28. --without-opt-lib=${opt-dir}/lib64
  29. --with-make-prog
  30. --without-make-prog
  31. --srcdir=.
  32. --curdir
  33. --ruby=/usr/bin/$(RUBY_BASE_NAME)
  34. --with-zlib-dir
  35. --without-zlib-dir
  36. --with-zlib-include
  37. --without-zlib-include=${zlib-dir}/include
  38. --with-zlib-lib
  39. --without-zlib-lib=${zlib-dir}/lib
  40. --with-iconv-dir
  41. --without-iconv-dir
  42. --with-iconv-include
  43. --without-iconv-include=${iconv-dir}/include
  44. --with-iconv-lib
  45. --without-iconv-lib=${iconv-dir}/lib
  46. --with-xml2-dir
  47. --without-xml2-dir
  48. --with-xml2-include
  49. --without-xml2-include=${xml2-dir}/include
  50. --with-xml2-lib
  51. --without-xml2-lib=${xml2-dir}/lib
  52. --with-xslt-dir
  53. --without-xslt-dir
  54. --with-xslt-include
  55. --without-xslt-include=${xslt-dir}/include
  56. --with-xslt-lib
  57. --without-xslt-lib=${xslt-dir}/lib
  58. --with-libxslt-config
  59. --without-libxslt-config
  60. --with-pkg-config
  61. --without-pkg-config
  62. --with-libxml-2.0-config
  63. --without-libxml-2.0-config
  64. --with-libiconv-config
  65. --without-libiconv-config
  66. /usr/share/ruby/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  67. You have to install development tools first.
  68. from /usr/share/ruby/mkmf.rb:587:in `try_cpp'
  69. from /usr/share/ruby/mkmf.rb:1113:in `block in find_header'
  70. from /usr/share/ruby/mkmf.rb:911:in `block in checking_for'
  71. from /usr/share/ruby/mkmf.rb:351:in `block (2 levels) in postpone'
  72. from /usr/share/ruby/mkmf.rb:321:in `open'
  73. from /usr/share/ruby/mkmf.rb:351:in `block in postpone'
  74. from /usr/share/ruby/mkmf.rb:321:in `open'
  75. from /usr/share/ruby/mkmf.rb:347:in `postpone'
  76. from /usr/share/ruby/mkmf.rb:910:in `checking_for'
  77. from /usr/share/ruby/mkmf.rb:1112:in `find_header'
  78. from extconf.rb:166:in `<main>'
  79.  
  80. extconf failed, exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement