Recently I installed the El Capitan upgrade but unfortunately Grass 7 (from the official repository - Grass Gis for Mac) does not start any more. I also re-installed all required frameworks, but I had always the same and unique error message:
MacBook-Pro-di-Pankus:~ pankus$ '/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
Rebuilding Addon HTML manual pages index...
Rebuilding Addon menu...
Python 2.7.10 found.
Cleaning up temporary files...
Sto avviando GRASS GIS...
dyld: Library not loaded: /usr/local/lib/libintl.8.dylib
Referenced from: /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.1.dylib
Reason: image not found
Traceback (most recent call last):
File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/gis_set.py", line 31, in <module>
from core import globalvar
File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/globalvar.py", line 29, in <module>
from core.debug import Debug
File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 66, in <module>
Debug = DebugMsg()
File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 37, in __init__
self.SetLevel()
File "/Applications/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/debug.py", line 42, in SetLevel
self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 934, in gisenv
s = read_command("g.gisenv", flags='n')
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 442, in read_command
process = pipe_command(*args, **kwargs)
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 417, in pipe_command
return start_command(*args, **kwargs)
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 355, in start_command
if debug_level() > 0:
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 1517, in debug_level
_debug_level = int(gisenv().get('DEBUG', 0))
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 934, in gisenv
s = read_command("g.gisenv", flags='n')
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 445, in read_command
return handle_errors(returncode, stdout, args, kwargs)
File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/python/grass/script/core.py", line 312, in handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: L'esecuzione del modulo None ['g.gisenv', '-n'] è terminata con errori
Processo terminato con codice di return diverso da zero -5. Vedi gli errori nel (error) output.
Errore nell'avvio della GUI. Se necessario, riportare l'errore agli sviluppatori di GRASS.
Avvio della modalità testuale.
Premere invio per continuare...
Traceback (most recent call last):
File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 1430, in <module>
set_data()
File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 675, in set_data
gui_startup(grass_gui == 'gtext')
File "/Applications/GRASS-7.0.app/Contents/MacOS/grass70", line 697, in gui_startup
os.execlp(cmd_name, "-text")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 329, in execlp
execvp(file, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 346, in execvp
_execvpe(file, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 382, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Processo completato]
Apparently it misses the libintl.8.dylib library. Thus I created a link as it is described in this page:
sudo ln -s /Applications/GRASS-7.0.app/Contents/MacOS/lib/libintl.8.dylib /usr/local/lib/
I did not solved the issues since there is a different missing library, i.e. libwx_baseu-2.8.0.dylib. Did anyone had success in installing Grass 7 under El Capitan?
As far as I can tell, they work with Mac OS X version 10.7 (AKA "Lion") through 10.10
. Unfortunately, you are ahead of the developers :-( Probably similar to gis.stackexchange.com/questions/165377/…