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

Adam Dershowitz adershowitz at exponent.com
Mon Jun 6 12:30:34 PDT 2016


It looks like you got the libintl.8.dylib corrected from the earlier version.  But, not the other issues.  I again, tried to just change the paths by doing this:


install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_gdi_.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_windows_.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_controls_.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_misc_.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_combo.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_aui.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_html.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_gizmos.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_stc.so

$ install_name_tool -change @loader_path/../../../../libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/lib/libwx_osx_cocoau-3.0.0.2.0.dylib /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_wizard.so

And, with those changes it does start up, but still gives this error


Starting GRASS GIS...

Unable to import pyGRASS: grass_gis.7.3.svn not found.

Some functionality will be not accessible


And still doesn’t have the 3D menu item, or vector.  It just has 2D and Raster digitizer.


-- Adam


From: grass-user <grass-user-bounces at lists.osgeo.org<mailto:grass-user-bounces at lists.osgeo.org>> on behalf of Adam Dershowitz <adershowitz at exponent.com<mailto:adershowitz at exponent.com>>
Date: Monday, June 6, 2016 at 3:15 PM
To: Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>>
Cc: GRASS users <grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>>, Helena Mitasova <hmitaso at unity.ncsu.edu<mailto:hmitaso at unity.ncsu.edu>>, GRASS developers <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>
Subject: Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

I just downloaded it, and tried it.  No luck.  It still doesn’t find the libraries that it needs:


'/Applications/GRASS-7.3.app/Contents/MacOS/grass.sh'; exit

Rebuilding Addon HTML manual pages index...

Rebuilding Addon menu...

Python 2.7.10 found.

Cleaning up temporary files...

Starting GRASS GIS...

Traceback (most recent call last):

  File "/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/gis_set.py", line 31, in <module>

    from core import globalvar

  File "/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/core/globalvar.py", line 96, in <module>

    import wx

  File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/__init__.py", line 45, in <module>

    from wx._core import *

  File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core.py", line 4, in <module>

    import _core_

ImportError: dlopen(/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so, 2): Library not loaded: /usr/local/lib/wxPython-3.0.2.0/lib/libwx_osx_cocoau-3.0.0.2.0.dylib

  Referenced from: /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so

  Reason: image not found

ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.

On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.

To run GRASS GIS in text mode use the -text flag.

Exiting...

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

Deleting expired sessions...none found.


[Process completed]


-- Adam


From: Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>>
Date: Monday, June 6, 2016 at 2:50 PM
To: Adam Dershowitz <adershowitz at exponent.com<mailto:adershowitz at exponent.com>>
Cc: GRASS developers <grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>>, GRASS users <grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>>, Helena Mitasova <hmitaso at unity.ncsu.edu<mailto:hmitaso at unity.ncsu.edu>>, Anna Petrášová <kratochanna at gmail.com<mailto:kratochanna at gmail.com>>
Subject: Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

Adam and others,

Yet another GRASS 64 bit. I just uploaded to the GRASS for Mac site.

I tried something else. I am hoping that this works with SIP enabled in El Capitan and does not add Anaconda as a required dependency.

If you have a chance, give it a try.

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=CwMF-g&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=EptVyHvN5Hy-kJAyE5zVpjKVi-Hj12JwOOKM6yUgzF0&s=34kfotLDUf5mRfMlJY9uXiBzLxZFhHfdFsRiE5hwz0s&e=>, http://csdc.asu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwMF-g&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=EptVyHvN5Hy-kJAyE5zVpjKVi-Hj12JwOOKM6yUgzF0&s=M_LT_GhsO_-fWH5lR5tqThIl7ZwPXZN68wY9zdZVpwM&e=>






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160606/da93154b/attachment-0001.html>


More information about the grass-user mailing list