I thought I would use better formating so that you can read what's going on.
Thanks
[nsadmin@caribbean Search-OpenFTS-tcl-0.2]$ ./configure --with-pgsql=/usr/local/pgsql
--with-aolserver-src=/usr/local/sr
c/aolserver/aolserver
loading cache ./config.cache
checking prefix... /usr/local
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for working const... yes
checking for ANSI C header files... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for strerror... yes
checking for strstr... yes
checking for strlen... yes
checking platform specific compile options... linux
checking looking for aolserver ns.h include file... /usr/local/src/aolserver/aolserver/include/ns.h
checking looking for aolserver nsd.h include file... /usr/local/src/aolserver/aolserver/nsd/nsd.h
checking looking for libtcl8... /usr/local/src/aolserver/aolserver/tcl8.3.2/unix/libtcl8.3g.a
checking looking for libthread... /usr/local/src/aolserver/aolserver/thread/libnsthread.a
checking looking for postgresql include files... configure: error: couldn't find
postgresql include files