Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diliguco@diligu.com [~]# gem install nokogiri -- --with-xslt-dir=/opt/xslt
- Building native extensions. This could take a while...
- ERROR: Error installing nokogiri:
- ERROR: Failed to build gem native extension.
- /usr/bin/ruby extconf.rb --with-xslt-dir=/opt/xslt
- checking for iconv.h in /usr/include,/opt/local/include,/usr/local/include,/usr/include... yes
- 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
- 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
- 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
- checking for xmlParseDoc() in -lxml2... yes
- checking for xsltParseStylesheetDoc() in -lxslt... no
- libxslt is missing. try 'port install libxslt' or 'yum install libxslt-devel'
- *** extconf.rb failed ***
- Could not create Makefile due to some reason, probably lack of
- necessary libraries and/or headers. Check the mkmf.log file for more
- details. You may need configuration options.
- Provided configuration options:
- --with-opt-dir
- --without-opt-dir
- --with-opt-include
- --without-opt-include=${opt-dir}/include
- --with-opt-lib
- --without-opt-lib=${opt-dir}/lib
- --with-make-prog
- --without-make-prog
- --srcdir=.
- --curdir
- --ruby=/usr/bin/ruby
- --with-xml2-dir
- --without-xml2-dir
- --with-xml2-include
- --without-xml2-include=${xml2-dir}/include
- --with-xml2-lib
- --without-xml2-lib=${xml2-dir}/lib
- --with-xslt-dir
- --with-xslt-include
- --without-xslt-include=${xslt-dir}/include
- --with-xslt-lib
- --without-xslt-lib=${xslt-dir}/lib
- --with-xml2lib
- --without-xml2lib
- --with-xsltlib
- --without-xsltlib
- Gem files will remain installed in /home/diliguco/gems/gems/nokogiri-1.2.3 for inspection.
- Results logged to /home/diliguco/gems/gems/nokogiri-1.2.3/ext/nokogiri/gem_make.out
- diliguco@diligu.com [~]#
Add Comment
Please, Sign In to add comment