[GRASS-user] GRASS 7.0 - OS X install problem
William Kyngesburye
woklist at kyngchaos.com
Fri May 7 11:27:32 EDT 2010
On May 7, 2010, at 10:05 AM, Stuart Edwards wrote:
> Hi -
>
> I'm trying to install GRASS 7.0 on OS X 10.6.3 and ran into some problems:
>
> SEsMacPro:grass_trunk stu$ cd visualization/nviz
> SEsMacPro:nviz stu$ make
> make -C src
> gcc -g -O2 -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -D_FILE_OFFSET_BITS=64 -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/PrivateHeaders -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/PrivateHeaders -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -I/Library/Frameworks/UnixImageIO.framework/unix/include -I/Library/Frameworks/GDAL.framework/Versions/1.6/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -DPACKAGE=\""grassmods"\" -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -o OBJ.i386-apple-darwin10.3.0/togl.o -c togl.c
> In file included from /Library/Frameworks/Tk.framework/Headers/tkMacOSX.h:34,
> from togl.c:53:
> /Library/Frameworks/Tk.framework/Headers/tkPlatDecls.h:107: error: expected ‘)’ before ‘*’ token
> /Library/Frameworks/Tk.framework/Headers/tkPlatDecls.h:152: error: expected ‘)’ before ‘*’ token
> /Library/Frameworks/Tk.framework/Headers/tkPlatDecls.h:153: error: expected ‘;’ before ‘GWorldPtr’
I'm not sure what's wrong with this one. I can take a closer look tonight.
> make install creates the GRASS-7.0.app but on opening there is the following error:
>
> SEsMacPro:~ stu$ '/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
> Rebuilding Addon HTML manual pages index...
> cp: /Applications/GRASS-7.0.app/Contents/MacOS/docs/html/grass_icon.png: No such file or directory
> Rebuilding Addon menu...
> Python 2.6.4 found.
> /Applications/GRASS-7.0.app/Contents/MacOS/grass.sh: line 220: /Applications/GRASS-7.0.app/Contents/MacOS/etc/Init.sh: No such file or directory
> /Applications/GRASS-7.0.app/Contents/MacOS/grass.sh: line 220: exec: /Applications/GRASS-7.0.app/Contents/MacOS/etc/Init.sh: cannot execute: No such file or directory
> logout
>
> Seems that at some point an Init.sh file should have been created but doesn't exist.
> I note that the 7.0.app is about 37 Mb and the 6.4.app weighs in at 144 Mb - does that make sense?
I haven't looked at GRASS 7 on OS X in a while. It's possible the init.sh thing has changed radically. I'll take a look and see what's up.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."
- the wisdom of Tarzan
More information about the grass-user
mailing list