[GRASS-dev] How to install grass development package
n_larsson at yahoo.com
Fri Sep 4 00:14:52 PDT 2020
If you are interested in working with GRASS on mac you may try the official distribution, follow links on https://grass.osgeo.org/download/mac/ <https://grass.osgeo.org/download/mac/> or go directly to http://grassmac.wikidot.com/downloads <http://grassmac.wikidot.com/downloads>. It is an all-inclusive app, easy to install.
At this point I would recommend the GRASS 7.8.4 dev version. It is the latest version of the stable GRASS branch in combination with the most stable mac distribution. It includes e.g. python 3.7, gdal 3, proj 6.3 and pdal 2.1.
Regarding add-ons: there are two types, either python based or c/c++ based. The add-on source code is downloaded (with g.extension) and in the case of the c/c++ also compiled locally -- for this reason Apple’s Command Line Tools need to be installed. See section "COMPILING GRASS EXTENSIONS” on http://grassmac.wikidot.com/downloads <http://grassmac.wikidot.com/downloads>.
Note: if direct integration with QGIS is essential, the official mac binary is perhaps not be the solution for you.
> On 3 Sep 2020, at 20:34, ming han <dustming at gmail.com> wrote:
> Hi everyone
> Hope this email finds you well.
> I installed a QGIS that includes GRASS from here [https://www.kyngchaos.com/software/qgis/ <https://www.kyngchaos.com/software/qgis/>]. The GRASS does not contain a g.extension to install grass addon. When I copy a g.extension from other grass installation. It complains "Please install GRASS development package".
> So my questions are:
> 1) How to install GRASS addon without g.extension on MacOS
> 2) How to install GRASS development packages on MacOS.
> Many thanks for your help
> Looking forward to hearing from you soon
> Best regards
> grass-dev mailing list
> grass-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev