php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #742 Update of bug #704 -- pgsql include path errors
Submitted: 1998-09-13 04:16 UTC Modified: 1998-09-14 16:58 UTC
From: bstudios at zdnetmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.3 OS: Red Hat Linux 5.01
Private report: No CVE-ID: None
 [1998-09-13 04:16 UTC] bstudios at zdnetmail dot com
Please see bug #704 for the history of this problem.

In the response to my posting, the solution given was to specify the path to the PostgreSQL include files as "/usr". Unfortunately, that doesn't work, and no other *single* path does either. The script assumes that if a path is specified, then the corresponding include paths should be "<path>/include" and "<path>/lib". But for the Red Hat installation, that doesn't work.

If I pass in "/usr" then the resulting include paths are "/usr/include" and "/usr/lib". The actual paths are "/usr/include/pgsql" and "/usr/lib". So the LIB path is correct, but the INCLUDE path is wrong. And no path that I pass in will give me the correct INCLUDE path because it ends in "pgsql" not "include" as the script assumes.

I hope that clears up any confusion. Thank you.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-14 16:58 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 05:01:31 2024 UTC