GRASS-GIS 開発版、バージョン7のコンパイル その3

id:Say-no:20120130#1327939635 、 id:Say-no:20120130:1327939635 の続き

メモ

CFLAGS="-O3 -Wall -Werror-implicit-function-declaration -fno-common -fopenmp" LDFLAGS="-lgomp" ./configure --with-tcltk-includes="/usr/include/tcl8.5" --with-freetype-includes="/usr/include/freetype2" --with-openmp="yes" --with-wxwidgets="yes" --with-X11="yes" --enable-debug --enable-64bit --with-libs=/usr/lib --with-cxx --with-readline --enable-largefile=yes --with-proj-share=/usr/share/proj/ --with-geos=/usr/local/bin/geos-config --with-cairo --with-postgres=yes --with-sqlite=yes --with-python=yes --with-opengl-libs=/usr/include/GL --with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale"

で、

checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes... 
checking for libpq-fe.h... no
configure: error: *** Unable to locate PostgreSQL includes.

って言われる。