[postgis-tickets] [PostGIS] #4967: Dronie PostgreSQL 9.5 PostGIS 2.5 compile / regress failing

PostGIS trac at osgeo.org
Thu Aug 12 11:30:39 PDT 2021


#4967: Dronie PostgreSQL 9.5 PostGIS 2.5 compile / regress failing
-----------------------+---------------------------
 Reporter:  robe       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  PostGIS 2.5.6
Component:  buildbots  |    Version:  2.5.x
 Keywords:             |
-----------------------+---------------------------
 This might have something to do with my upgrade of trisquel about a month
 ago, but still the error is puzzling:

 https://dronie.osgeo.org/postgis/postgis/2028/1/2

 Configure details

 {{{
 -------------- Compiler Info -------------
   C compiler:           gcc -O0 -Wall -fno-omit-frame-pointer -Werror
   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P

  -------------- Additional Info -------------
   Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable

  -------------- Dependencies --------------
   GEOS config:          /usr/local/bin/geos-config
   GEOS version:         3.6.5
   GDAL config:          /usr/local/bin/gdal-config
   GDAL version:         2.2.3
   PostgreSQL config:    /usr/lib/postgresql/9.5/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.5.25
   PROJ4 version:        49
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.9.3
   JSON-C support:       yes
   protobuf-c support:   yes
   protobuf-c version:   1003000
   PCRE support:         no
   Perl:                 /usr/bin/perl

  --------------- Extensions ---------------
   PostGIS Raster:       enabled
   PostGIS Topology:     enabled
   SFCGAL support:       disabled
   Address Standardizer support:       disabled

  -------- Documentation Generation --------
   xsltproc:             /usr/bin/xsltproc
   xsl style sheets:     /usr/share/xml/docbook/stylesheet/docbook-xsl
   dblatex:
   convert:              /usr/bin/convert
   mathml2.dtd:          /usr/share/xml/schema/w3c/mathml/dtd/mathml2.dtd

 configure: WARNING:  --------- GEOS VERSION WARNING ------------
 configure: WARNING:   You are building against GEOS 3.6.5
 configure: WARNING:   To take advantage of all the features of
 configure: WARNING:   this PostGIS version requires GEOS 3.7.0 or higher.
 configure: WARNING:   To take advantage of most of the features of this
 PostGIS
 configure: WARNING:   we recommend GEOS 3.6 or higher
 configure: WARNING:   You can download the latest versions from
 configure: WARNING:   http://trac.osgeo.org/geos
 configure: WARNING:
 }}}

 Error details:


 {{{
 gcc  -I../liblwgeom -O0 -Wall -fno-omit-frame-pointer -Werror
 -I/usr/include/postgresql/9.5/server   -fPIC -DPIC  -Wall -Wmissing-
 prototypes  -c -o lwgeom_cache.o lwgeom_cache.c
 gcc  -I../liblwgeom -O0 -Wall -fno-omit-frame-pointer -Werror
 -I/usr/include/postgresql/9.5/server   -fPIC -DPIC  -Wall -Wmissing-
 prototypes  -c -o lwgeom_pg.o lwgeom_pg.c
 lwgeom_transform.c:15:22: fatal error: postgres.h: No such file or
 directory
 compilation terminated.
 Makefile:61: recipe for target 'lwgeom_transform.o' failed
 make[1]: *** [lwgeom_transform.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 lwgeom_cache.c:13:22: fatal error: postgres.h: No such file or directory
 compilation terminated.
 make[1]: *** [lwgeom_cache.o] Error 1
 lwgeom_pg.c:17:22: fatal error: postgres.h: No such file or directory
 compilation terminated.
 Makefile:61: recipe for target 'lwgeom_cache.o' failed
 make[1]: *** [lwgeom_pg.o] Error 1
 Makefile:61: recipe for target 'lwgeom_pg.o' failed
 gserialized_gist.c:12:22: fatal error: postgres.h: No such file or
 directory
 compilation terminated.
 make[1]: *** [gserialized_gist.o] Error 1
 make: *** [all] Error 1
 Makefile:61: recipe for target 'gserialized_gist.o' failed
 make[1]: Leaving directory '/drone/src/libpgcommon'
 GNUmakefile:16: recipe for target 'all' failed
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4967>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list