[MacPorts] #60506: Can't install grass7
MacPorts
noreply at macports.org
Mon May 25 09:28:30 UTC 2020
#60506: Can't install grass7
----------------------+--------------------
Reporter: dershow | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: grass7 |
----------------------+--------------------
Comment (by Veence):
The problem is this: g.gisenv (and other utilities) are called by the
build system. It depends on the libgrass_gis library.
But when the lib grass_gis library is built, the linking process records
the installation path (/opt/local/share/grass78/…) of the library within
its header. Then g.gisenv is compiled and linked against it, and the
linking process does not reference the real location of the libraries an
executable is built against, but the location as specified in the library
header (in this case, the installation path).
So when g.gisenv is called within the build process, it looks for
/opt/local/share/grass78/libgrass_gis.dylib, rather than using the
temporary place the library is stored in until the build finishes.
--
Ticket URL: <https://trac.macports.org/ticket/60506#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list