[GRASS-dev] GRASS GIS installation on Mac OSX [was : Re: [GRASS GIS] #2942: Startup after Novice Install]

Anna Petrášová kratochanna at gmail.com
Tue Jun 27 05:32:17 PDT 2017


On Tue, Jun 27, 2017 at 3:26 AM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 27/06/17 01:02, GRASS GIS wrote:
>>
>> #2942: Startup after Novice Install
>> ------------------------+-------------------------
>>   Reporter:  pactriglo  |      Owner:  grass-dev@…
>>       Type:  defect     |     Status:  new
>>   Priority:  normal     |  Milestone:  7.0.6
>>  Component:  Startup    |    Version:  7.0.3
>> Resolution:             |   Keywords:
>>        CPU:  OSX/Intel  |   Platform:  MacOSX
>> ------------------------+-------------------------
>>
>> Comment (by annakrat):
>>
>>  Use homebrew from osgeo4mac:
>>
>>  {{{
>>  brew tap osgeo/osgeo4mac
>>  brew install grass7
>>  }}}
>>
>> --
>> Ticket URL: <https://trac.osgeo.org/grass/ticket/2942#comment:5>
>> GRASS GIS <https://grass.osgeo.org>
>
>
> Is this the official recommendation on how to install GRASS GIS on Mac OSX
> these days ?
>

I was recommending this way in our recent workshops because it's the
only way which works with SIP enabled. It's far from ideal because it
doesn't always work, sometimes people have several Python
installations on Mac which complicates things and for some reason,
ctypes don't work there (so no PyGRASS or digitizer or 3D view). And
the installation takes time on slower computers because it's compiling
everything.

Michael's binaries work only when SIP is disabled. It's fairly easy to
disable it, but still, you have to boot into recovery system, open
command line and run a command there, so it looks little scary for
most people.

Even your own compilation is fairly difficult, one reason is that
official wxPython 3 mac package is old and new macs refuse to open and
install. So in general I am getting sick of this issue and
unfortunately I don't have time nor knowledge to do anything about it.

> My students with MacOSX have been a bit confused about the different ways to
> download GRASS GIS, especially when they were trying to install it in
> parallel with QGIS for cross-usage (grass plugin and processing toolbox).
>

this is something I haven't even tried. If some of your students find
better ways of installing GRASS, let me know.

Anna


> BTW, in the homebrew formula for grass7 [1] I see:
>
> stable do
>     url "https://grass.osgeo.org/grass72/source/grass-7.2.0.tar.gz"
>
> i.e. 7.2.0, instead of 7.2.1.
>
> Maybe we should create a symbolic link
>
>
> https://grass.osgeo.org/grass72/source/current_stable.tar.gz ->
> https://grass.osgeo.org/grass72/source/grass-7.2.1.tar.gz
>
> ?
>
> Or even
>
> https://grass.osgeo.org/current_stable.tar.gz ->
> https://grass.osgeo.org/grass72/source/grass-7.2.1.tar.gz
>
> to make it easier for build scripts such as these to always point to the
> latest stable version ?
>
>
> Moritz
>
> [1]
> https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/grass7.rb
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list