Compiling on MacOSX
To build Grass from source you can use the frameworks that are on : http://www.kyngchaos.com/software/unixport/frameworks great thanks to W.Kyngesbury
after install the "all frameworks" you can add some library such "motif" needed by Xganim, using fink or build the source code
install from source the tcl-tk library : http://www.tcl.tk/software/tcltk/downloadnow84.tml in /usr/local
download a cvs version http://grass.itc.it/download/index.php
then configure and make grass cvs :
cd /path_to_grass_source
./configure --prefix=/usr/local --enable-sysv --with-x --with-opengl=x11 --without-odbc --with-cxx --with-freetype
--with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include
--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib
--with-gdal=/Library/Frameworks/GDAL.framework/Versions/1.5/Programs/gdal-config
--with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include
--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib
--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4.5/unix/share/
--with-jpeg --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-tiff --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include
--with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib
--with-sqlite --with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include
--with-fftw --with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include
--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib
--with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib
--with-freetype --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include
--with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-python --with-readline
--with-readline-includes=/sw/include/readline --with-readline-libs=/sw/lib --with-tcltk-includes=/usr/local/include
--with-tcltk-libs=/usr/local/lib
--with-blas --with-blas-libs=/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
--with-lapack --with-lapack-libs=/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
--with-motif --with-motif-includes=/sw/include --with-motif-libs=/sw/lib --with-glw