From d8b170902212d1d3794d8ce8d52494727eb68a49 Mon Sep 17 00:00:00 2001 From: Maxime Schemans Date: Thu, 8 May 2025 22:24:31 +1000 Subject: [PATCH 1/2] Improve installation instructions --- .gitignore | 1 + README.md | 7 ++++--- contrib/mobilitydb/README.md | 7 ++++--- contrib/postgis/README.md | 7 +++++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2db487b..ea5d17a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.o *.so .cache +.deps build compile_commands.json results diff --git a/README.md b/README.md index a3a659e..22b774e 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,11 @@ Installation ------------ Compiling and installing the `mest` extension +```bash +make PG_CONFIG=path_to_postgresql_installation/bin/pg_config +sudo make PG_CONFIG=path_to_postgresql_installation/bin/pg_config install ``` -make -sudo make install -``` +You may omit the PG_CONFIG overrides if running type pg_config in your shell locates the correct PostgreSQL installation. Enabling the `mest` extension ```sql diff --git a/contrib/mobilitydb/README.md b/contrib/mobilitydb/README.md index f1edbcc..10f48e7 100644 --- a/contrib/mobilitydb/README.md +++ b/contrib/mobilitydb/README.md @@ -20,9 +20,10 @@ Installation ------------ Compiling and installing the extension ```bash -make -sudo make install +make PG_CONFIG=path_to_postgresql_installation/bin/pg_config +sudo make PG_CONFIG=path_to_postgresql_installation/bin/pg_config install ``` +You may omit the PG_CONFIG overrides if running type pg_config in your shell locates the correct PostgreSQL installation. Enabling the `mobilitydb_mest` extension ```sql @@ -55,4 +56,4 @@ CREATE INDEX tbl_tgeompoint_mquadtree_opts_idx ON tbl_tgeompoint Contact: - Maxime Schoemans \ No newline at end of file + Maxime Schoemans diff --git a/contrib/postgis/README.md b/contrib/postgis/README.md index c099689..7372d45 100644 --- a/contrib/postgis/README.md +++ b/contrib/postgis/README.md @@ -23,7 +23,10 @@ shared_preload_libraries = 'postgis-3' Installation ------------ Compiling and installing the extension -``` +```bash +mkdir build +cd build +cmake .. make sudo make install ``` @@ -35,4 +38,4 @@ CREATE INDEX trips_mgist_trip on trips using mgist(trip); ``` Contact: - Maxime Schoemans \ No newline at end of file + Maxime Schoemans From a817c2940bfa30bb3b84b927e82ac56d06b9e474 Mon Sep 17 00:00:00 2001 From: Maxime Schemans Date: Thu, 8 May 2025 22:44:10 +1000 Subject: [PATCH 2/2] Improve installation instructions --- README.md | 2 +- contrib/mobilitydb/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22b774e..586d97b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Compiling and installing the `mest` extension make PG_CONFIG=path_to_postgresql_installation/bin/pg_config sudo make PG_CONFIG=path_to_postgresql_installation/bin/pg_config install ``` -You may omit the PG_CONFIG overrides if running type pg_config in your shell locates the correct PostgreSQL installation. +You may omit the PG_CONFIG overrides if running `pg_config` in your shell locates the correct PostgreSQL installation. Enabling the `mest` extension ```sql diff --git a/contrib/mobilitydb/README.md b/contrib/mobilitydb/README.md index 10f48e7..d22b93f 100644 --- a/contrib/mobilitydb/README.md +++ b/contrib/mobilitydb/README.md @@ -23,7 +23,7 @@ Compiling and installing the extension make PG_CONFIG=path_to_postgresql_installation/bin/pg_config sudo make PG_CONFIG=path_to_postgresql_installation/bin/pg_config install ``` -You may omit the PG_CONFIG overrides if running type pg_config in your shell locates the correct PostgreSQL installation. +You may omit the PG_CONFIG overrides if running `pg_config` in your shell locates the correct PostgreSQL installation. Enabling the `mobilitydb_mest` extension ```sql