码迷,mamicode.com
首页 > Web开发 > 详细

解决configure: error: Please reinstall the libcurl distribution

时间:2016-01-11 01:43:32      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:error   configure   please   

解决configure: error: Please reinstall the libcurl distribution

今天配置一台server的php支持curl的时候, 出现如下报错

checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/

其实就是curl的dev包没有安装, 解决方案:
终端下

# yum -y install curl-devel



本文出自 “boyhack” 博客,请务必保留此出处http://461205160.blog.51cto.com/274918/1733426

解决configure: error: Please reinstall the libcurl distribution

标签:error   configure   please   

原文地址:http://461205160.blog.51cto.com/274918/1733426

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!