From c6a426a88535d6183f712474d1cf1085f54ab9d5 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 10 May 2022 17:34:58 +0200 Subject: [PATCH] no longer need postgresql-server-dev packages --- docs/admin/Installation.md | 4 +++- vagrant/Install-on-Ubuntu-18.sh | 2 +- vagrant/Install-on-Ubuntu-20.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/admin/Installation.md b/docs/admin/Installation.md index 6b585579..f5411604 100644 --- a/docs/admin/Installation.md +++ b/docs/admin/Installation.md @@ -164,7 +164,9 @@ sudo make install are upgrading an older database or want to run the [legacy tokenizer](../customize/Tokenizers.md#legacy-tokenizer) for some other reason, you need to enable the PostgreSQL module via - cmake: `cmake -DBUILD_MODULE=on ../Nominatim` + cmake: `cmake -DBUILD_MODULE=on ../Nominatim`. To compile the module + you need to have the server development headers for PostgreSQL installed. + On Ubuntu/Debian run: `sudo apt install postgresql-server-dev-` Nominatim installs itself into `/usr/local` per default. To choose a different diff --git a/vagrant/Install-on-Ubuntu-18.sh b/vagrant/Install-on-Ubuntu-18.sh index f9b88ab5..3537bcf4 100755 --- a/vagrant/Install-on-Ubuntu-18.sh +++ b/vagrant/Install-on-Ubuntu-18.sh @@ -25,7 +25,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: sudo apt install -y build-essential cmake g++ libboost-dev libboost-system-dev \ libboost-filesystem-dev libexpat1-dev zlib1g-dev\ libbz2-dev libpq-dev libproj-dev \ - postgresql-server-dev-10 postgresql-10-postgis-2.4 \ + postgresql-10-postgis-2.4 \ postgresql-contrib-10 postgresql-10-postgis-scripts \ php php-pgsql php-intl libicu-dev python3-pip \ python3-psutil python3-jinja2 python3-yaml python3-icu git diff --git a/vagrant/Install-on-Ubuntu-20.sh b/vagrant/Install-on-Ubuntu-20.sh index 4805db61..1ea180e8 100755 --- a/vagrant/Install-on-Ubuntu-20.sh +++ b/vagrant/Install-on-Ubuntu-20.sh @@ -24,7 +24,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: sudo apt install -y build-essential cmake g++ libboost-dev libboost-system-dev \ libboost-filesystem-dev libexpat1-dev zlib1g-dev \ libbz2-dev libpq-dev libproj-dev \ - postgresql-server-dev-12 postgresql-12-postgis-3 \ + postgresql-12-postgis-3 \ postgresql-contrib-12 postgresql-12-postgis-3-scripts \ php php-pgsql php-intl libicu-dev python3-dotenv \ python3-psycopg2 python3-psutil python3-jinja2 \ -- 2.39.5