Please test. If there are no critical problems I'll release RC3 tomorrow
which I think will be the last RC for 5.0.
http://snaps.php.net/~andi/php-5.0.0RC3RC1.tar.bz2
http://snaps.php.net/~andi/php-5.0.0RC3RC1.tar.gz
Andi
- 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,
/bin/sh /usr/home/curt/source/php-5.0.0RC3RC1/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/standard/
-I/usr/home/curt/source/php-5.0.0RC3RC1/ext/standard/
-DPHP_ATOM_INC -I/usr/home/curt/source/php-5.0.0RC3RC1/include
-I/usr/home/curt/source/php-5.0.0RC3RC1/main
-I/usr/home/curt/source/php-5.0.0RC3RC1
-I/usr/home/curt/source/php-5.0.0RC3RC1/Zend
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/imap-2000e/include
-I/usr/local/mysql/include/mysql
-I/usr/home/curt/source/php-5.0.0RC3RC1/TSRM -g -O2 -prefer-pic
-c /usr/home/curt/source/php-5.0.0RC3RC1/ext/standard/proc_open.c
-o ext/standard/proc_open.lo
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"
zend_hash.h:50: error: syntax error before "uint"
zend_hash.h:61: error: syntax error before "uint"
zend_hash.h:81: error: syntax error before "uint"
zend_hash.h:93: error: syntax error before "uint"
zend_hash.h:94: error: syntax error before "uint"
...
I'm not sure where to look to find out why this is happening.
Curt
"I used to think I was indecisive, but now I'm not so sure."
- 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
- Thus wrote Daniel Fahlgren (guru@acc.umu.se):
- 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
This actually FreeBSD 5.2.1-RELEASE. RC1 and HEAD (a day or so
ago) compiled ok for me with the same exact configure options.
I'm going to check to see if I can get HEAD to compile.
Curt
"I used to think I was indecisive, but now I'm not so sure."
- Thus wrote Daniel Fahlgren (guru@acc.umu.se):
- 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>
Yep, those defines are there, but If I add
#define __BSD_VISIBLE 1
It works.
I tracked it down that it broke for me at revision 1.21 (the pty
support for proc_open), the macro #define _XOPEN_SOURCE 500 causes
my system to change which POSIX version to compile with.
If I take that _XOPEN_SOURCE line out it compiles fine. Is that
#define needed? I have a strong feeling the EXTENSIONS and
_ALL_SOURCE macros could be remove as well.
Curt
"I used to think I was indecisive, but now I'm not so sure."
- Thus wrote Curt Zirzow (curt@php.net):
I tracked it down that it broke for me at revision 1.21 (the pty
support for proc_open), the macro #define _XOPEN_SOURCE 500 causes
my system to change which POSIX version to compile with.
Actually it was revision 1.24 that broke things for me, defining
_XOPEN_SOURCE at 500 or 600 breaks things on FreeBSD.
Curt
"I used to think I was indecisive, but now I'm not so sure."
From: Andi Gutmans
Please test. If there are no critical problems I'll release RC3 tomorrow
which I think will be the last RC for 5.0.
Andi, hopefully you arent waiting on a fix for the libxml streams issue to
roll RC3. I would suggest that our streams handling be left as is right now.
I have made a request that some additional functionality be added to libxml
which will allow us to resolve the streams issue correctly. It would no
longer require us to register our streams with libxml, but rather override
the URI handling functionality directly (would still require us to register
our function in RINIT and clear it on RSHUTDOWN - like we do with error
handling). Its not a big change as I am running the changes locally here
and it seems to work well. The only thing is that we would need to require
the latest libxml (hoping it to be released in 2.6.11) for things to work
properly.
Rob
Okay, I won't hold on in this case. I just want to resolve the return value
to the user-error handler before I roll.
I also understand that the proc_open()
compile problems seem to be solved.
Thanks,
Andi
At 04:13 PM 5/29/2004 -0400, Rob Richards wrote:
From: Andi Gutmans
Please test. If there are no critical problems I'll release RC3 tomorrow
which I think will be the last RC for 5.0.Andi, hopefully you arent waiting on a fix for the libxml streams issue to
roll RC3. I would suggest that our streams handling be left as is right now.I have made a request that some additional functionality be added to libxml
which will allow us to resolve the streams issue correctly. It would no
longer require us to register our streams with libxml, but rather override
the URI handling functionality directly (would still require us to register
our function in RINIT and clear it on RSHUTDOWN - like we do with error
handling). Its not a big change as I am running the changes locally here
and it seems to work well. The only thing is that we would need to require
the latest libxml (hoping it to be released in 2.6.11) for things to work
properly.Rob