PHP and postgresql compile Prob???
| From: | Smileyq | Date: | Sat, 18 Aug 2001 19:38:34 +0000 |
| Subject: | PHP and postgresql compile Prob??? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4024@lists.php.net to get a copy of this message | ||
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.