V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Htom
V2EX  ›  问与答

请问各位大大, Mac 上如何安装 curl 相关的开发库?

  •  
  •   Htom · 2014-10-22 09:22:02 +08:00 · 5939 次点击
    这是一个创建于 3473 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我要安装yar, 系统是mac 10.10, php 版本是5.5.14 但是无论用pecl或是编译安装, 都提示

    configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/

    google 了一下, 没有找到相关可行的libcurl 相关的文档,

    不知道有没有朋友碰到过类似的问题, 在此先感谢了!
    2 条回复    2014-10-22 09:59:40 +08:00
    cooper
        1
    cooper  
       2014-10-22 09:25:57 +08:00
    homebrew

    或者开发直接 vagrant
    Htom
        2
    Htom  
    OP
       2014-10-22 09:59:40 +08:00
    问题解决了, 编译yar的时候,指定curl的PATH即可!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1081 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:10 · PVG 03:10 · LAX 12:10 · JFK 15:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.