php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8053 PGSQL doesn't detects on FBSD4
Submitted: 2000-11-30 09:45 UTC Modified: 2001-03-17 13:13 UTC
From: zds at step dot nnov dot ru Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.3pl1 OS: FreeBSD 4.0RELEASE
Private report: No CVE-ID: None
 [2000-11-30 09:45 UTC] zds at step dot nnov dot ru
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-16 08:42 UTC] kalowsky@php.net
I'm unable to reproduce this locally, if you could please provide some more information, or try a newer version and see if this continues.

As far as the mysql bit is concerned, the flag --without-mysql will help.  

Marking this as feedback until we hear otherwise.  
 [2001-03-17 13:13 UTC] sniper@php.net
User feedback:
--------------
It was a bug of 4.0.3plX version, with 4.0.4 it seems to be OK

-------------

Closed.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 16:01:29 2024 UTC