summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRicardo Bánffy <rbanffy@gmail.com>2019-06-14 17:44:15 +0100
committerMathew Robinson <chasinglogic@gmail.com>2019-06-19 11:23:36 -0400
commit7d18b12384e215a75a7288bfc4e621e9ea5318c6 (patch)
treee0e1c97a908d0e2b3c5d625d3a1b3bc18034f888 /docs
parent727b4072f419289b863aa445a6987900d697db2f (diff)
downloadmongo-7d18b12384e215a75a7288bfc4e621e9ea5318c6.tar.gz
SERVER-41757 Fix issues with the building documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/building.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/building.md b/docs/building.md
index 2d902ed7238..1e996f3d65d 100644
--- a/docs/building.md
+++ b/docs/building.md
@@ -9,9 +9,13 @@ To build MongoDB, you will need:
* Visual Studio 2017 version 15.9 or newer (See Windows section below for details)
* On Linux and macOS, the libcurl library and header is required. MacOS includes libcurl.
* Fedora/RHEL - `dnf install libcurl-devel`
- * Ubuntu/Debian - `apt-get install libcurl-dev`
+ * Ubuntu/Debian - `libcurl-dev` is provided by three packages. Install one of them:
+ * `libcurl4-openssl-dev`
+ * `libcurl4-nss-dev`
+ * `libcurl4-gnutls-dev`
* Python 3.7.x and Pip modules:
* See the section "Python Prerequisites" below.
+* About 13 GB of free disk space for the core binaries (`mongod`, `mongos`, and `mongo`) and about 600 GB for the all target.
MongoDB supports the following architectures: arm64, ppc64le, s390x, and x86-64.
More detailed platform instructions can be found below.
@@ -36,6 +40,11 @@ the required Python modules, run:
Note: If the `pip3` command is not available, `pip` without a suffix may be the pip command
associated with Python 3.7.x.
+Note: In order to compile C-based Python modules, you'll also need the Python and OpenSSL C headers. Run:
+
+* Fedora/RHEL - `dnf install python3-devel openssl-devel`
+* Ubuntu/Debian - `apt-get install python3.7-dev libssl-dev`
+
SCons
---------------
@@ -86,12 +95,12 @@ Debian/Ubuntu
To install dependencies on Debian or Ubuntu systems:
- # aptitude install build-essential
- # aptitude install libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev
+ # apt-get install build-essential
+ # apt-get install libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev
To run tests as well, you will need PyMongo:
- # aptitude install python-pymongo
+ # apt-get install python3-pymongo
OS X
--------------