From bf9932219ca50858b142fa01fb81ff2bfb4c541d Mon Sep 17 00:00:00 2001 From: Chris Dodd Date: Wed, 25 Feb 2026 13:03:27 +1300 Subject: [PATCH] Notes on building on MacOS Signed-off-by: Chris Dodd --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 7c28bc6b..ebe5afb5 100644 --- a/README.md +++ b/README.md @@ -122,11 +122,24 @@ sudo dpkg -i /path/to/package.deb Our CI tests now run on Ubuntu 22.04 and `ubuntu-latest` (which is 24.04 as of 2025-Mar-05). + #### MacOS + On MacOS you can use the tools/macos/bootstrap_mac.sh script to install all the above dependencies using homebrew. Note that in order to compile the code you need [XCode 8](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) or later. + With MacPorts, you can use + + ```console + sudo port install automake autoconf libtool thrift gmp boost + ``` + + You may need to specify `LDFLAGS=-L/opt/local/lib` on the `configure` command line. + You'll also need to manually install the [nanomsg](https://github.com/nanomsg/nanomsg) + library. Macports may fail to install non-mt versions of the boost libraries; you may + need to add symlinks in /opt/local/lib for libboost_X.dynlib -> libboost_X-mt.dynlib. + 3. Building the code #### Recommended: autoconf-based build