[GRASS-dev] [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

Michael Barton Michael.Barton at asu.edu
Wed Dec 7 09:37:29 PST 2016


Not yet. Working with a programmer here I think there is a way to do it, but I will need help to implement it.

Our idea is to:

1) switch to the new (current) Apple binary install protocol. The one we use is deprecated.
2) compile all dependencies outside of /usr/... and in locales not affected by SIP
3) package ALL dependencies (including frameworks) in a single installation package

If nothing else, it will make installation easier and more reliable with respect to dependencies.

#2 would be helped considerably if we could solve the few remaining issues with wxPython 3 and switch all to 64 bit.

In the midst of the academic year, I don't have time to do a lot of trial and error compiling, but can squeeze in time to test alternative methods.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Dec 7, 2016, at 7:26 AM, Adam Dershowitz <adershowitz at exponent.com<mailto:adershowitz at exponent.com>> wrote:

Michael,

Was there ever a solution found to running GRASS on the Mac (10.11 or now 10.12) without disabling SIP?

Thanks,


-- Adam


From: grass-user <grass-user-bounces at lists.osgeo.org<mailto:grass-user-bounces at lists.osgeo.org>> on behalf of Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>>
Date: Wednesday, June 1, 2016 at 7:50 PM
To: GRASS developers list <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>, grass-user grass-user <grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>>
Subject: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

I just posted a new binary for GRASS 7.3 built fully 64 bit, with wxPython 3.0.2.0 to the GRASS for Mac site (http://grassmac.wikidot.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__grassmac.wikidot.com&d=CwMFAg&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=g-_vMK6bUb2L_0yJaa2OvFkqicaKTyNnPnCZOxN-i6s&s=jF8bboxVJboLDUrCG5V5xobtx6ig-JEF92VM_t_MXA4&e=>)

It turns out the previous "64bit" GRASS binary still ran 32bit Python. I had to hack the python_wrapper.py file, but this one is fully 64bit AFAICT. I also tried some hacks that might be a way to solve the inability to run GRASS on El Capitan with SIP enabled. There are a couple of known bugs in the wxPython 3.x GUI

1. The most serious is switching to 3D mode and back to 2D mode leaves one of the map display menu buttons corrupted. It seems the only thing you can do is to close the map display and open a new one.

2. There are also some popup lists (e.g., for switching mapsets) that do not behave as they should. You cannot select an item with a mouse (but you can select with arrow keys and <return>) unless you hit <escape> to destroy part of the control. Then you can use the mouse to click something.

Please let us know if you encounter any other bug or strange behavior.

Also,  and importantly if anyone is running El Capitan, it would be great if you could reenable SIP (if you've turned it off) and see if this version runs.  Of course, maybe I've "fixed" it so that it only runs on my system and crashes on everyone else's.

Enjoy!
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwMFAg&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=g-_vMK6bUb2L_0yJaa2OvFkqicaKTyNnPnCZOxN-i6s&s=DWmxIXQue0rzESF_0QnhgEylY9V-yUIeg1aKl9gQ9Yc&e=>, http://csdc.asu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwMFAg&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=g-_vMK6bUb2L_0yJaa2OvFkqicaKTyNnPnCZOxN-i6s&s=4wxcas1zdXuTlR2aqJsCv88HfPWUcHLeed-Z1RQ1svE&e=>
















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20161207/ffc0a952/attachment-0001.html>


More information about the grass-dev mailing list