博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【转】关于 Nokogiri 的安装依赖 libxml2安装问题
阅读量:4311 次
发布时间:2019-06-06

本文共 1252 字,大约阅读时间需要 4 分钟。

来源:https://ruby-china.org/topics/30243

在自己的os x系统上一直运行正常,包括正常使用nokogiri这个gem,今天

在本地建立新项目,bundle install 报nokogiri安装异常。

单独gem install nokogiri,报下面的错误:

Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. current directory: /Users/jayzen/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8/ext/nokogiri /Users/jayzen/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160610-32051-16q0bpc.rb extconf.rb Using pkg-config version 1.1.7 checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no Building nokogiri using packaged libraries. Using mini_portile version 2.1.0 checking for iconv.h... yes checking for gzdopen() in -lz... yes checking for iconv using --with-opt-* flags... yes ************************************************************************ IMPORTANT NOTICE: Building Nokogiri with a packaged version of libxml2-2.9.4. Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall

转载于:https://www.cnblogs.com/popeylj/p/5620107.html

你可能感兴趣的文章
win64 Python下安装PIL出错解决2.7版本 (3.6版本可以使用)
查看>>
获取各种类型的节点
查看>>
表达式求值-201308081712.txt
查看>>
centos中安装tomcat6
查看>>
从Vue.js窥探前端行业
查看>>
学习进度
查看>>
poj3368 RMQ
查看>>
“此人不存在”
查看>>
github.com加速节点
查看>>
解密zend-PHP凤凰源码程序
查看>>
python3 序列分片记录
查看>>
Atitit.git的存储结构and 追踪
查看>>
atitit 读书与获取知识资料的attilax的总结.docx
查看>>
B站 React教程笔记day2(3)React-Redux
查看>>
找了一个api管理工具
查看>>
C++——string类和标准模板库
查看>>
zt C++ list 类学习笔记
查看>>
git常用命令
查看>>
探讨和比较Java和_NET的序列化_Serialization_框架
查看>>
1、jQuery概述
查看>>