[postgis-devel] 2.4.0beta1 build error against PostgreSQL 10 beta 4
Regina Obe
lr at pcorp.us
Mon Sep 4 11:24:27 PDT 2017
Vicky,
Interesting indeed.
I haven't double-checked compiling against my tar ball to make sure it wasn't my screw-up in packaging.
Looking at it though, I don't see a gserialized_gist.c file in the tar ball, so the complaint about gserialized_gist.c file in Devrim's note is indeed suspicious.
> In file included from gserialized_gist.c:17:0:
> ../postgis_config.h:150:31: error: invalid suffix "PostgreSQL" on integer constant
> #define POSTGIS_PGSQL_VERSION 10PostgreSQL 10beta4
^
The add #include <float.h> was one of the changes I added to PostGIS 2.4 to make it work on 10.
Cause in 10 they removed an include that had an include to <float.h> that we were mistakenly relying on.
Devrim,
Can you verify you are testing against this file:
http://download.osgeo.org/postgis/source/postgis-2.4.0beta1.tar.gz
and don't have junk left over from a prior compile.
Thanks,
Regina
From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Vicky Vergara
Sent: Monday, September 04, 2017 12:38 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: Re: [postgis-devel] 2.4.0beta1 build error against PostgreSQL 10 beta 4
Interesting:
there is a gserialized_gist_2d.c file but not a gserialized_gist.c file
and Devrim somehow is compiling gserialized_gist.c
http://postgis.net/docs/doxygen/2.4/df/d5e/gserialized__gist__2d_8c.html
On Mon, Sep 4, 2017 at 11:21 AM, Vicky Vergara <vicky at georepublic.de <mailto:vicky at georepublic.de> > wrote:
Try adding to gserialized_gist.c
#include <float.h>
On Mon, Sep 4, 2017 at 10:46 AM, Devrim Gündüz <devrim at gunduz.org <mailto:devrim at gunduz.org> > wrote:
Hi Regina,
On Mon, 2017-09-04 at 10:10 -0400, Regina Obe wrote:
> Regarding the other errors have no clue about those.
I'm not an expert on this area, but they may be related to GCC 7.
Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/postgis-devel
--
Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44,
81739 München, Germany
Vicky Vergara
Operations Research
eMail: vicky at georepublic.de <http://georepublic.de>
Web: https://georepublic.info
Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9
Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl
--
Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44,
81739 München, Germany
Vicky Vergara
Operations Research
eMail: vicky at georepublic.de <http://georepublic.de>
Web: https://georepublic.info
Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9
Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20170904/df3ef00f/attachment.html>
More information about the postgis-devel
mailing list