centos 6 编译mongo-cxx-driver
2012-03-20 11:05
441 查看
使用系统自带 boost
请使用yum安装相应的库和devel包
直接执行scons
# scons
scons: Reading SConscript files ...
Checking for C library boost_thread-mt... (cached) no
Checking for C library boost_thread... (cached) no
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_system-mt... (cached) yes
#scons --config=force
scons: Reading SConscript files ...
Checking for C library boost_thread-mt... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_system-mt... (cached) yes
强制更新配置就能找到,就能编译通过
如果需要编译其它位置的boost请设置LIBPATH 和CPPPATH
使用参数 --extrapath 分别在路径后追加lib lib64(LIBPATH) 或 include(CPPATH)
请使用yum安装相应的库和devel包
直接执行scons
# scons
scons: Reading SConscript files ...
Checking for C library boost_thread-mt... (cached) no
Checking for C library boost_thread... (cached) no
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_system-mt... (cached) yes
#scons --config=force
scons: Reading SConscript files ...
Checking for C library boost_thread-mt... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_system-mt... (cached) yes
强制更新配置就能找到,就能编译通过
如果需要编译其它位置的boost请设置LIBPATH 和CPPPATH
使用参数 --extrapath 分别在路径后追加lib lib64(LIBPATH) 或 include(CPPATH)
相关文章推荐
- Mongo-cxx-driver Windows平台编译记录
- win下编译、安装mongo-cxx-driver-legacy
- mongo-c-driver-1.2.1编译,win10+vs2010
- 在Windows下编译mongo-c-driver 1.3.x
- 在windows下编译mongodb cxx driver
- centos7(物理机)下安装编译安装mongo-3.2.0(power)
- CentOS编译bitcoind报错libdb_cxx headers missing解决
- mongodb cxx client driver的编译与测试(VS2010 Express)
- mongo-c-driver使用VS2013编译
- scons 编译带openssl 的mongodb cxx driver legacy 的问题
- VS2010编译Mongo C++ Driver
- mongo c driver 在linux下编译使用
- c++操作mongodb Windows 下 mongo-c-driver vs2013编译 附使用实例
- MongoDB&C++开发 (三) C++ Driver 浅析(结合mongo-cxx-driver/examples中代码)
- Windows系统上安装生成Mongo-cxx-driver的lib和include
- 最小化CentOS系统下源码编译安装MySQL
- CentOS6.5上Boost库编译安装全记录
- CENTOS6.5 编译安装 LNMP
- CentOS 6.4 x64 zabbix 2.2.2 编译安装 已经各种服务监控
- 在Linux CentOS上编译并安装Clang 3.5.0,适用于Redhat和Clang3.8