Skip to content

Commit ed403c0

Browse files
author
Christian Hergert
committed
README: add section on building from release tarball.
1 parent be29c4f commit ed403c0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,38 @@ MongoDB project, please report it according to the `instructions here
4545
<http://docs.mongodb.org/manual/tutorial/create-a-vulnerability-report>`_.
4646

4747

48+
Building from Release Tarball
49+
=============================
50+
51+
Unless you intend on contributing to the mongo-c-driver, you will want to build
52+
from a release tarball.
53+
54+
The most current release is 0.92.2 which you can download here.
55+
`mongo-c-driver-0.92.2.tar.gz <https://github.com/mongodb/mongo-c-driver/releases/download/0.92.2/mongo-c-driver-0.92.2.tar.gz>`_.
56+
57+
To build on UNIX-like systems, do the following::
58+
59+
$ tar xzf mongo-c-driver-0.92.2.tar.gz
60+
$ cd mongo-c-driver-0.92.2
61+
$ ./configure
62+
$ make
63+
$ sudo make install
64+
65+
To see all of the options available to you during configuration, run::
66+
67+
$ ./configure --help
68+
69+
To build on Windows Vista or newer with Visual Studio 2010, do the following::
70+
71+
cd src\libbson
72+
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -G "Visual Studio 10 Win64" .
73+
msbuild.exe ALL_BUILD.vcxproj
74+
msbuild.exe INSTALL.vcxproj
75+
cd ..\..
76+
cmake -DCMAKE_INSTALL_PREFIX=C:\usr -DBSON_ROOT_DIR=C:\usr -G "Visual Studio 10 Win64" .
77+
msbuild.exe ALL_BUILD.vcxproj
78+
msbuild.exe INSTALL.vcxproj
79+
4880
Building From Git
4981
=================
5082

0 commit comments

Comments
 (0)