php-4.3.2 "zend.c" error

From: Alan <d1_at_ms.unimelb.edu.au>
Date: Thu, 10 Jul 2003 17:50:29 +1000

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
Received on Thu Jul 10 2003 - 07:52:08 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT