From f9d7eb552547948342657e706d7f9e27306ebc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 20 Mar 2025 01:01:05 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-doc:=20=D0=B0=D0=BA=D1=82=D1=83=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B0=20MacOS=20=D0=B2=20README=20(backport)?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 69f67b9b..d3cd1c1b 100644 --- a/README.md +++ b/README.md @@ -651,16 +651,19 @@ error when opening the database in a _WSL1_ environment. ### MacOS Current [native build tools](https://en.wikipedia.org/wiki/Xcode) for MacOS include GNU Make, CLANG and an outdated version of Bash. -Therefore, to build the library, it is enough to run `make all` in the +However, the build script uses GNU-kind of `sed` and `tar`. +So the easiest way to install all prerequirements is to use [Homebrew](https://brew.sh/), +just by `brew install bash make cmake ninja gnu-sed gnu-tar --with-default-names`. + +Next, to build the library, it is enough to run `make all` in the directory with source code, and run `make check` to execute the base tests. If something goes wrong, it is recommended to install [Homebrew](https://brew.sh/) and try again. To run the [long stochastic test scenario](test/stochastic.sh), you will need to install the current (not outdated) version of -[Bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)). To do this, I -recommend that you install [Homebrew](https://brew.sh/) and then execute -`brew install bash`. +[Bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)). +Just install it as noted above. ### Android I recommend using CMake to build _libmdbx_ for Android.