Alexander Lohse <al@humantouch.de> writes:
> make[3]: Entering directory `/root/php-4.0.4pl1/ext/pgsql'
> /bin/sh /root/php-4.0.4pl1/libtool --silent --mode=compile gcc -I.
> -I/root/php-4.0.4pl1/ext/pgsql -I/root/php-4.0.4pl1/main -I/rootp
> php-4.0.4pl1 -I/usr/include/apache -I/root/php-4.0.4pl1/Zend
> -I/usr/local/include -I/root/php-4.0.4pl1/ext/mysql/libmysql
> -I/root/ph-
> -4.0.4pl1/ext/xml/expat/xmltok
> -I/root/php-4.0.4pl1/ext/xml/expat/xmlparse -I/root/php-4.0.4pl1/TSRM
> -I/home/pgsql7/include -DLINUX=
> -DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI
> -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -X
> XML_BYTE_ORDER=12 -g -O2 -c pgsql.c
> In file included from pgsql.c:29:
> php_pgsql.h:32: postgres.h: No such file or directory
> make[3]: *** [pgsql.lo] Error 1
Change php_pgsql.h to refer to postgres_fe.h not postgres.h.
regards, tom lane