[MacPorts] #60913: qgis3 @3.14.1 fails to build on Mojave (failed to find 'gl.h').
MacPorts
noreply at macports.org
Wed Jul 29 12:41:10 UTC 2020
#60913: qgis3 @3.14.1 fails to build on Mojave (failed to find 'gl.h').
------------------------+--------------------
Reporter: gwright83 | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: duplicate | Keywords:
Port: qgis3 |
------------------------+--------------------
Changes (by ryandesign):
* status: new => closed
* resolution: => duplicate
* port: => qgis3
Old description:
> 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.
New description:
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
[changeset:f2ee940/macports-ports] 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.
--
Comment:
Duplicate of #60901. That change is incorrect on all OS versions.
--
Ticket URL: <https://trac.macports.org/ticket/60913#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list