Opened 5 years ago
Closed 5 years ago
#59988 closed defect (fixed)
gdal +grass: error: --with-grass=/opt/local/share/grass76 requested, but libraries not found!
Reported by: | TheLastLovemark | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | kencu (Ken) | |
Port: | gdal, grass7 |
Description (last modified by TheLastLovemark)
Per kencu's suggestion at #59976, comment 17
I'm creating a ticket for every individual gdal variant that fails to build.
main.log and config.log are attached
Attachments (2)
Change History (5)
Changed 5 years ago by TheLastLovemark
Attachment: | gdal+grass_config.log added |
---|
Changed 5 years ago by TheLastLovemark
Attachment: | gdal+grass_main.log added |
---|
comment:1 Changed 5 years ago by TheLastLovemark
Description: | modified (diff) |
---|
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Veence removed |
---|---|
Owner: | set to Veence |
Port: | grass7 added |
Status: | new → assigned |
Summary: | gdal +grass build fail → gdal +grass: error: --with-grass=/opt/local/share/grass76 requested, but libraries not found! |
comment:3 Changed 5 years ago by Veence (Vincent)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
That’s right. I’ll do that for the next GRASS release. I always think about changing QGIS paths, but I often overlook GDAL's.
Meanwhile, I've committed a new GDAL 3.0.3 Portfile with the proper path. Thanks for reporting!
Note: See
TracTickets for help on using
tickets.
The log says:
gdal +grass does declare a dependency on the grass7 port, but the grass7 port currently installs version 7.8.1 and installs to the directory /opt/local/share/grass78. So I guess all ports that depend on grass7 need to be updated whenever the major or minor version of grass7 changes. It would be a good idea to add a comment to the grass7 portfile, near where the version is, reminding whoever updates the port to do this.