ID:               30869
 User updated by:  touv at ouvaton dot org
 Reported By:      touv at ouvaton dot org
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: HP-UX 11
 PHP Version:      5.0.2
 New Comment:

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 ...


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to