From ff72880e621405ce877091552a09f9054549d55f Mon Sep 17 00:00:00 2001 From: Russell Jurney Date: Mon, 23 Dec 2024 17:35:51 -0500 Subject: [PATCH] Update README.md to include build-essential in apt list and 3 options for configuration --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d641717..de6575f7 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Before you install, make sure you have the following prerequisites: **On Ubuntu/Debian** ``` -sudo apt-get install curl autoconf automake libtool pkg-config +sudo apt-get install -y curl build-essential autoconf automake libtool pkg-config ``` **On CentOS/RHEL** @@ -118,9 +118,19 @@ If you're using an M1 Mac, add `--disable-sse2` to the `./configure` command. Th ``` git clone https://github.com/openvenues/libpostal cd libpostal + ./bootstrap.sh + +# For Intel/AMD processors and the default model ./configure --datadir=[...some dir with a few GB of space...] -make -j4 + +# For Apple / ARM cpus and the default model +./configure --datadir=/tmp --disable-sse2 + +# For the improved Senzing model: +./configure --datadir=[...some dir with a few GB of space...] MODEL=senzing + +make -j8 sudo make install # On Linux it's probably a good idea to run