疯狂小鸡/ty 发表于 2015-9-2 12:25:33

memcached-1.4.4在ubuntu下编译的注意事项

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
页: [1]
查看完整版本: memcached-1.4.4在ubuntu下编译的注意事项