Project

General

Profile

Bug #5224

PL/PHP will not build against 5.3.x

Added by Anonymous over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Álvaro Herrera
Target version:
Start date:
06/04/2010
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

When attempting to build against embedded PHP 5.3.2 and Postgres 8.4.3. A build against PHP 5.2.x works fine as the regressions are caused by changes to the 5.3 tree.

# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

# make -v
GNU Make 3.81

# gmake
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -fpic -I/usr/local/embedphp/include/php -I/usr/local/embedphp/include/php/main -I/usr/local/embedphp/include/php/TSRM -I/usr/local/embedphp/include/php/Zend -I/usr/local/embedphp/include/php/ext -I/usr/local/embedphp/include/php/ext/date/lib -I/usr/local/embedphp/include/php -I/usr/local/embedphp/include/php/main -I/usr/local/embedphp/include/php/TSRM -I/usr/local/embedphp/include/php/Zend -I/usr/local/embedphp/include/php/ext -I/usr/local/embedphp/include/php/ext/date/lib  -I. -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -I/usr/include/et -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include  -c -o plphp.o plphp.c
plphp.c: In function 'plphp_call_php_trig':
plphp.c:1713: error: 'zval' has no member named 'is_ref'
plphp.c:1722: error: 'zval' has no member named 'is_ref'
gmake: *** [plphp.o] Error 1

Also available in: Atom PDF