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.git cd mongo-c-driver ./autogen.sh make sudo make install
参考http://api.mongodb.org/c/current/tutorial.html#c-apihttps://github.com/mongodb/mongo-c-driver
时间: 2024-10-10 19:17:28