Hi Mirko,

You need to run the install with root privileges.

sudo make install

Regards,

Jorge

On 16/09/24 16:38, Auberg, Mirko wrote:

Hello PotGIS Users,

i try to compile PostGIS 3.4.3 with PostgreSQL 16.4.

My configure Option are this:

./configure --with-pgconfig=/postgres/PGRH8T/backup/compile/postgresql_16.4/compiled_finished/pgsql/bin/pg_config --with-geosconfig=/postgres/PGRH8T/backup/compile/postgresql_16.4/compiled_finished/pgsql/usr/bin/geos-config --with-gdalconfig=/postgres/PGRH8T/backup/compile/postgresql_16.4/compiled_finished/pgsql/usr/bin/gdal-config --with-projdir=/usr/proj63/ --with-sfcgal --without-protobuf

OS: RedHat 8

GEOS Version 3.12.2

GDAL: Version 3.9.2

Proj: Version 6.3

Im getting at “make install” following Error.

make -C loader install

make[2]: Entering directory '/postgres/PGRH8T/backup/compile/postgresql_16.4/postgresql_16.4_source/postgis-3.4.3/raster/loader'

/bin/sh ../../libtool --mode=install /usr/bin/install -c raster2pgsql "/usr/local/bin/raster2pgsql"

libtool: install: /usr/bin/install -c raster2pgsql /usr/local/bin/raster2pgsql

/usr/bin/install: cannot create regular file '/usr/local/bin/raster2pgsql': Permission denied

make[2]: *** [Makefile:97: install] Error 1

make[2]: Leaving directory '/postgres/PGRH8T/backup/compile/postgresql_16.4/postgresql_16.4_source/postgis-3.4.3/raster/loader'

make[1]: *** [Makefile:50: install] Error 2

make[1]: Leaving directory '/postgres/PGRH8T/backup/compile/postgresql_16.4/postgresql_16.4_source/postgis-3.4.3/raster'

make: *** [GNUmakefile:25: install] Error 1

Seems like a Bug to me. I have the error just with Version 3.4.x. With older Version is no Problem. Looks like the compiler forgets the pg_config Location an tries to install in the usual OS Path.

Does somebody know the problem or can open a Bug Ticket?

Regards,

Mirko

Reply via email to