libxml2缺少错误 [英] libxml2 is missing error

查看:203
本文介绍了libxml2缺少错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用OSX Yosemite(10.10.3),当我尝试使用"gem install cupertino"通过gem安装cupertino时,出现以下错误.我该怎么做才能更正此问题.我尝试了许多在线尝试的解决方案,但均无济于事.

I am using OSX Yosemite (10.10.3), and when I try to install cupertino via gem using "gem install cupertino" I get the following error. What can I do to correct this. I have tried many solutions I have tried online to no avail.

libxml2 is missing.  Please locate mkmf.log to investigate how it is failing.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers

推荐答案

在Ubuntu上,apt-get install libxml2-dev将安装缺少的部分.

On Ubuntu a apt-get install libxml2-dev will install the missing parts.

这篇关于libxml2缺少错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆