In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
According to the official website (https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver))), C++ driver uses libbson and MongoDB C driver internally. So to install C++ driver, you need to install C driver first. My system gcc version 4.8.5 cmake version 3.5.2, which meets the installation version required by the official website.
1. Install automake and autoconf and libtool, and install all yum here
Yum-y install automake autoconf libtool
two。 Install C driver and follow the installation method given on the official website (https://github.com/mongodb/mongo-c-driver)). I installed version 1.3.5 here.
Wget https://github.com/mongodb/mongo-c-driver/releases/download/1.3.5/mongo-c-driver-1.3.5.tar.gztar xzf mongo-c-driver-1.3.5.tar.gzcd mongo-c-driver-1.3.5./configuremakemake install
3. Install C++ driver and follow the installation method given on the official website (https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver))). I installed version 3.0.1 here.
Wget https://github.com/mongodb/mongo-cxx-driver/archive/r3.0.1.tar.gztar xzf r3.0.1.tar.gzcd mongo-cxx-driver-r3.0.1/build# needs to install git,yum-y install git first, otherwise the error PKG_CONFIG_PATH=/usr/local/lib/pkgconfig cmake-DCMAKE_BUILD_TYPE=Release-DCMAKE_INSTALL_PREFIX=/usr/local/.. makemake install will be reported.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.