]> git.openstreetmap.org Git - nominatim.git/commitdiff
no longer need postgresql-server-dev packages
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 10 May 2022 15:34:58 +0000 (17:34 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 10 May 2022 16:33:51 +0000 (18:33 +0200)
docs/admin/Installation.md
vagrant/Install-on-Ubuntu-18.sh
vagrant/Install-on-Ubuntu-20.sh

index 6b5855791508bbf2fe28ac192bdc9313e869e9a4..f5411604ef4a5bfeae7b06ed94796b271e63ea8e 100644 (file)
@@ -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-<postgresql version>`
 
 
 Nominatim installs itself into `/usr/local` per default. To choose a different
index f9b88ab596fb4361234ade75107a3756b8c8cd5b..3537bcf4486c0050298cb4afe2499a91c318907a 100755 (executable)
@@ -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
index 4805db617e5ad1742eb36bdac5f60ec1f5dc1866..1ea180e84b64a4b76455b458e8e5fdd82c3dafb2 100755 (executable)
@@ -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 \