mongosync icon indicating copy to clipboard operation
mongosync copied to clipboard

编译通不过

Open jiangjianjian opened this issue 7 years ago • 6 comments

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)

jiangjianjian avatar Sep 22 '17 10:09 jiangjianjian

boost开发库装一下

gaodq avatar Sep 22 '17 10:09 gaodq

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

tomlinux avatar Oct 27 '17 03:10 tomlinux

sudo yum install boost-devel

gaodq avatar Oct 27 '17 03:10 gaodq

image

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

tomlinux avatar Oct 27 '17 04:10 tomlinux

在centos7.2上编译通过

xiaoyang2008mmm avatar Jan 23 '18 10:01 xiaoyang2008mmm

image

xiaoyang2008mmm avatar Jan 23 '18 10:01 xiaoyang2008mmm