[postgis-tickets] [PostGIS] #4573: build failure when unmodified uthash.h is installed systemwide

PostGIS trac at osgeo.org
Sat Nov 9 05:37:38 PST 2019


#4573: build failure when unmodified uthash.h is installed systemwide
----------------------+---------------------------
  Reporter:  landry   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.0.1
 Component:  postgis  |    Version:  3.0.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by landry):

 After a bit of fiddling, moving $(UTHASH_INCLUDE) right after
 -I../liblwgeom in the PG_CPPFLAGS line of postgis/Makefile.in solves the
 build issue when uthash is installed globally. Would this be considered
 acceptable ?

 {{{
 -PG_CPPFLAGS += -I../liblwgeom @CFLAGS@ -I../libpgcommon $(WAYGU_INCLUDE)
 $(UTHASH_INCLUDE) @CPPFLAGS@ @PICFLAGS@
 +PG_CPPFLAGS += -I../liblwgeom $(UTHASH_INCLUDE) @CFLAGS@ -I../libpgcommon
 $(WAYGU_INCLUDE) @CPPFLAGS@ @PICFLAGS@
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4573#comment:1>
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