From: Operating system: Red Hat Enterprise Linux AS rele PHP version: 5.3.9 Package: Compile Failure Bug Type: Bug Bug description:pgsql extension no longer compiles
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 bug report at https://bugs.php.net/bug.php?id=60718&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60718&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60718&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60718&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60718&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60718&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60718&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60718&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60718&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60718&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60718&r=support Expected behavior: https://bugs.php.net/fix.php?id=60718&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60718&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60718&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60718&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60718&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60718&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60718&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60718&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60718&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60718&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60718&r=mysqlcfg