1、将CFlags里的项-Werror替换成

 -Wno-error=unused-but-set-variable

,不然会报错variable set but not used [-Wunused-but-set-variable]

2、创建libevent-1.4.so.2到/usr/lib/(如是32位ubuntu为lib32)

ln -s /usr/local/libevent-1.4.12-stable/lib/libevent-1.4.so.2 /usr/lib/libevent-1.4.so.2

另外libevent和memcached在configure时都加了--prefix=/usr/local/memcached-1.4.4

相关文章:

  • 2021-10-24
  • 2021-12-30
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
  • 2021-06-07
  • 2021-12-19
猜你喜欢
  • 2022-03-02
  • 2021-08-08
  • 2021-08-24
  • 2021-08-29
  • 2022-12-23
  • 2021-08-26
相关资源
相似解决方案