I'm compiling grass 5.7.0 from the sources and I'm unable to find
how to include OpenGL.
I tried "--with-opengl-includes=/usr/X11R6/include/" because gl.h
"lives" in /usr/X11R6/include/GL/ but I received a message that gl.h
is not available.
I'm using Debian SID, and I also have the xlibmesa packages
installed on my system.
Does anybody knows which are the correct flags ?
Use 'apt-file search gl.h' to find what package it comes from:
Are the xlibmesa-gl-dev and xlibmesa-glu-dev packages installed?
GRASS 5.7 config for Debian:
get latest CVS version of GRASS 5.3
get latest CVS version of GRASS 5.7
CFLAGS="-march=pentium4 -Wall" ./configure \
--with-grass50=/usr/src/grass/grass53 \
--with-tcltk-includes=/usr/include/tcl8.3 \
--with-postgres-includes=/usr/include/postgresql \
--with-motif --with-motif-includes=/usr/X11R6/include \
--with-readline --with-gdal --with-cxx --with-glw \
--with-freetype --with-freetype-includes=/usr/include/freetype2 \
2>&1 | tee config_log.txt
make mix
make
To run GRASS 5.7, simply start
./bin.$ARCH/grass57
5.0.3 debian package reqs, Jan 22, 2004
gcc # for compile
libc6-dev # for basics
flex # for lex
bison # for yacc
libncurses5-dev # for curses
zlib1g-dev # zlib
libreadline4-dev # readline
libjpeg62-dev or libjpeg-mmx-dev # for JPEG support
libtiff3g-dev # for TIFF support
libpng12-dev # for PNG support
libgd2-xpm-dev # for GD 2.0 (unneed for GRASS > 5.0.x)
libg2-dev # for GD 2.0 (unneed for GRASS > 5.0.x)
tcl8.3-dev # for TCL
tk8.3-dev # for TK
postgresql # for Postgresql support ???
postgresql-dev # for Postgresql support ???
xlibmesa-gl-dev # for OpenGL
libstdc++5-3.3-dev # for glu-dev
xlibmesa-glu-dev # for OpenGL
unixodbc-dev # for ODBC
fftw-dev # for FFT functions
lesstif2-dev # for Motif
libgdal1 # for GDAL
libgdal1-dev # for GDAL
libfreetype6-dev # for Freetype Fonts
make # won't get far without this..
g++ # for r.terraflow
gdal-bin # for GDAL
proj # for PROJ.4
You can now use the GDAL and PROJ packages from Debian to compile GRASS.
By the way I'm very curious about what is for "fftw".
"Description: Library for computing Fast Fourier Transforms
This library computes FFTs in one or more dimensions. It
is extremely fast."
used in imagery modules, e.g. i.fft
Hamish