I've already installed PHP with mysql no problems at all. I recently 
moved over to postgresql databases because I like them much better. When 
trying to configure it works fine no problems at all. When I start the 
compile with make I get this error message.
-->
Making all in pgsql
make[2]: Entering directory `/usr/local/php-4.0.4pl1/ext/pgsql'
make[3]: Entering directory `/usr/local/php-4.0.4pl1/ext/pgsql'
/bin/sh /usr/local/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/usr/local/php-4.0.4pl1/ext/pgsql -I/usr/local/php-4.0.4pl1/main 
-I/usr/local/php-4.0.4pl1 -I/var/lib/apache/include 
-I/usr/local/php-4.0.4pl1/Zend 
-I/usr/local/php-4.0.4pl1/ext/mysql/libmysql 
-I/usr/local/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/usr/local/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/usr/local/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=2 
-DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2  -c pgsql.c
pgsql.c:1818: unbalanced `#endif'
make[3]: *** [pgsql.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.0.4pl1/ext/pgsql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.0.4pl1/ext/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

I'm using this option with configure...--> ./configure 
--with-pgsql=/usr/local/pgsql --with-apxs=/var/lib/apache/sbin/apxs

Anybody know a fix for this. Thanks guys.


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to