<div dir="ltr">Yes, now is working.<div>Thank you.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 2, 2021 at 7:49 AM <<a href="mailto:postgis-devel-request@lists.osgeo.org">postgis-devel-request@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send postgis-devel mailing list submissions to<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:postgis-devel-request@lists.osgeo.org" target="_blank">postgis-devel-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:postgis-devel-owner@lists.osgeo.org" target="_blank">postgis-devel-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of postgis-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Error making postgis (Regina Obe)<br>
2. Re: Error making postgis (Regina Obe)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 2 May 2021 03:20:44 -0400<br>
From: "Regina Obe" <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>><br>
To: "'PostGIS Development Discussion'" <<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a>><br>
Subject: Re: [postgis-devel] Error making postgis<br>
Message-ID: <000c01d73f23$aae0bf60$00a23e20$@<a href="http://pcorp.us" rel="noreferrer" target="_blank">pcorp.us</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Ayoub,<br>
<br>
<br>
<br>
I don?t think it?s anything wrong you are doing. Looks like all Bots are failing at this point with GEOS related errors.<br>
<br>
<br>
<br>
Thanks for noticing,<br>
<br>
Regina<br>
<br>
From: postgis-devel [mailto:<a href="mailto:postgis-devel-bounces@lists.osgeo.org" target="_blank">postgis-devel-bounces@lists.osgeo.org</a>] On Behalf Of Ayoub FATIHI<br>
Sent: Friday, April 30, 2021 9:47 PM<br>
To: postgis devel <<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a>><br>
Subject: Re: [postgis-devel] Error making postgis<br>
<br>
<br>
<br>
Actually ther was this warnings: <br>
<br>
lwgeom_geos.c:147:2: warning: implicit declaration of function ?GEOSCoordSeq_copyToBuffer?; did you mean ?GEOSCoordSeq_clone?? [-Wimplicit-function-declaration]<br>
147 | GEOSCoordSeq_copyToBuffer(cs, (double*) pa->serialized_pointlist, (dims == 3), 0);<br>
| ^~~~~~~~~~~~~~~~~~~~~~~~~<br>
| GEOSCoordSeq_clone<br>
lwgeom_geos.c: In function ?ptarray_to_GEOSCoordSeq?:<br>
lwgeom_geos.c:280:8: warning: implicit declaration of function ?GEOSCoordSeq_copyFromBuffer? [-Wimplicit-function-declaration]<br>
280 | sq = GEOSCoordSeq_copyFromBuffer((const double*) pa->serialized_pointlist, pa->npoints, FLAGS_GET_Z(pa->flags), FLAGS_GET_M(pa->flags));<br>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
lwgeom_geos.c:280:6: warning: assignment to ?GEOSCoordSeq? {aka ?struct GEOSCoordSeq_t *?} from ?int? makes pointer from integer without a cast [-Wint-conversion]<br>
280 | sq = GEOSCoordSeq_copyFromBuffer((const double*) pa->serialized_pointlist, pa->npoints, FLAGS_GET_Z(pa->flags), FLAGS_GET_M(pa->flags));<br>
| ^<br>
<br>
<br>
<br>
And this warning was repeated a bunch of time :<br>
<br>
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fPIC "-I../../liblwgeom" -I/usr/include -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -I/usr/include/gdal "-I../../libpgcommon" -I../rt_core -I. -I./ -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -c -o rtpg_internal.o rtpg_internal.c<br>
In file included from /usr/include/gdal/cpl_port.h:66,<br>
from /usr/include/gdal/gdal.h:45,<br>
from ../rt_core/librtcore.h:126,<br>
from rtpostgis.h:39,<br>
from rtpg_internal.h:33,<br>
from rtpg_internal.c:34:<br>
/usr/include/gdal/cpl_config.h:296: warning: "PACKAGE_URL" redefined<br>
296 | #define PACKAGE_URL ""<br>
|<br>
In file included from /usr/local/pgsql/include/server/c.h:54,<br>
from /usr/local/pgsql/include/server/postgres.h:46,<br>
from rtpg_internal.c:31:<br>
/usr/local/pgsql/include/server/pg_config.h:806: note: this is the location of the previous definition<br>
806 | #define PACKAGE_URL "<a href="https://www.postgresql.org/" rel="noreferrer" target="_blank">https://www.postgresql.org/</a>"<br>
|<br>
<br>
Here is the full output : <a href="https://github.com/ayoubft/postgis_error_file/blob/main/make_result.txt" rel="noreferrer" target="_blank">https://github.com/ayoubft/postgis_error_file/blob/main/make_result.txt</a> <br>
<br>
<br>
<br>
<br>
-- <br>
<br>
FATIHI Ayoub <br>
<br>
<br>
<br>
On Sat, May 1, 2021 at 12:40 AM Ayoub FATIHI <<a href="mailto:ayoubfatihi1999@gmail.com" target="_blank">ayoubfatihi1999@gmail.com</a> <mailto:<a href="mailto:ayoubfatihi1999@gmail.com" target="_blank">ayoubfatihi1999@gmail.com</a>> > wrote:<br>
<br>
Hi community,<br>
<br>
I was re-installing PostGIS with PostgreSQL from source.<br>
<br>
And I have this problem : <br>
<br>
Postgres compile just fine. But ...<br>
<br>
When I run make for postgis, I get this error: <br>
<br>
------------------------------<br>
<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [Makefile:84: raster2pgsql] Error 1<br>
make[2]: Leaving directory '/usr/local/src/postgis/raster/loader'<br>
make[1]: *** [Makefile:35: rtloader] Error 2<br>
make[1]: Leaving directory '/usr/local/src/postgis/raster'<br>
<br>
make: *** [GNUmakefile:22: all] Error 1<br>
<br>
----------------------------------<br>
<br>
Noting also that config when done says:<br>
<br>
-------------------------------<br>
<br>
PostGIS is now configured for x86_64-pc-linux-gnu<br>
<br>
-------------- Compiler Info -------------<br>
C compiler: gcc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros<br>
C++ compiler (Wagyu): gcc -std=c++11 -x c++<br>
CPPFLAGS: -I/usr/include -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG<br>
LDFLAGS: -lm<br>
SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P<br>
<br>
-------------- Additional Info -------------<br>
Interrupt Tests: DISABLED use: --with-interrupt-tests to enable<br>
<br>
-------------- Dependencies --------------<br>
GEOS config: /usr/bin/geos-config<br>
GEOS version: 3.8.0<br>
GDAL config: /usr/bin/gdal-config<br>
GDAL version: 3.0.4<br>
PostgreSQL config: /usr/local/pgsql/bin/pg_config<br>
PostgreSQL version: PostgreSQL 14devel<br>
PROJ4 version: 63<br>
Libxml2 config: /usr/bin/xml2-config<br>
Libxml2 version: 2.9.10<br>
JSON-C support: yes<br>
protobuf support: yes<br>
protobuf-c version: 1003003<br>
PCRE support: yes<br>
Perl: /usr/bin/perl<br>
<br>
--------------- Extensions ---------------<br>
PostGIS Raster: enabled<br>
PostGIS Topology: enabled<br>
SFCGAL support: disabled<br>
Address Standardizer support: enabled<br>
<br>
-------- Documentation Generation --------<br>
xsltproc: /usr/bin/xsltproc<br>
xsl style sheets:<br>
dblatex:<br>
convert:<br>
mathml2.dtd: <a href="http://www.w3.org/Math/DTD/mathml2/mathml2.dtd" rel="noreferrer" target="_blank">http://www.w3.org/Math/DTD/mathml2/mathml2.dtd</a><br>
<br>
configure: WARNING: --------- GEOS VERSION WARNING ------------<br>
configure WARNING: You are building against GEOS 3.8.0.<br>
configure: WARNING:<br>
configure: WARNING: To take advantage of _all_ the features of<br>
configure: WARNING: PostGIS, GEOS 3.9.0 or higher is required.<br>
configure: WARNING:<br>
configure: WARNING: For _many_ features, GEOS 3.6.0 is enough.<br>
configure: WARNING:<br>
configure: WARNING: We recommend GEOS 3.8.0 or higher<br>
configure: WARNING:<br>
configure: WARNING: You can download the latest versions from<br>
configure: WARNING: <a href="http://geos.osgeo.org/" rel="noreferrer" target="_blank">http://geos.osgeo.org/</a><br>
configure: WARNING:<br>
<br>
--------------------------<br>
<br>
<br>
Any ideas how to solve this problem ?<br>
<br>
<br>
<br>
-- <br>
<br>
FATIHI Ayoub <br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
<br>
FATIHI Ayoub <br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210502/677d9d36/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210502/677d9d36/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 2 May 2021 03:49:06 -0400<br>
From: "Regina Obe" <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>><br>
To: "'PostGIS Development Discussion'" <<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a>><br>
Subject: Re: [postgis-devel] Error making postgis<br>
Message-ID: <001301d73f27$a1af3e90$e50dbbb0$@<a href="http://pcorp.us" rel="noreferrer" target="_blank">pcorp.us</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Ayoub,<br>
<br>
<br>
<br>
Issue should be fixed now. Can you give it another try.<br>
<br>
<br>
<br>
Thanks,<br>
<br>
Regina<br>
<br>
<br>
<br>
From: postgis-devel [mailto:<a href="mailto:postgis-devel-bounces@lists.osgeo.org" target="_blank">postgis-devel-bounces@lists.osgeo.org</a>] On Behalf Of Ayoub FATIHI<br>
Sent: Friday, April 30, 2021 9:47 PM<br>
To: postgis devel <<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a>><br>
Subject: Re: [postgis-devel] Error making postgis<br>
<br>
<br>
<br>
Actually ther was this warnings: <br>
<br>
lwgeom_geos.c:147:2: warning: implicit declaration of function ?GEOSCoordSeq_copyToBuffer?; did you mean ?GEOSCoordSeq_clone?? [-Wimplicit-function-declaration]<br>
147 | GEOSCoordSeq_copyToBuffer(cs, (double*) pa->serialized_pointlist, (dims == 3), 0);<br>
| ^~~~~~~~~~~~~~~~~~~~~~~~~<br>
| GEOSCoordSeq_clone<br>
lwgeom_geos.c: In function ?ptarray_to_GEOSCoordSeq?:<br>
lwgeom_geos.c:280:8: warning: implicit declaration of function ?GEOSCoordSeq_copyFromBuffer? [-Wimplicit-function-declaration]<br>
280 | sq = GEOSCoordSeq_copyFromBuffer((const double*) pa->serialized_pointlist, pa->npoints, FLAGS_GET_Z(pa->flags), FLAGS_GET_M(pa->flags));<br>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
lwgeom_geos.c:280:6: warning: assignment to ?GEOSCoordSeq? {aka ?struct GEOSCoordSeq_t *?} from ?int? makes pointer from integer without a cast [-Wint-conversion]<br>
280 | sq = GEOSCoordSeq_copyFromBuffer((const double*) pa->serialized_pointlist, pa->npoints, FLAGS_GET_Z(pa->flags), FLAGS_GET_M(pa->flags));<br>
| ^<br>
<br>
<br>
<br>
And this warning was repeated a bunch of time :<br>
<br>
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fPIC "-I../../liblwgeom" -I/usr/include -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -I/usr/include/gdal "-I../../libpgcommon" -I../rt_core -I. -I./ -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -c -o rtpg_internal.o rtpg_internal.c<br>
In file included from /usr/include/gdal/cpl_port.h:66,<br>
from /usr/include/gdal/gdal.h:45,<br>
from ../rt_core/librtcore.h:126,<br>
from rtpostgis.h:39,<br>
from rtpg_internal.h:33,<br>
from rtpg_internal.c:34:<br>
/usr/include/gdal/cpl_config.h:296: warning: "PACKAGE_URL" redefined<br>
296 | #define PACKAGE_URL ""<br>
|<br>
In file included from /usr/local/pgsql/include/server/c.h:54,<br>
from /usr/local/pgsql/include/server/postgres.h:46,<br>
from rtpg_internal.c:31:<br>
/usr/local/pgsql/include/server/pg_config.h:806: note: this is the location of the previous definition<br>
806 | #define PACKAGE_URL "<a href="https://www.postgresql.org/" rel="noreferrer" target="_blank">https://www.postgresql.org/</a>"<br>
|<br>
<br>
Here is the full output : <a href="https://github.com/ayoubft/postgis_error_file/blob/main/make_result.txt" rel="noreferrer" target="_blank">https://github.com/ayoubft/postgis_error_file/blob/main/make_result.txt</a> <br>
<br>
<br>
<br>
<br>
-- <br>
<br>
FATIHI Ayoub <br>
<br>
<br>
<br>
On Sat, May 1, 2021 at 12:40 AM Ayoub FATIHI <<a href="mailto:ayoubfatihi1999@gmail.com" target="_blank">ayoubfatihi1999@gmail.com</a> <mailto:<a href="mailto:ayoubfatihi1999@gmail.com" target="_blank">ayoubfatihi1999@gmail.com</a>> > wrote:<br>
<br>
Hi community,<br>
<br>
I was re-installing PostGIS with PostgreSQL from source.<br>
<br>
And I have this problem : <br>
<br>
Postgres compile just fine. But ...<br>
<br>
When I run make for postgis, I get this error: <br>
<br>
------------------------------<br>
<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [Makefile:84: raster2pgsql] Error 1<br>
make[2]: Leaving directory '/usr/local/src/postgis/raster/loader'<br>
make[1]: *** [Makefile:35: rtloader] Error 2<br>
make[1]: Leaving directory '/usr/local/src/postgis/raster'<br>
<br>
make: *** [GNUmakefile:22: all] Error 1<br>
<br>
----------------------------------<br>
<br>
Noting also that config when done says:<br>
<br>
-------------------------------<br>
<br>
PostGIS is now configured for x86_64-pc-linux-gnu<br>
<br>
-------------- Compiler Info -------------<br>
C compiler: gcc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros<br>
C++ compiler (Wagyu): gcc -std=c++11 -x c++<br>
CPPFLAGS: -I/usr/include -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG<br>
LDFLAGS: -lm<br>
SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P<br>
<br>
-------------- Additional Info -------------<br>
Interrupt Tests: DISABLED use: --with-interrupt-tests to enable<br>
<br>
-------------- Dependencies --------------<br>
GEOS config: /usr/bin/geos-config<br>
GEOS version: 3.8.0<br>
GDAL config: /usr/bin/gdal-config<br>
GDAL version: 3.0.4<br>
PostgreSQL config: /usr/local/pgsql/bin/pg_config<br>
PostgreSQL version: PostgreSQL 14devel<br>
PROJ4 version: 63<br>
Libxml2 config: /usr/bin/xml2-config<br>
Libxml2 version: 2.9.10<br>
JSON-C support: yes<br>
protobuf support: yes<br>
protobuf-c version: 1003003<br>
PCRE support: yes<br>
Perl: /usr/bin/perl<br>
<br>
--------------- Extensions ---------------<br>
PostGIS Raster: enabled<br>
PostGIS Topology: enabled<br>
SFCGAL support: disabled<br>
Address Standardizer support: enabled<br>
<br>
-------- Documentation Generation --------<br>
xsltproc: /usr/bin/xsltproc<br>
xsl style sheets:<br>
dblatex:<br>
convert:<br>
mathml2.dtd: <a href="http://www.w3.org/Math/DTD/mathml2/mathml2.dtd" rel="noreferrer" target="_blank">http://www.w3.org/Math/DTD/mathml2/mathml2.dtd</a><br>
<br>
configure: WARNING: --------- GEOS VERSION WARNING ------------<br>
configure WARNING: You are building against GEOS 3.8.0.<br>
configure: WARNING:<br>
configure: WARNING: To take advantage of _all_ the features of<br>
configure: WARNING: PostGIS, GEOS 3.9.0 or higher is required.<br>
configure: WARNING:<br>
configure: WARNING: For _many_ features, GEOS 3.6.0 is enough.<br>
configure: WARNING:<br>
configure: WARNING: We recommend GEOS 3.8.0 or higher<br>
configure: WARNING:<br>
configure: WARNING: You can download the latest versions from<br>
configure: WARNING: <a href="http://geos.osgeo.org/" rel="noreferrer" target="_blank">http://geos.osgeo.org/</a><br>
configure: WARNING:<br>
<br>
--------------------------<br>
<br>
<br>
Any ideas how to solve this problem ?<br>
<br>
<br>
<br>
-- <br>
<br>
FATIHI Ayoub <br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
<br>
FATIHI Ayoub <br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210502/9dd6b7a7/attachment.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210502/9dd6b7a7/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of postgis-devel Digest, Vol 217, Issue 1<br>
*********************************************<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">FATIHI Ayoub </div></div></div></div>