[MacPorts] #70228: gdal @3.9.0 - Fails to Configure on Lion
MacPorts
noreply at macports.org
Sun Jun 16 07:38:44 UTC 2024
#70228: gdal @3.9.0 - Fails to Configure on Lion
---------------------+--------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: lion
Port: gdal |
---------------------+--------------------
Comment (by ryandesign):
It says the reason is:
{{{
CMake Error at /opt/local/lib/cmake/expat-2.6.2/expat-config-
version.cmake:66 (if):
Flow control statements are not properly nested.
Call Stack (most recent call first):
cmake/helpers/CheckDependentLibraries.cmake:141 (find_package)
cmake/helpers/CheckDependentLibraries.cmake:359 (gdal_check_package)
gdal.cmake:266 (include)
CMakeLists.txt:240 (include)
CMake Warning at cmake/helpers/CheckDependentLibraries.cmake:141
(find_package):
Could not find a configuration file for package "EXPAT" that is
compatible
with requested version "".
The following configuration files were considered but not accepted:
/opt/local/lib/cmake/expat-2.6.2/expat-config.cmake, version: unknown
Call Stack (most recent call first):
cmake/helpers/CheckDependentLibraries.cmake:359 (gdal_check_package)
gdal.cmake:266 (include)
CMakeLists.txt:240 (include)
-- Configuring incomplete, errors occurred!
}}}
We did not see this problem on the buildbot. There may be something wrong
with your /opt/local/lib/cmake/expat-2.6.2/expat-config-version.cmake. You
could attach it here. Is your expat port installed with the universal
variant?
--
Ticket URL: <https://trac.macports.org/ticket/70228#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list