首页 > 代码库 > mongoDb c driver

mongoDb c driver

1,yum dependencies

Centos,RHEL Fedora:

$ sudo yum install git gcc automake autoconf libtool

Debian:

$ sudo apt-get install git gcc automake autoconf libtool

FreeBSD:

$ su -c ‘pkg install git gcc automake autoconf libtool‘

2,Fetch Sources and Build

git clone https://github.com/mongodb/mongo-c-driver.gitcd mongo-c-driver./autogen.shmakesudo make install

参考
http://api.mongodb.org/c/current/tutorial.html#c-api
https://github.com/mongodb/mongo-c-driver

mongoDb c driver