<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi -<div><br></div><div>I'm trying to install GRASS 7.0 on OS X 10.6.3 and ran into some problems:</div><div><br></div><div>First some errors during the make process</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><i>GRASS GIS compilation log</i></div><div><i><br></i></div><div><i>Started compilation: Fri May  7 09:22:05 EDT 2010</i></div><div><i><br></i></div><div><i>&nbsp;Errors in:&nbsp;</i></div><div><i>/Users/stu/grass_trunk/gui/wxpython&nbsp;</i></div><div><i>/Users/stu/grass_trunk/visualization/nviz&nbsp;</i></div><div><i><br></i></div><div><i>&nbsp;In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.&nbsp;</i></div><div><i><br></i></div><div>I followed the instructions and get no errors on the first 're-make' and the following on the second:</div><div><br></div><div><div><i>SEsMacPro:grass_trunk stu$ cd visualization/nviz</i></div><div><i>SEsMacPro:nviz stu$ make</i></div><div><i>make -C src</i></div><div><i>gcc &nbsp;-g -O2 &nbsp; -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include -I/Users/stu/grass_trunk/dist.i386-apple-darwin10.3.0/include &nbsp;-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 &nbsp;-I/Library/Frameworks/GDAL.framework/Versions/1.6/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include &nbsp;-DPACKAGE=\""grassmods"\" &nbsp; -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</i></div><div><i>In file included from /Library/Frameworks/Tk.framework/Headers/tkMacOSX.h:34,</i></div><div><i>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from togl.c:53:</i></div><div><i>/Library/Frameworks/Tk.framework/Headers/tkPlatDecls.h:107: error: expected ‘)’ before ‘*’ token</i></div><div><i>/Library/Frameworks/Tk.framework/Headers/tkPlatDecls.h:152: error: expected ‘)’ before ‘*’ token</i></div><div><i>/Library/Frameworks/Tk.framework/Headers/tkPlatDecls.h:153: error: expected ‘;’ before ‘GWorldPtr’</i></div><div><i>togl.c: In function ‘Togl_CreateWindow’:</i></div><div><i>togl.c:2221: warning: cast to pointer from integer of different size</i></div><div><i>togl.c:2338: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)</i></div><div><i>togl.c: In function ‘Togl_EventProc’:</i></div><div><i>togl.c:2594: warning: ‘AGLDrawable’ is deprecated</i></div><div><i>togl.c:2596: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)</i></div><div><i>togl.c:2610: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)</i></div><div><i>togl.c: In function ‘Togl_LoadBitmapFont’:</i></div><div><i>togl.c:3143: warning: ‘aglUseFont’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:374)</i></div><div><i>make[1]: *** [OBJ.i386-apple-darwin10.3.0/togl.o] Error 1</i></div><div><i>make: *** [default] Error 2</i></div><div><i><br></i></div><div>make install creates the GRASS-7.0.app but on opening there is the following error:</div><div><br></div><div><div><i>SEsMacPro:~ stu$ '/Applications/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit</i></div><div><i>Rebuilding Addon HTML manual pages index...</i></div><div><i>cp: /Applications/GRASS-7.0.app/Contents/MacOS/docs/html/grass_icon.png: No such file or directory</i></div><div><i>Rebuilding Addon menu...</i></div><div><i>Python 2.6.4 found.</i></div><div><i>/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</i></div><div><i>/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</i></div><div><i>logout</i></div><div><br></div><div>Seems that at some point an Init.sh file should have been created but doesn't exist.&nbsp;</div><div>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?</div><div><br></div><div>Thanks for any assistance --</div><div><br></div><div>Stu</div></div><div><br></div></div><div><br></div><div><br></div><div><br></div></body></html>