小编Fap*_*iko的帖子

Nokogiri本机扩展无法构建(不是libxml2或libxslt缺少问题)

正如标题所说,它似乎没有失败,因为缺少libxml2或libxslt.我不确定该怎么错误.(得到它?因为问题是在制作过程中?嘿嘿......)

Anywho,这是我得到的输出.任何想法,将不胜感激:

Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
    ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config.
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... yes
checking for exsltFuncRegister() in -lexslt... yes
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for …
Run Code Online (Sandbox Code Playgroud)

ruby gem rubygems makefile nokogiri

3
推荐指数
3
解决办法
1830
查看次数

标签 统计

gem ×1

makefile ×1

nokogiri ×1

ruby ×1

rubygems ×1