ID: 35911
User updated by: mberg at synacor dot com
Reported By: mberg at synacor dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Red Hat Linux 7.2 (ish)
PHP Version: 4.4.1
New Comment:
It tries to include pg_config.h and the compile fails.
Previous Comments:
------------------------------------------------------------------------
[2006-01-05 22:08:18] [EMAIL PROTECTED]
and the result of this is... ?
------------------------------------------------------------------------
[2006-01-05 22:06:43] mberg at synacor dot com
Description:
------------
config.m4 incorrectly assumes that the existence of pg_config binary
implies existence of pg_config.h:
if test -n "$PG_CONFIG"; then
AC_MSG_RESULT([$PG_CONFIG])
PGSQL_INCLUDE=`$PG_CONFIG --includedir`
PGSQL_LIBDIR=`$PG_CONFIG --libdir`
AC_DEFINE(HAVE_PG_CONFIG_H,1,[Whether to have pg_config.h])
Removing the AC_DEFINE corrects the issue.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35911&edit=1