当前位置: 代码迷 >> Ruby/Rails >> 报错mlogc.c:32:23: error: curl/curl.h: No such file or directory
  详细解决方案

报错mlogc.c:32:23: error: curl/curl.h: No such file or directory

热度:376   发布时间:2016-04-29 02:25:54.0
出错mlogc.c:32:23: error: curl/curl.h: No such file or directory

      出现下列错误:

mlogc.c:32:23: error: curl/curl.h: No such file or directory
mlogc.c:1091: error: expected ‘)’ before ‘*’ token
mlogc.c: In function ‘logc_init’:

     出错原因:缺少libcurl-dev or libcurl-devel

     centOS上安装依赖包:

yum install libcurl-dev libcurl-devel



  相关解决方案