Mac OS 安装memcached 出错

tadpoles 2014-05-31 11:39:04
Mac OS X version 10.9.3
xCode version 5.0.3
安装memcache 1.4
进入memcached-1.4.10文件夹 执行make 命令时候报错

/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in doc
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
gcc -g -O2 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o memcached memcached-memcached.o memcached-hash.o memcached-slabs.o memcached-items.o memcached-assoc.o memcached-thread.o memcached-daemon.o memcached-stats.o memcached-util.o memcached-cache.o -levent
clang: error: argument unused during compilation: '-pthread'
make[2]: *** [memcached] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


求各位大仙看看为什么啊?
...全文
2305 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
tadpoles 2014-07-06
  • 打赏
  • 举报
回复
引用 1 楼 zhangzyj 的回复:
兄台,你有解决么?
解决了, memcache版本太新,Xcode有的东西不识别。换个老一点得memcache版本试一下

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧