[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-devel
Subject:    Re: [postgis-devel] [postgis-users]   Problem compiling postgis
From:       Paul Ramsey <pramsey () cleverelephant ! ca>
Date:       2023-06-02 19:50:10
Message-ID: D6899DD2-77EB-4EC2-92BC-89C4A0AF6328 () cleverelephant ! ca
[Download RAW message or body]



> On Jun 2, 2023, at 12:47 PM, Regina Obe <lr@pcorp.us> wrote:
> 
> I think Bjorn was concerned it was too big of an update to push into a stable \
> release, Though I guess if it's preventing people from building, maybe we need to \
> or at least a partial update. I'm not sure we should bother with 3.2 though as it \
> seems to be an issue that is affecting newer OS and such people probably won't be \
> bothering with PostGIS 3.2.

Well, it is affecting people doing their own builds. Homebrew bumping their copy of \
abseil up in combination with this means everyone on home-brew is going to bang into \
this if they are building something more than 2 years old… presumably this will end \
up affecting all kinds of environments that run with a latest-and-greatest policy, as \
they pull in newer abseil.

P.

> 
> Added back the users list and Pankaj.
> 
> Thanks,
> Regina
> 		
> 
> > -----Original Message-----
> > From: postgis-devel [mailto:postgis-devel-bounces@lists.osgeo.org] On Behalf
> > Of Paul Ramsey
> > Sent: Friday, June 2, 2023 3:05 PM
> > To: PostGIS Development Discussion <postgis-devel@lists.osgeo.org>
> > Cc: Björn Harrtell <bjorn.harrtell@gmail.com>
> > Subject: Re: [postgis-devel] [postgis-users] Problem compiling postgis
> > 
> > Ah, that explains failures in 3.2/3.3… seems like a back port is also required.
> > 
> > P
> > 
> > > On Jun 2, 2023, at 12:03 PM, Regina Obe <lr@pcorp.us> wrote:
> > > 
> > > I think he pushed the latest flatgeobuf in 3.4.0
> > > 
> > > Is it this one - https://github.com/postgis/postgis/pull/726
> > > 
> > > 
> > > https://trac.osgeo.org/postgis/ticket/5368
> > > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: postgis-devel [mailto:postgis-devel-bounces@lists.osgeo.org] On
> > > > Behalf Of Paul Ramsey
> > > > Sent: Friday, June 2, 2023 2:54 PM
> > > > To: Even Rouault <even.rouault@spatialys.com>; Björn Harrtell
> > > > <bjorn.harrtell@gmail.com>
> > > > Cc: PostGIS Development Discussion <postgis-devel@lists.osgeo.org>
> > > > Subject: Re: [postgis-devel] [postgis-users] Problem compiling
> > > > postgis
> > > > 
> > > > Am I reading this right, we have flatgeobuf vendored in? Bjorn could
> > > > you update our copy to what you think it a good state?
> > > > 
> > > > On Fri, Jun 2, 2023 at 10:07 AM Even Rouault
> > > > <even.rouault@spatialys.com>
> > > > wrote:
> > > > > 
> > > > > cf MapServer fix for similar issue:
> > > > > https://github.com/MapServer/MapServer/pull/6833 (the issue was
> > > > > fixed in upstream flatbuffers)
> > > > > 
> > > > > Le 02/06/2023 à 19:00, Paul Ramsey a écrit :
> > > > > 
> > > > > Wait, we now have an implicit abseil dependency from flatgeobuf?
> > > > > 
> > > > > 
> > > > > On Jun 2, 2023, at 9:48 AM, Pankaj K Garg <garg@zeemaps.com> wrote:
> > > > > 
> > > > > I cannot compile Postgis 3.3.3 (or 3.2.3) on Mac OS Ventura 13.4.
> > > > > 
> > > > > I installed abseil using brew. Abseil mandates the use of at least C++14.
> > > > PostGIS is trying the build flatgeobuf with C++11.
> > > > > 
> > > > > Will appreciate any help or pointers.
> > > > > 
> > > > > Thanks.
> > > > > 
> > > > > Pankaj
> > > > > 
> > > > > 
> > > > > ---- Making all in postgis
> > > > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C
> > > > ../deps/flatgeobuf all
> > > > > gcc -std=c++11 -x c++ -I../../liblwgeom -I../../liblwgeom
> > > > > -I./include  -
> > > > I/usr/local/Cellar/geos/3.11.2/include
> > > > -I/usr/local/Cellar/proj/9.2.0_1/include
> > > > -I/usr/local/Cellar/libtiff/4.5.0/include
> > > > -I/usr/local/Cellar/zstd/1.5.5/include -
> > > > I/usr/local/Cellar/jpeg-turbo/2.1.5.1/include  -
> > > > 
> > I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
> > > > / Developer/SDKs/MacOSX.sdk/usr/include  -I/usr/local/Cellar/json-
> > > > c/0.16/include -I/usr/local/Cellar/json-c/0.16/include/json-c -
> > > > I/usr/local/Cellar/pcre2/10.42/include -DNDEBUG    -fno-common -DPIC -c
> > -o
> > > > flatgeobuf_c.o flatgeobuf_c.cpp
> > > > > In file included from flatgeobuf_c.cpp:26:
> > > > > In file included from ./feature_generated.h:7:
> > > > > In file included from ./include/flatbuffers/flatbuffers.h:22:
> > > > > In file included from ./include/flatbuffers/array.h:20:
> > > > > In file included from ./include/flatbuffers/base.h:237:
> > > > > In file included from /usr/local/include/absl/strings/string_view.h:39:
> > > > > In file included from /usr/local/include/absl/base/attributes.h:37:
> > > > > In file included from /usr/local/include/absl/base/config.h:86:
> > > > > /usr/local/include/absl/base/policy_checks.h:79:2: error: "C++
> > > > > versions less
> > > > than C++14 are not supported."
> > > > > #error "C++ versions less than C++14 are not supported."
> > > > > ^
> > > > > 1 error generated.
> > > > > make[2]: *** [flatgeobuf_c.o] Error 1
> > > > > make[1]: *** [../deps/flatgeobuf/libflatgeobuf.la] Error 2
> > > > > make: *** [all] Error 1
> > > > > 9:42 postgis-3.3.3 %
> > > > > 
> > > > > ________________________________
> > > > > 
> > > > > ZeeMaps
> > > > http://www.zeemaps.com
> > > > > 21060 Homestead Road, Suite 150
> > > > support@zeemaps.com
> > > > > Cupertino, CA 95014
> > > > 408 914-2955
> > > > > Like us on Facebook: http://www.facebook.com/zeemaps               Follow
> > us
> > > > on Twitter: http://twitter.com/zeemaps
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > postgis-users mailing list
> > > > > postgis-users@lists.osgeo.org
> > > > > https://lists.osgeo.org/mailman/listinfo/postgis-users
> > > > > 
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > postgis-devel mailing list
> > > > > postgis-devel@lists.osgeo.org
> > > > > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> > > > > 
> > > > > --
> > > > > http://www.spatialys.com
> > > > > My software is free, but my time generally not.
> > > > _______________________________________________
> > > > postgis-devel mailing list
> > > > postgis-devel@lists.osgeo.org
> > > > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> > > 
> > > _______________________________________________
> > > postgis-devel mailing list
> > > postgis-devel@lists.osgeo.org
> > > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> > 
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users

_______________________________________________
postgis-devel mailing list
postgis-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic