From 7d18b12384e215a75a7288bfc4e621e9ea5318c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20B=C3=A1nffy?= Date: Fri, 14 Jun 2019 17:44:15 +0100 Subject: SERVER-41757 Fix issues with the building documentation --- docs/building.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'docs') 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 -------------- -- cgit v1.2.1