From ff72880e621405ce877091552a09f9054549d55f Mon Sep 17 00:00:00 2001 From: Russell Jurney Date: Mon, 23 Dec 2024 17:35:51 -0500 Subject: [PATCH 1/2] 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 From 3caca83f048e5a87321f8336da7a6202ef298af5 Mon Sep 17 00:00:00 2001 From: Russell Jurney Date: Mon, 23 Dec 2024 17:39:43 -0500 Subject: [PATCH 2/2] Update README.md to fix /tmp reference to [...some dir with a few GB of space...] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de6575f7..ab0c207b 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ cd libpostal ./configure --datadir=[...some dir with a few GB of space...] # For Apple / ARM cpus and the default model -./configure --datadir=/tmp --disable-sse2 +./configure --datadir=[...some dir with a few GB of space...] --disable-sse2 # For the improved Senzing model: ./configure --datadir=[...some dir with a few GB of space...] MODEL=senzing