[MacPorts] #59233: postgis2 fails to compile on Mojave with Xcode 11.1

MacPorts noreply at macports.org
Thu Oct 10 00:28:03 UTC 2019


#59233: postgis2 fails to compile on Mojave with Xcode 11.1
-------------------------+--------------------
  Reporter:  EJFielding  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.1
Resolution:              |   Keywords:
      Port:  postgis2    |
-------------------------+--------------------

Comment (by EJFielding):

 It seems that it can't find usable GDAL headers. From the main.log:

 {{{
 :info:configure checking for gdal-config... /opt/local/bin/gdal-config
 :info:configure checking GDAL version... 3.0.1
 :info:configure checking for OGR enabled... yes
 :info:configure checking gdal.h usability... no
 :info:configure checking gdal.h presence... yes
 :info:configure configure: WARNING: gdal.h: present but cannot be compiled
 :info:configure configure: WARNING: gdal.h:     check for missing
 prerequisite headers?
 :info:configure configure: WARNING: gdal.h: see the Autoconf documentation
 :info:configure configure: WARNING: gdal.h:     section "Present But
 Cannot Be Compiled"
 :info:configure configure: WARNING: gdal.h: proceeding with the compiler's
 result
 :info:configure checking for gdal.h... no
 :info:configure configure: error: could not find GDAL headers
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59233#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list