[GRASS-dev] test of compiling GRASS Mac under El Capitan - very strange results

Michael Barton Michael.Barton at asu.edu
Sun Sep 11 18:11:00 PDT 2016


I just tried all 3 versions of GRASS I compiled this week on my MacBook laptop. All three versions were compiled in exactly the same way with the same environment, as I have been compiling for a couple years now: dual 32/64 bit architecture, wxPython 2.8.12 (32 bit). No change to frameworks either.

The MacBook is running El Capitan. I had previously turned off SIP and it was running all versions of GRASS I compiled several months back. I recently updated the OS and apparently SIP was re-enabled. My laptop no longer will run the versions of GRASS I compiled several months back.

But weirdly it WILL run some of the versions I compiled this week. Or let us say that it mostly runs those versions.

7.0.5svn
Starts up with the error:

Unable to import pyGRASS: grass_gis.7.0.5svn not found.
Some functionality will be not accessible

No other problems. It appears to be running wxPython 2.8.12, and is running Python 32 bit as expected.

But there is no 3D mode and no vector digitizer. In the console are the errors:

3D view mode not available
Reason: grass_gis.7.0.5svn not found.
Vector digitizer not available
Reason: cannot import name GV_LINES
Note that the wxGUI's vector digitizer is currently disabled
(hopefully this will be fixed soon). Please keep an eye out
for updated versions of GRASS. In the meantime you can use
"v.digit" from the Develop Vector menu.

The rest of GRASS seems to work fine--even though SIP is enabled.

GRASS 7.2svn
Seems to function much as 7.0.5svn, except that it has a raster digitizer enabled. And it also has the looks of running wxPython 3.0.2.0 (even the errors, like no mouse control on specialized pull down lists)--even though Python reports that it running 32 bit. I'm not sure how to check which version of wxPython GRASS is running.

GRASS 7.3
Fails to launch with the following error:

ImportError: /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)

This is different from the error I get from trying to launch older versions with SIP enabled. But the SIP launch errors are misleading and differ on different systems sometimes.


I will re-disable SIP on the MacBook now and test again. But it would be good if someone else could test these with SIP enabled El Capitan to see if we are close to a useable version under Apples new (and soon to be updated) OS.

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 Sep 8, 2016, at 1:33 PM, Michael Barton <michael.barton at asu.edu<mailto:michael.barton at asu.edu>> wrote:

I finally have a test Mac with El Capitan on it to see if it can compile GRASS. It looks like it does so with no problem. If anyone is able and would like to test it, I've compiled builds fresh from the SVN today of GRASS 7.0, 7.2, and 7.3 and put them into a sharable dropbox folder at:

https://www.dropbox.com/sh/4t0h1x8xwz9qnlh/AACFl4WQNtUPSAPtFE4Eg1Eua?dl=0

These do NOT fix any problems with SIP on the Mac, nor do they use wxPython 3. I just need to make sure I can compile things as they are now if I upgrade my computer to the current OS.

If others have no problem with these, I will post them to the GRASS for Mac website.

Thanks
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<http://csdc.asu.edu/>
















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


More information about the grass-dev mailing list