ID: 30869
Updated by: [EMAIL PROTECTED]
Reported By: touv at ouvaton dot org
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: HP-UX 11
PHP Version: 5.0.2
-Assigned To:
+Assigned To: derick
New Comment:
I've made some fuxes last night which where not in the snapshot yet,
can you please retry the latest snapshot?
Previous Comments:
------------------------------------------------------------------------
[2004-12-17 11:58:55] touv at ouvaton dot org
So the other compiling problem is on zend_strtod.c, around line 140, I
replace this line :
-------------------------------------------
#define ULong u_int32_t
-------------------------------------------
by this line
-------------------------------------------
#define ULong uint32_t
-------------------------------------------
And now php work
% file /usr/local/libs/php5-test/bin/php
/usr/local/libs/php5-test/bin/php: ELF-64 executable object file -
PA-RISC 2.0 (LP64)
%
------------------------------------------------------------------------
[2004-12-17 09:30:41] touv at ouvaton dot org
I try with php5-STABLE-200412161530 version and I have the same
problem. But if I replace this lines (around line 443 in
http_fopen_wrapper.c) :
------------------------------------------
p = http_header_line;
while(*p) {
while(*p == '\n' || *p == '\r') {
*p = '\0';
p--;
found_eol = 1;
}
if (found_eol)
break;
p++;
}
-----------------------------------------
by this lines :
-----------------------------------------
p = http_header_line;
while(*p) {
while(*p == '\n' || *p == '\r') {
*p = '\0';
p--;
goto bughpux;
}
p++;
}
bughpux:
------------------------------------------------
It's work...
But after that have a other compiling problem, in a other file ...
------------------------------------------------------------------------
[2004-12-16 12:51:52] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
And try without setting CFLAGS prior to running configure!
------------------------------------------------------------------------
[2004-11-23 08:50:39] touv at ouvaton dot org
Description:
------------
When I try to compile PHP, cc freeze at this point :
% export CC=cc
% export CFLAGS="-O +DS2.0 +DA2.0W"
% ./configure --with-libxml-dir=/usr/local/libs/libxml2-2.6.9-64
(...)
% make
(...)
cc -Iext/standard/ -I/tmp/php-5.0.2/ext/standard/ -DPHP_ATOM_INC
-I/tmp/php-5.0.2/include -I/tmp/php-5.0.2/main -I/tmp/php-5.0.2
-I/tmp/php-5.0.2/Zend
-I/usr/local/libs/libxml2-2.6.9-64/include/libxml2
-I/usr/local/libs/libiconv-1.9.1-64/include -I/usr/include
-I/usr/include/X11 -I/usr/contrib/include -I/usr/contrib/include/X11
-I/usr/local/libs/zlib-1.1.4-64/include
-I/usr/local/libs/libxml2-2.6.9-64/include -I/tmp/php-5.0.2/TSRM -w -O
+DS2.0 +DA2.0W -c /tmp/php-5.0.2/ext/standard/http_fopen_wrapper.c -o
ext/standard/http_fopen_wrapper.o && echo >
ext/standard/http_fopen_wrapper.lo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30869&edit=1