<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
This is good news. Did you take a look at the modified startup script I sent the other day?<br>
<br>
<div id="AppleMailSignature">
<div>Michael Barton</div>
<div>School of Human Evolution &Social Change</div>
<div>Center for Social Dynamics & Complexity</div>
<div>Arizona State University</div>
<div><br>
</div>
...Sent from my iPad</div>
<div><br>
On Jan 14, 2018, at 3:23 PM, Eric Hutton <<a href="mailto:hutton.eric@gmail.com">hutton.eric@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi Michael
<div><br>
</div>
<div>Thanks for your earlier clarification about how grass runs (I was missing a key point!). I think I have a solution now. Basically, the Grass72.app/Contents/MacOS/Grass script now opens up a terminal and, within that terminal, executes the startup script
 (the one we were using before, which is now Grass.sh).</div>
<div><br>
</div>
<div>You can see what I mean here:</div>
<div><br>
</div>
<div>    <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mcflugen_grass-2Dconda-2Dbuild_tree_master_osx_Grass72.app_Contents_MacOS&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=XA6yReZT2BoAaNeg126zooD8EtmwRkQ-7rwLzxODg7I&s=QrgVzZR0j3uDdl8IY0RGC58H9UUyvn6xgvsVYTYozm8&e=">
https://github.com/mcflugen/grass-conda-build/tree/master/osx/Grass72.app/Contents/MacOS</a></div>
<div><br>
</div>
<div>I'll start to make a new app but the one I have seems to be working now (I've been using the NC data you sent me).</div>
<div><br>
</div>
<div>Eric</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, Jan 14, 2018 at 1:31 PM Michael Barton <<a href="mailto:Michael.Barton@asu.edu">Michael.Barton@asu.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space">Ken & Co.
<div><br>
</div>
<div>You might find this of interest. </div>
<div><br>
</div>
<div>I've been working off and on for the past several month to find a new way to compile and distribute GRASS for Mac with all dependencies created outside the Mac system folders and bundled with it. The goal is to eliminate the SIP problem and the potential
 for conflicts with different versions of dependencies/frameworks/python/wxpython. </div>
<div><br>
</div>
<div>With a lot of help from colleague Eric Hutton (Community Surface Dynamics Modeling System), we are very close to having a reproducible and distributable build of GRASS under Anaconda. Our goal is to compile GRASS in an Anaconda environment so that it is
 distributable in two related ways: as a standard Mac package and app, and as an Anaconda package (installed via the command 'conda install [grass version]'). This will be a fully 64 bit GRASS version using wxPython 3 for the GUI.</div>
<div><br>
</div>
<div>Due to the many other responsibilities and pulls on our time, Eric and I have only been able to work sporadically. But as of this week we are down to one main baffling and annoying problem left to solve. Then we can do some clean up and begin making this
 build available to test. With that in mind, if anyone has experience in creating Mac *.app and *.pkg environments for distribution, please get in touch. You might be able to help us get over the last hurdle.</div>
<div><br>
</div>
<div>Cheers</div>
<div>Michael<br>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="text-align:-webkit-auto;text-indent:0px;word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span class="m_3197864454461300565Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word">
<div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
____________________</div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Helvetica" size="3">C. Michael Barton</font></div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Helvetica" size="3">Director, Center for Social Dynamics & Complexity </font></div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Helvetica" size="3">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div><font face="Helvetica" size="3">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Helvetica" size="3">Arizona State University</font></div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
<br>
</div>
<font face="Helvetica" size="3"><font>voice:  </font><font><a href="tel:(480)%20965-6262" value="+14809656262" target="_blank">480-965-6262</a> (SHESC), <a href="tel:(480)%20965-8130" value="+14809658130" target="_blank">480-965-8130</a>/727-9746 (CSDC)</font><br>
<font>fax: <a href="tel:(480)%20965-7671" value="+14809657671" target="_blank">480-965-7671</a> (SHESC),  <a href="tel:(480)%20727-0709" value="+14807270709" target="_blank">480-727-0709</a> (CSDC)</font><br>
</font>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Helvetica" size="3">www: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=XA6yReZT2BoAaNeg126zooD8EtmwRkQ-7rwLzxODg7I&s=f-Q3ncZP4puDJcsGLhZyfCTIs1uS9BGyr6DLDgdSRLc&e=" target="_blank">
http://www.public.asu.edu/~cmbarton</a>, <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=XA6yReZT2BoAaNeg126zooD8EtmwRkQ-7rwLzxODg7I&s=kNcCR_LAcIYMBOEXCrReotFe6ZkwH1z-cVfgpGNQ2KU&e=" target="_blank">
http://csdc.asu.edu</a></font></div>
<br>
</div>
<br>
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
</span><br class="m_3197864454461300565Apple-interchange-newline">
</div>
<br class="m_3197864454461300565Apple-interchange-newline">
</div>
<br class="m_3197864454461300565Apple-interchange-newline">
</div>
<br class="m_3197864454461300565Apple-interchange-newline">
<br class="m_3197864454461300565Apple-interchange-newline">
</div>
<div><br>
<blockquote type="cite">
<div>On Jan 14, 2018, at 1:00 PM, <a href="mailto:grass-user-request@lists.osgeo.org" target="_blank">
grass-user-request@lists.osgeo.org</a> wrote:</div>
<br class="m_3197864454461300565Apple-interchange-newline">
<div>
<div style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>From:<span class="m_3197864454461300565Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">Ken
 Mankoff <<a href="mailto:mankoff@gmail.com" target="_blank">mankoff@gmail.com</a>><br>
</span></div>
<div style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Subject:<span class="m_3197864454461300565Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif"><b>Re:
 [GRASS-user] Grass on MacOS</b><br>
</span></div>
<div style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Date:<span class="m_3197864454461300565Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">January
 14, 2018 at 7:46:27 AM MST<br>
</span></div>
<div style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>To:<span class="m_3197864454461300565Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">Adam
 Dershowitz <<a href="mailto:adershowitz@exponent.com" target="_blank">adershowitz@exponent.com</a>><br>
</span></div>
<div style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Cc:<span class="m_3197864454461300565Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">Carlos
 Grohmann <<a href="mailto:carlos.grohmann@gmail.com" target="_blank">carlos.grohmann@gmail.com</a>>, "grass-user\@<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.osgeo.org&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=XA6yReZT2BoAaNeg126zooD8EtmwRkQ-7rwLzxODg7I&s=yZDoUcNj1d74AFJRYotWx_ewnwtaFx97LQBYr0ErH_s&e=" target="_blank">lists.osgeo.org</a>"
 <<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>><br>
</span></div>
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Hi
 Adam,</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I'm
 glad to hear you got GRASS working on OS X w/ MacPorts. That is the system I use too. I recently switched from HomeBrew. I got GRASS working with fink too, but prefer MacPorts, although there are some MacPort-specific issues if you want to use the temporal
 framework.</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I
 found it helpful to set GRASS_PYTHON and have it pointing to</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">export
 GRASS_PYTHON=/opt/local/bin/python2.7</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I
 don't like installing 3rd-party frameworks, so I also have QGIS installed via MacPorts and it works well.</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">For
 GRASS, I had to "sudo port install gdal +netcdf" in order to be able to read in NetCDF files. For QGIS I did "sudo port install QGIS +qt4 +grass".</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"> -k.</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">On
 2018-01-14 at 00:37, Adam Dershowitz <</span><a href="mailto:adershowitz@exponent.com" style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">adershowitz@exponent.com</a><span style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">>
 wrote:</span><br style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<blockquote type="cite" style="font-family:BitstreamVeraSerif-Roman;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Thanks, but…I use Macports for a bunch of things, and homebrew and<br>
maports don’t play well together. So, I can’t easily do that. I did<br>
get the macports version to work after I asked the question. It was<br>
actually just due to the fact that I have been using the Kyngchoas<br>
version for a long time, and that used to require that GRASS_PYTHON be<br>
set in .bash_profile. But, I had set it to point to an old directory a<br>
while back, and that folder didn’t exist. So, I just had to delete<br>
that environmental variable and the macports version now works fine.<br>
And, the Kyngchaos version of qgis does seem to work fine.<br>
<br>
Thanks for the suggestion. I suppose that it would be useful to have<br>
working binaries to avoid these kinds of issues.<br>
</blockquote>
<br class="m_3197864454461300565Apple-interchange-newline">
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>