Bug #704: "configure" is not compatible with PostgreSQL RPM
| From: | bstudios at zdnetmail dot com | Date: | Sun, 30 Aug 1998 10:01:01 +0000 |
| Subject: | Bug #704: "configure" is not compatible with PostgreSQL RPM | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-666@lists.php.net to get a copy of this message | ||
From: bstudios@zdnetmail.com
Operating system: Red Hat Linux 5.0
PHP version: 3.0.3
PHP Bug Type: Compile Failure
Bug description:
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.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net