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..586d97b 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 `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..d22b93f 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 `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