开发者社区> 问答> 正文

tair安装

tair安装,在tair目录下进行make的时候失败了(前面的操作都已经成功了), 报错如下 :

tb-common-utils/tbsys/src/atomic.h:223:23: 错误:‘int atomic_add_negative(int, atomic_t*)’已在此定义过
static __inline__ int atomic_add_negative(int i, atomic_t *v)

展开
收起
snow4young 2016-04-15 21:57:57 6209 0
4 条回答
写回答
取消 提交回答
  • 回 2楼握了根草的帖子
    感谢
    2016-06-27 20:44:51
    赞同 展开评论 打赏
  • 回 2楼握了根草的帖子
    Hi

       我在github上面checkout 版本 3.2.4_publish(https://github.com/alibaba/tair/tree/3.2.4_publish) 编译的时候出现下面的异常:
    configure.ac:4: installing './missing'
    Makefile.am:2: error: required directory ./test does not exist
    Makefile.am:5: error: required directory ./test does not exist
    src/adminserver/Makefile.am: installing './depcomp'

    不知道你使用的是哪个版本的tair?

    谢谢!



    2016-06-26 18:54:30
    赞同 展开评论 打赏
  • <span>ba</span>
    Retair安装
    centos 7.2  安装成功

    # svn co -r 18 http :// code. taobao.org/svn/tb-common-utils/trunk tb-common-utils
    注意: 这里不要checkout最新版本,version18以后的修改导致部分接口不能前向兼容。
    2016-06-02 00:24:01
    赞同 展开评论 打赏
  • 三尺微命 一介书生
    Retair安装
    Tair目前只在RHEL 6(默认gcc/g++ 4.4) 上测试和维护,没有在其他发行版上测试过。请使用RHEL/CentOS 6进行编译和安装。

    这里有篇文章可以参考下:

    http://blog.csdn.net/lanxuezaipiao/article/details/37599151?utm_source=tuicool&utm_medium=referral
    2016-04-18 16:41:39
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
阿里云内存数据库Tair 立即下载
阿里云Redis企业版Tair持久存储系列产品详解 立即下载
阿里云Redis企业版Tair持久存储系列技术解读 立即下载