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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 16:01:29 2024 UTC