On Thu, May 27, 2004 at 08:11:17PM +0000, Curt Zirzow wrote:
> * Thus wrote Andi Gutmans (andi@zend.com):
> > Please test. If there are no critical problems I'll release RC3 tomorrow
> > which I think will be the last RC for 5.0.
> >
>
> I'm getting an error during compile,
> [..]
> In file included
> from /usr/home/curt/source/php-5.0.0RC3RC1/Zend/zend.h:244,
> from /usr/home/curt/source/php-5.0.0RC3RC1/main/php.h:34,
> from /usr/home/curt/source/php-5.0.0RC3RC1/ext/standard/proc_open.c:25:
> /usr/home/curt/source/php-5.0.0RC3RC1/Zend/zend_hash.h:39:
> error: syntax error before "uint"
I guess you are using Solaris or AIX, right? I figured out a way to get
it to compile cleanly on Solaris, but I'm not sure if Wes fixed the
CVS.. Any how.. if you add
#define __EXTENSIONS__
#define _ALL_SOURCE
#include <sys/types.h>
in proc_open.c it will compile.. The __EXTENSIONS__ is for Solaris and
_ALL_SOURCE is needed for AIX. (at least 4.3)
In the AIX case I needed to run configure with --without-iconv in order
for it to link correctly, not sure if thats a general AIX problem or
just on the machine I tried it on.
Irix is another story, haven't had the time to dig in on the problem.
/ Fahlgren
--
I live the way I type; fast, with a lot of mistakes
Daniel Fahlgren http://www.acc.umu.se/~guru/
sysadm@{acc,cs,math}.umu.se 070-3406400 ordf@acc