<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Mirko,</p>
<p>You need to run the install with root privileges.</p>
<pre>sudo make install
</pre>
<p>Regards,</p>
<p>Jorge<br>
</p>
<div class="moz-cite-prefix">On 16/09/24 16:38, Auberg, Mirko wrote:<br>
</div>
<blockquote type="cite" cite="mid:FR2P281MB2687318755A942447304112889602@FR2P281MB2687.DEUP281.PROD.OUTLOOK.COM">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Aptos;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Hello
PotGIS Users,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">i try to compile PostGIS 3.4.3 with PostgreSQL
16.4.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">My configure Option are this:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">./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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">OS:
RedHat 8
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">GEOS
Version 3.12.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">GDAL:
Version 3.9.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">Proj: Version 6.3
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">Im getting at “make install” following Error.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make -C loader install<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make[2]: Entering directory
'/postgres/PGRH8T/backup/compile/postgresql_16.4/postgresql_16.4_source/postgis-3.4.3/raster/loader'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/bin/sh
../../libtool --mode=install /usr/bin/install -c
raster2pgsql "/usr/local/bin/raster2pgsql"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">libtool:
install: /usr/bin/install -c raster2pgsql
/usr/local/bin/raster2pgsql<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">/usr/bin/install: cannot create regular file
'/usr/local/bin/raster2pgsql': Permission denied<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make[2]: *** [Makefile:97: install] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make[2]: Leaving directory
'/postgres/PGRH8T/backup/compile/postgresql_16.4/postgresql_16.4_source/postgis-3.4.3/raster/loader'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make[1]: *** [Makefile:50: install] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make[1]: Leaving directory
'/postgres/PGRH8T/backup/compile/postgresql_16.4/postgresql_16.4_source/postgis-3.4.3/raster'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">make: *** [GNUmakefile:25: install] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">Does somebody know the problem or can open a
Bug Ticket?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">Regards,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black" lang="EN-US">Mirko<o:p></o:p></span></p>
</div>
</blockquote>
</body>
</html>