PostGIS 3.4.x - Error while compile make install

"Auberg, Mirko" <[email protected]>
Newsgroups gmane.comp.gis.postgis
Message-ID <FR2P281MB2687318755A942447304112889602@FR2P281MB2687.DEUP281.PROD.OUTLOOK.COM>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.