Guest User

Untitled

a guest
Jun 19th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. diliguco@diligu.com [~]# gem install nokogiri -- --with-xslt-dir=/opt/xslt
  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 extconf.rb --with-xslt-dir=/opt/xslt
  7. checking for iconv.h in /usr/include,/opt/local/include,/usr/local/include,/usr/include... yes
  8. checking for libxml/parser.h in /opt/xslt/include,/opt/local/include/libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/usr/include/libxml2... yes
  9. checking for libxslt/xslt.h in /opt/xslt/include,/opt/local/include/libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/usr/include/libxml2... yes
  10. checking for libexslt/exslt.h in /opt/xslt/include,/opt/local/include/libxml2,/usr/include/libxml2,/usr/include,/usr/local/include/libxml2,/usr/include/libxml2... yes
  11. checking for xmlParseDoc() in -lxml2... yes
  12. checking for xsltParseStylesheetDoc() in -lxslt... no
  13. libxslt is missing. try 'port install libxslt' or 'yum install libxslt-devel'
  14. *** extconf.rb failed ***
  15. Could not create Makefile due to some reason, probably lack of
  16. necessary libraries and/or headers. Check the mkmf.log file for more
  17. details. You may need configuration options.
  18.  
  19. Provided configuration options:
  20. --with-opt-dir
  21. --without-opt-dir
  22. --with-opt-include
  23. --without-opt-include=${opt-dir}/include
  24. --with-opt-lib
  25. --without-opt-lib=${opt-dir}/lib
  26. --with-make-prog
  27. --without-make-prog
  28. --srcdir=.
  29. --curdir
  30. --ruby=/usr/bin/ruby
  31. --with-xml2-dir
  32. --without-xml2-dir
  33. --with-xml2-include
  34. --without-xml2-include=${xml2-dir}/include
  35. --with-xml2-lib
  36. --without-xml2-lib=${xml2-dir}/lib
  37. --with-xslt-dir
  38. --with-xslt-include
  39. --without-xslt-include=${xslt-dir}/include
  40. --with-xslt-lib
  41. --without-xslt-lib=${xslt-dir}/lib
  42. --with-xml2lib
  43. --without-xml2lib
  44. --with-xsltlib
  45. --without-xsltlib
  46.  
  47.  
  48. Gem files will remain installed in /home/diliguco/gems/gems/nokogiri-1.2.3 for inspection.
  49. Results logged to /home/diliguco/gems/gems/nokogiri-1.2.3/ext/nokogiri/gem_make.out
  50. diliguco@diligu.com [~]#
Add Comment
Please, Sign In to add comment