libxml2 is missing error

无人久伴 提交于 2019-12-12 03:37:18

问题


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

回答1:


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



来源:https://stackoverflow.com/questions/31325392/libxml2-is-missing-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!