Qihoo360 / mongosync

mongosync is simple && useful tool to sync data between mongo replicaSet, it is developed by Qihoo's DBA and infrastructure team
154 stars 53 forks source link

编译通不过 #11

Open jiangjianjian opened 7 years ago

jiangjianjian commented 7 years ago

Checking if the POSIX monotonic clock is supported... yes Checking for thread... no Checking for gcc atomic builtins... no Checking for useable __sync builtins... no Checking for C++ header file boost/version.hpp... no Could not find boost headers in include search path make: *** [dep/mongo-cxx-driver/build/install/lib/libmongoclient.a] Error 1 [root@10-9-161-112 mongosync]# gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@10-9-161-112 mongosync]# python Python 2.7.5 (default, Nov 20 2015, 02:00:19)

gaodq commented 7 years ago

boost开发库装一下

tomlinux commented 7 years ago

遇到相同的问题。需要安装什么bootst安装包

gaodq commented 7 years ago

sudo yum install boost-devel

tomlinux commented 7 years ago

image

已经安装,centos7.3 版本。就是编译通不过,现在mongosync 支持3.2 版本增量同步吗? 尝试在 centos 6. 5 上面编译通过 yum -y install boost-devel boost openssl-devel

xiaoyang2008mmm commented 6 years ago

在centos7.2上编译通过

xiaoyang2008mmm commented 6 years ago

image