Bug #60718 [Fbk->Opn]: pgsql extension no longer compiles
| From: | long at ku dot edu | Date: | Wed, 11 Jan 2012 17:44:34 +0000 |
| Subject: | Bug #60718 [Fbk->Opn]: pgsql extension no longer compiles | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166370@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60718&edit=1
ID: 60718
User updated by: long at ku dot edu
Reported by: long at ku dot edu
Summary: pgsql extension no longer compiles
-Status: Feedback
+Status: Open
Type: Bug
Package: Compile Failure
Operating System: Red Hat Enterprise Linux AS rele
PHP Version: 5.3.9
Block user comment: N
Private report: N
New Comment:
rh-postgresql-devel-7.3.21-3
Previous Comments:
------------------------------------------------------------------------
[2012-01-11 17:43:23] pajoye@php.net
Which version of the libpg do you have?
------------------------------------------------------------------------
[2012-01-11 17:32:26] long at ku dot edu
Description:
------------
Somewhere between 5.3.6 and 5.3.9 the pgsql extension lost the ability to be compiled on systems
using older versions of postgresql. Here is my configure line:
#! /bin/sh
#
# Created by configure
CFLAGS='-O3' \
CXXFLAGS='-O3' \
LIBS='-lssl -lncurses' \
'./configure' \
'--enable-discard-path' \
'--with-openssl=shared' \
'--with-zlib=shared' \
'--enable-bcmath' \
'--with-bz2=shared' \
'--enable-calendar' \
'--with-curl=shared' \
'--enable-dba=shared' \
'--with-gdbm=shared' \
'--with-db4=shared' \
'--enable-dbase' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd=shared' \
'--enable-gd-native-ttf' \
'--enable-gd-jis-conv' \
'--with-gettext=shared' \
'--with-gmp=shared' \
'--with-imap=shared' \
'--with-kerberos' \
'--with-imap-ssl' \
'--with-ldap' \
'--enable-mbstring' \
'--with-mysql=/usr' \
'--with-ncurses=shared' \
'--with-oci8' \
'--with-pspell=shared' \
'--with-readline=shared' \
'--enable-shmop' \
'--with-snmp=shared' \
'--enable-sockets' \
'--with-sqlite=shared' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-wddx' \
'--with-freetype-dir' \
'--with-jpeg-dir' \
'--with-xpm-dir' \
'--with-apxs2=/usr/local/apache/bin/apxs' \
'--with-mysqli' \
'--enable-pdo=shared' \
'--with-pdo-mysql=shared' \
'--with-pdo-oci=shared' \
'--with-pdo-sqlite=shared' \
'--with-tidy' \
'--enable-soap=shared' \
'--enable-zip' \
'--with-pgsql' \
"$@"
When I run make I get:
/bin/sh /home/long/src/php-5.3.9-ap2/libtool --silent --preserve-dup-deps --mode=compile gcc
-Iext/pgsql/ -I/home/long/src/php-5.3.9-ap2/ext/pgsql/ -DPHP_ATOM_INC
-I/home/long/src/php-5.3.9-ap2/include -I/home/long/src/php-5.3.9-ap2/main
-I/home/long/src/php-5.3.9-ap2 -I/home/long/src/php-5.3.9-ap2/ext/date/lib
-I/home/long/src/php-5.3.9-ap2/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/kerberos/include
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap
-I/home/long/src/php-5.3.9-ap2/ext/mbstring/oniguruma
-I/home/long/src/php-5.3.9-ap2/ext/mbstring/libmbfl
-I/home/long/src/php-5.3.9-ap2/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql
-I/apps/oracle/OraHome1/rdbms/public -I/apps/oracle/OraHome1/rdbms/demo
-I/home/long/src/php-5.3.9-ap2/ext/sqlite3/libsqlite -I/usr/include/pspell -I/usr/local/include
-I/home/long/src/php-5.3.9-ap2/TSRM -I/home/long/src/php-5.3.9-ap2/Zend -I/usr/include -O3
-prefer-non-pic -c /home/long/src/php-5.3.9-ap2/ext/pgsql/pgsql.c -o ext/pgsql/pgsql.lo
/home/long/src/php-5.3.9-ap2/ext/pgsql/pgsql.c: In function `zif_pg_get_notify':
/home/long/src/php-5.3.9-ap2/ext/pgsql/pgsql.c:4810: structure has no member named `extra'
/home/long/src/php-5.3.9-ap2/ext/pgsql/pgsql.c:4821: structure has no member named `extra'
make: *** [ext/pgsql/pgsql.lo] Error 1
[long@wbtstap php-5.3.9-ap2]$
Test script:
---------------
n/a
Expected result:
----------------
pgsql extension should still compile
Actual result:
--------------
does not compile
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60718&edit=1