tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* php-4.3.2 "zend.c" error
@ 2003-07-10  7:50 Alan
  2003-07-10  8:04 ` Summary: " Alan
  0 siblings, 1 reply; 2+ messages in thread
From: Alan @ 2003-07-10  7:50 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Summary: php-4.3.2 "zend.c" error
  2003-07-10  7:50 php-4.3.2 "zend.c" error Alan
@ 2003-07-10  8:04 ` Alan
  0 siblings, 0 replies; 2+ messages in thread
From: Alan @ 2003-07-10  8:04 UTC (permalink / raw)


PHP CVS has already fixed the problem.
I just checked out all header files under Zend and got through this.

Ta,

Alan

On Thu, 2003-07-10 at 17:50, Alan wrote:
> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-10  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-10  7:50 php-4.3.2 "zend.c" error Alan
2003-07-10  8:04 ` Summary: " Alan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox