I'm trying to compile GRASS on Mac OS 10.2. I had to disable several things to get ./configure to not raise errors:
[Chiclet:~/Desktop/grass-5.0.1_src/grass5.0.1] anton% ./configure --without-tiff --without-png --without-gd --without-postgres --with-opengl-libs=/usr/X11R6/lib --with-opengl-includes=/usr/X11R6/include --without-odbc
The only warning in configure's output was: configure: warning: *** Unable to locate iconv() function.
Make exits with:
[Chiclet:~/Desktop/grass-5.0.1_src/grass5.0.1] anton% make
test -d /Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/dist.powerpc-apple-darwin6.5 || mkdir -p -m 755 /Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/dist.powerpc-apple-darwin6.5
test -d /Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/bin.powerpc-apple-darwin6.5 || mkdir -p -m 755 /Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/bin.powerpc-apple-darwin6.5
test -d src/CMD/next_step || mkdir -p -m 755 src/CMD/next_step
test ! -f src/CMD/head/head || mv src/CMD/head/head src/CMD/head/head.powerpc-apple-darwin6.5
GRASS_BIN=/Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/bin.powerpc-apple-darwin6.5 SRC=/Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1 MAKE=make NAME_VER= GISBASE=/Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/dist.powerpc-apple-darwin6.5 MACHINENAME=`uname -n` /bin/sh src/CMD/generic/CREATE_GMAKE.sh powerpc-apple-darwin6.5 /Volumes/Users/anton/Desktop/grass-5.0.1_src/grass5.0.1/bin.powerpc-apple-darwin6.5
src/CMD/generic/CREATE_GMAKE.sh: src/CMD/generic/CREATE_GMAKE.sh: No such file or directory
make: *** [pre-compile] Error 127
And indeed said file and directory do not exist:
[Chiclet:~/Desktop/grass-5.0.1_src/grass5.0.1] anton% ls src/cmd/*
src/cmd/head:
head.powerpc-apple-darwin6.5
src/cmd/lists:
optional
src/cmd/next_step:
Might anyone know what CREATE_GMAKE.sh does, why I don't have one, and whether there's a way around this?
Thanks,
Anton.