<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>I don’t understand why that should matter.  It Is great that it is packaged with the whole combination to run in different configurations.  But, does GRASS then write to /usr at runtime?  Can’t it just run the correct library from in the Application package?
  </div>
<div>Or is there something about SIP beyond protection against writing to a few key folders?  </div>
<div>Just to be clear, I’m not trying to be the last bit accusatory, but I’m just curious about understanding the problem.  If all of the correct included versions of libraries are included in the application package, then the issue should just be about pointing
 to the correct dynamic libraries.  Why should SIP care about that at all?</div>
<div>
<div><br>
</div>
<div>-- Adam</div>
<div><br>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Michael Barton <<a href="mailto:Michael.Barton@asu.edu">Michael.Barton@asu.edu</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, March 15, 2016 at 9:36 AM<br>
<span style="font-weight:bold">To: </span>Carlos Guâno Grohmann <<a href="mailto:carlos.grohmann@gmail.com">carlos.grohmann@gmail.com</a>><br>
<span style="font-weight:bold">Cc: </span>Adam Dershowitz <<a href="mailto:adershowitz@exponent.com">adershowitz@exponent.com</a>>, Rainer M Krug <<a href="mailto:Rainer@krugs.de">Rainer@krugs.de</a>>, grass-user grass-user <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>>,
 William Kyngesburye <<a href="mailto:kyngchaos@kyngchaos.com">kyngchaos@kyngchaos.com</a>>, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [GRASS-user] GRASS GIS 7.03 for Mac OS X, problem with wxPython (missing)<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
The reason is that I (and William) package some key dependencies with the binary. The most important is wxPython, which is required by the GUI. If a user does not have exactly the same version of wxPython used to compile the binary, the GUI will fail. Making
 this more complicated is the fact that the only versions of wxPython that work completely correctly with Mac GRASS are 32 bit. But some other components are 64 bit. This means that I need to compile GRASS with 32/64 bit dual architecture. So this is a consequence
 of making binaries that run on anyone's Mac (except the newest system with SIP enabled).
<div class=""><br class="">
</div>
<div class="">Michael<br class="">
<div class="">
<div apple-content-edited="true" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<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; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
____________________</div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">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; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">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; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div class=""><font face="Helvetica" size="3" class="">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; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">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; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<font face="Helvetica" size="3" class=""><font class="">voice:  </font><font class="">480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)</font><br class="">
<font class="">fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)</font><br class="">
</font>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">www: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwMGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=N34HRpJ-bC99jAGZ6tcCUmsLYWp4ag3ao63cVcQxtas&s=OOfq3SrregbqJyJJsSRq_KnX6v97McV_ZatMot9KoUo&e=" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwMGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=N34HRpJ-bC99jAGZ6tcCUmsLYWp4ag3ao63cVcQxtas&s=aW2Qzkj3CbpJ_WG702f-HFbsFcbHaDAMFuOnfIPKnto&e=" class="">
http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 15, 2016, at 3:14 PM, Carlos Grohmann <<a href="mailto:carlos.grohmann@gmail.com" class="">carlos.grohmann@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">I run GRASS on OSX El Capitan (with SIP disabled). I don't think that setting up a CLI-only version would be a solution as well. As Rainer said, other software runs natively (see QGIS) and they don't have any problems with OSX/SIP. We
 should look into that.
<div class=""><br class="">
</div>
<div class="">I don't understand why GRASS is offending SIP. Perhaps we should seek out for help from others. Maybe Apple itself. </div>
<div class=""><br class="">
</div>
<div class="">One point is that we need to disable SIP for the binary provided by Michael Barton, but not if you compile it from source (or using homebrew), so this could be fixable by changing paths, like Adam suggested. Homebrew uses /usr/local, why can't
 we?</div>
<div class=""><br class="">
</div>
<div class="">best</div>
<div class=""><br class="">
</div>
<div class="">Carlos</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Tue, Mar 15, 2016 at 9:51 AM, Adam Dershowitz <span dir="ltr" class="">
<<a href="mailto:adershowitz@exponent.com" target="_blank" class="">adershowitz@exponent.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, SIP is a new security feature that prevents any applications from<br class="">
writing to a few key OS paths.  I believe that it really is that simple.<br class="">
(see:  <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__support.apple.com_en-2Dus_HT204899&d=CwMGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=N34HRpJ-bC99jAGZ6tcCUmsLYWp4ag3ao63cVcQxtas&s=a-oC6gCKpo7blZOUSNUaANduhi07GUVwoFKvZ6jYnoI&e=" rel="noreferrer" target="_blank" class="">
https://support.apple.com/en-us/HT204899</a> )<br class="">
Which, does beg the questionŠwhy does running GRASS require writes to any<br class="">
of these folders?  That suggests that GRASS is doing something that it<br class="">
shouldn¹t be doing.  Why should it be writing to system folders at all at<br class="">
runtime?<br class="">
It is the only application that I have run into that has any problems with<br class="">
SIP.  It would seem that this should be an easy fix.  (for example just<br class="">
use /usr/local instead of /usr, or whatever the problem folder is).<br class="">
<br class="">
<br class="">
-- Adam<br class="">
<br class="">
</blockquote>
</div>
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature">
<div dir="ltr" class="">Prof. Carlos Henrique Grohmann<br class="">
Institute of Energy and Environment - Univ. of São Paulo, Brazil
<div class="">- Digital Terrain Analysis | GIS | Remote Sensing - </div>
<div class=""><br class="">
</div>
<div class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__carlosgrohmann.com_&d=CwMGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=N34HRpJ-bC99jAGZ6tcCUmsLYWp4ag3ao63cVcQxtas&s=Ew41-e1ZzKaTM31cbqiTRNAw8p0Nb7GbyHm68N9MRdM&e=" target="_blank" class="">http://carlosgrohmann.com</a></div>
<div class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__orcid.org_0000-2D0001-2D5073-2D5572&d=CwMGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=N34HRpJ-bC99jAGZ6tcCUmsLYWp4ag3ao63cVcQxtas&s=mlnJnRzf0pkSB_QcSB1g227Y2mS-F8hTxtOrvzdiae4&e=" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank" class="">http://orcid.org/0000-0001-5073-5572</a><br class="">
<div class="">________________<br class="">
Can’t stop the signal.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</span>
</body>
</html>