I am not very good at this but you might wanna try -I (--include) compile option for the path ...../postgresql-8.x.x/src/include and try if it works ...
I am trying to install and compile libpq++ i get this error
configure: error: Can't find libpq-fe.h in . Are you sure the libpq headers are installed correctly? They should be in the directory returned by "pg_config --includedir".
If you do have libpq (the C-language client library for PostgreSQL) installed, make sure you have the related development materials--mainly its header files-- as well as the library binary. Some system distributions keep the two in seperate packages with names like "alibrary" and "alibrary-dev", respectively. In that case, make sure you have the latter installed as well.
i have cheacked pg_config --includedir it gave me a correct path also i checked the include directory i found the requsted header file there
regards
__________________________________________________ Do Y ou Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com