MongoDB C API Compilation

Source: Internet
Author: User

1. autoconf-latest.tar.gz

http://ftp.gnu.org/gnu/autoconf/

Tar xzvf autoconf-latest.tar.gz

./configure--prefix=/home/stars/support/mongo-c/autoconf-2.69/install

Make && make install

Setting the PATH environment variable

2. pkg-config-0.29.tar.gz

https://www.freedesktop.org/wiki/Software/pkg-config/

Tar xzvf pkg-config-0.29.tar.gz

./configure--prefix=/home/stars/support/mongo-c/pkg-config-0.29/install--with-internal-glib

Make && make install

Setting the PATH environment variable

3. libtool-2.4.6.tar.gz

http://mirror.hust.edu.cn/gnu/libtool/

Tar xzvf libtool-2.4.6.tar.gz

./configure--prefix=/home/stars/support/mongo-c/libtool-2.4.6/install

Make && make install

Setting the PATH environment variable

4. mongo-c-driver-1.3.0-dev.tar.gz

Https://github.com/mongodb/mongo-c-driver (Remember to download the Libbson separately)

Tar xzvf mongo-c-driver-1.3.0-dev.tar.gz

./autogen.sh (Libbson)

./configure--prefix=/home/stars/support/mongo-c/mongo-c-driver-1.3.0-dev/install

Make && make install

MongoDB C API Compilation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.