[MacPorts] #71156: install gdal failed
MacPorts
noreply at macports.org
Sat Nov 2 00:00:37 UTC 2024
#71156: install gdal failed
-------------------------+----------------------
Reporter: Junjie-oss | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gdal |
-------------------------+----------------------
Comment (by ryandesign):
Dave, you're right too though. gdal does request rasterlite support to be
enabled with `-DGDAL_ENABLE_DRIVER_RASTERLITE=ON`, yet it doesn't declare
a dependency on the librasterlite2 port; as far as I can tell from the git
history, no port does or ever has. So on most people's systems, rasterlite
support isn't actually getting enabled. From a recent build log:
{{{
-- Could NOT find RASTERLITE2 (missing: RASTERLITE2_LIBRARY
RASTERLITE2_INCLUDE_DIR) (Required is at least version "1.1.0")
}}}
Seems like gdal needs to either declare the dependency or set
`-DGDAL_ENABLE_DRIVER_RASTERLITE=OFF` as you suggested; either way, a
revbump is needed.
If the solution chosen is to add the librasterlite2 dependency, then it is
still possible, depending on how cmake works, that
/Library/Frameworks/Rasterlite2.framework might still be chosen first and
could thus still interfere and would need to be removed.
--
Ticket URL: <https://trac.macports.org/ticket/71156#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list