PHP 4.0 Bug #8053: PGSQL doesn't detects on FBSD4
| From: | zds at step dot nnov dot ru | Date: | Thu, 30 Nov 2000 14:45:21 +0000 |
| Subject: | PHP 4.0 Bug #8053: PGSQL doesn't detects on FBSD4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39707@lists.php.net to get a copy of this message | ||
From: zds@step.nnov.ru
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