php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #704 "configure" is not compatible with PostgreSQL RPM
Submitted: 1998-08-30 06:01 UTC Modified: 1998-09-11 09:00 UTC
From: bstudios at zdnetmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.3 OS: Red Hat Linux 5.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bstudios at zdnetmail dot com
New email:
PHP Version: OS:

 

 [1998-08-30 06:01 UTC] bstudios at zdnetmail dot com
The PHP3 configure script makes incorrect assumptions about the location of LIB and INCLUDE paths for PostgreSQL 6.3.x (and earlier ?) on Red Hat Linux 5.x (and earlier ?). When PostgreSQL is installed using the RPM packages provided by Red Hat, the INCLUDE directory is /usr/include/pgsql and the LIB directory is /usr/lib. configure assumes that both directories are braches off a common directory, as in /BASE/DIRECTORY/include and /BASE/DIRECTORY/lib.

I fixed the problem by changing the configure script to default to the RPM-provided paths, but those changes will probably break the script on other non-RPM operating systems. Perhaps a more flexible solution would be for configure to check for the existance of the RPM paths indicated above, and use them if available, otherwise fall back to the /BASE/DIRECTORY/... configuration that you use now.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-11 09:00 UTC] zeev
--with-pgsql supports an optional argument to specify the location of your PostgreSQL installation.  In your case,
it would be /usr, instead of the default /usr/local/pgsql.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 14:01:34 2025 UTC