Thanks to all for the help.
The postgresql message is now gone with the following modification:
./configure --with-postgres-includes=/usr/include/pgsql
HOWEVER...
now I get this message: failed to find FFTW includes.
-I searched for FFTW on my box with no results. 
-I also searched the configure script for hints.
Can anyone give me a hint as to what this does and to what I need to get it working?
Thanks!
Dan Gelinas wrote:
now I get this message: failed to find FFTW includes.
-I searched for FFTW on my box with no results. 
-I also searched the configure script for hints.
Can anyone give me a hint as to what this does and to what I need to
get it working?
FFTW is a library for performing fast-Fourier transforms, and is
available from www.fftw.org. It is used by i.fft, i.zc, i.shape and
r.surf.fractal; if you don't need any of those programs, then you can
disable it with configure's "--without-fftw" switch.
Information regarding optional libraries can be obtained from the
REQUIREMENTS.html file, which resides in the top-level directory of
the GRASS source tree.
--
Glynn Clements <glynn.clements@virgin.net>