[MacPorts] #59096: postgis2 fails to install, says to log a bug
MacPorts
noreply at macports.org
Wed Sep 25 05:48:09 UTC 2019
#59096: postgis2 fails to install, says to log a bug
-----------------------------+--------------------
Reporter: rstrauss-logyx | Owner: Veence
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.0
Resolution: invalid | Keywords:
Port: postgis2 |
-----------------------------+--------------------
Changes (by Veence):
* status: assigned => closed
* resolution: => invalid
Comment:
It’s more complex than that. I have the same error. This is caused by the
new Xcode installation.
{{{
configure:17664: checking gdal.h usability
configure:17664: /usr/bin/clang -c -Wall -Wmissing-prototypes -Wpointer-
arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-
attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-
command-line-argument -pipe -Os
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -I/opt/local/include conftest.c >&5
clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
conftest.c:73:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^~~~~~~~~
1 error generated.
}}}
There’s hardly anything I can do, and probably other ports will break
also. You can check the thread on the discussion list for possible
workarounds?
--
Ticket URL: <https://trac.macports.org/ticket/59096#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list