[PHP-DEV] PHP 4.0 Bug #8053: PGSQL doesn't detects on FBSD4 From: zds <email protected>
Date: 11/30/00

From: zds <email protected>
Operating system: FreeBSD 4.0RELEASE
PHP version: 4.0.3pl1
PHP Bug Type: PostgreSQL related
Bug description: PGSQL doesn't detects on FBSD4

I try to configure PHP4 for work with PostgreSQL server (v7.0.2) with
the following line:
./configure --with-apache=../apache --with-mod_charset --enable-bcmath \
--enable-calendar --enable-sockets --enable-ftp --with-pgsql
After running this, I find in log, that detection of PGSQL failed.
config.log contains:
gcc -o conftest -g -O2 conftest.c -L/usr/local/pgsql/include -lpq -l
-lm -lcrypt 1>&5
This line is incorrect, and I don't know, why $LIBS is formed in such
way.

I have PostgreSQL installed at /usr/local/pgsql in standart
configuration. Version of FreeBSD used is a 4.0-Release.

PS I haven't MySQL, but PHP4 tries to process libmysql directory make.
It is correct ?
PPS FreeBSD >=4.0 HAS pthread library. But it must be included as a
-lpthread. Your configure doesn't detect this library (at least on my
machine).
PPPS Sorry for my worst english.

-- 
Edit Bug report at: http://bugs.php.net/?id=8053&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>