[MacPorts] #60913: qgis3 @3.14.1 fails to build on Mojave (failed to find 'gl.h').
MacPorts
noreply at macports.org
Tue Jul 28 18:01:59 UTC 2020
#60913: qgis3 @3.14.1 fails to build on Mojave (failed to find 'gl.h').
-----------------------+--------------------
Reporter: gwright83 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
-----------------------+--------------------
qgis3 fails build on Mojave. The failure is in the configuration step,
and is caused by a failure to find the header file `gl.h`.
The workaround is simple (and was mentioned in a comment on commit f2ee940
by i0ntempest. On Mojave (and perhaps earlier version of macOS), the
patch
{{{
- configure.sdkroot
${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+ configure.sdkroot ${developer_dir}/Developer/SDKs/MacOSX.sdk
cmake.install_prefix ${applications_dir}
}}}
needs to be reverted.
I did this manually and qgis3 built to completion.
Veence, are you building on Catalina? The configure.sdkroot line probably
needs to be conditioned on the OS version.
--
Ticket URL: <https://trac.macports.org/ticket/60913>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list