V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
GeekSky
V2EX  ›  程序员

一个安装 PHP -memcached 扩展的问题

  •  1
     
  •   GeekSky · 2020-05-29 10:28:09 +08:00 · 1070 次点击
    这是一个创建于 1422 天前的主题,其中的信息可能已经有所发展或是发生改变。

    生成 memcached.so 的时候,总是报错 configure: error: no, libmemcached built with sasl disabled. Run configure with --disable-memcached-sasl or update libmemcached with sasl support
    这个报错之前安装的时候遇到过,当时安装 cyrus-sasl-devel 即可解决。
    可这次就是不行。
    我想起来,可能和 gcc-c++有关系。因为之前是在 centos7 上,现在是在 centos8 上,刚才安装 libmemcached 的时候,就因为 gcc-c++的版本太高,修改了 libmemcached 的代码,具体修改的是:

    src.fedoraproject.org/rpms/libmemcached/raw/HEAD/f/libmemcached-build.patch
    
    请问大神,是因为修改这个才导致即使安装了 cyrus-sasl-devel 依然报错的原因吗?

    3 条回复    2020-05-29 11:46:59 +08:00
    GeekSky
        1
    GeekSky  
    OP
       2020-05-29 10:51:14 +08:00
    我知道怎么回事了,要先安装 cyrus-sasl-devel,然后再编译 libmemcached 才行。
    yakumo520
        2
    yakumo520  
       2020-05-29 11:28:48 +08:00   ❤️ 1
    恭喜你,已经学会抢答了
    GeekSky
        3
    GeekSky  
    OP
       2020-05-29 11:46:59 +08:00
    @yakumo520 ……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2957 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 03:41 · PVG 11:41 · LAX 20:41 · JFK 23:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.