php-4.3.2 "zend.c" error

From: Alan (d1@ms.unimelb.edu.au)
Date: Thu Jul 10 2003 - 03:50:29 EDT


Hi,

I tried to build php-4.3.2 on 4.0F but ended with following errors:

make
<snip>
gcc -IZend/ -I/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/
-DPHP_ATOM_INC -I/home/tincan/spare/alu/pkgsrc/php-4.3.2/include
-I/home/tincan/spare/alu/pkgsrc/php-4.3.2/main
-I/home/tincan/spare/alu/pkgsrc/php-4.3.2
-I/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend
-I/home/tincan/spare/alu/pkgsrc/php-4.3.2/ext/xml/expat
-I/home/tincan/spare/alu/pkgsrc/php-4.3.2/TSRM -g -O2 -c
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c -o Zend/zend.o &&
echo > Zend/zend.lo
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c: In function
`zend_error':
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c:763: request for
member `__offset' in something not a structure or union
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c:763: request for
member `__base' in something not a structure or union
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c:763: request for
member `__offset' in something not a structure or union
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c:763: request for
member `__offset' in something not a structure or union
make: *** [Zend/zend.lo] Error 1

It is said zend.c in 4.3.2 is "incompatible" with Tru64 so I replaced
that with the one from CVS. Then the error seems turning to headers:

/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c: In function
`zend_startup':
/home/tincan/spare/alu/pkgsrc/php-4.3.2/Zend/zend.c:449: structure has
no member named `open_function'
make: *** [Zend/zend.lo] Error 1

Has anyone got succeeded with this or what's your successful PHP
version(s)?

TIA,
Alan



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:26 EDT