I just updated from develbranch_6 after a couple of weeks. Here are some remaining problems in compiling and a showstopper with running GRASS.
1) vdigit: compiles fine now. BUT it probably keeps the wxPython GUI from running now (see below).
2) wxnviz: still doesn't compile but gets a bit farther if render.h is removed and make clean, make is run. Here is the error I get now.
cd /Users/cmbarton/grass_dev/grass6_src/lib/nviz
make
...
/Frameworks/UnixImageIO.framework/unix/include -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/include -o OBJ.i386-apple-darwin9.4.0/render.o -c render.c
render.c: In function ‘Nviz_create_render_window’:
render.c:139: warning: assignment makes pointer from integer without a cast
render.c:146: warning: assignment makes pointer from integer without a cast
render.c: In function ‘Nviz_make_current_render_window’:
render.c:204: error: ‘mac_win’ undeclared (first use in this function)
render.c:204: error: (Each undeclared identifier is reported only once
render.c:204: error: for each function it appears in.)
render.c:204: warning: ‘AGLDrawable’ is deprecated
make: *** [OBJ.i386-apple-darwin9.4.0/render.o] Error 1
3) i.attcorr no longer compiles. Here is the error.
cmb-MBP-2:nviz cmbarton$ cd /Users/cmbarton/grass_dev/grass6_src/imagery/i.atcorr
cmb-MBP-2:i.atcorr cmbarton$ make
Makefile:15: warning: overriding commands for target `/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/bin/i.atcorr'
../../include/Make/Module.make:14: warning: ignoring old commands for target `/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/bin/i.atcorr'
c++ -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/include -arch i386 -Os -g -DPACKAGE=\""grassmods"\" -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/include -o OBJ.i386-apple-darwin9.4.0/main.o -c main.cpp
main.cpp: In function ‘void process_raster(int, InputMask, ScaleRange, int, int, int, bool, ScaleRange, bool)’:
main.cpp:309: error: ‘isnan’ was not declared in this scope
make: *** [OBJ.i386-apple-darwin9.4.0/main.o] Error 1
4) After make install, GRASS will no longer start up in wxPython. It does the startup screen fine, but bombs when it tries to launch the main layer manager. Here is the error:
GRASS 6.4.svn (Spearfish60_test):~ > Fatal Python error: Interpreter not initialized (version mismatch?)
Note that I have changed nothing on my system since the last time it compiled and ran fine.
I suspect that an issue that William Kyngesbury recently mentioned may be the cause. vdigit, which compiles now, may do so incorrectly against the system version of Python (2.5.1) rather than the newer one that is my Python default (2.5.2). If so, the version check in the wxGUI startup kills it.
What is the easiest way to diable vdigit to test this?
Michael