I know this issue has been discussed, currently I can't find the
resolution. What needs to be done to the latest php release to get it
to successfully compile with the latest beta version of pgsql?
Below is the error I get when compiling php -
make[2]: Entering directory `/usr/local/etc/php-4.0.4pl1/ext/pgsql'
make[3]: Entering directory `/usr/local/etc/php-4.0.4pl1/ext/pgsql'
gcc -I. -I/usr/local/etc/php-4.0.4pl1/ext/pgsql
-I/usr/local/etc/php-4.0.4pl1/main -I/usr/local/etc/php-4.0.4pl1
-I/usr/local/etc/httpd/src/i
nclude -I/usr/local/etc/httpd/src/os/unix
-I/usr/local/etc/php-4.0.4pl1/Zend -I/usr/local/etc/mck331/c-api
-I/usr/local/mysql/include/mysql -I
/usr/local/etc/php-4.0.4pl1/ext/xml/expat/xmltok
-I/usr/local/etc/php-4.0.4pl1/ext/xml/expat/xmlparse
-I/usr/local/etc/php-4.0.4pl1/TSRM -I/us
r/local/pgsql/include -DXML_BYTE_ORDER=12 -g -O2 -c pgsql.c && touch
pgsql.lo
In file included from pgsql.c:29:
php_pgsql.h:32: postgres.h: No such file or directory
make[3]: *** [pgsql.lo] Error 1
make[3]: Leaving directory `/usr/local/etc/php-4.0.4pl1/ext/pgsql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/etc/php-4.0.4pl1/ext/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1