#30867 [Opn->Fbk]: PHP Fails to compile when soap is enabled
| From: | sniper@php.net | Date: | Wed, 19 Jan 2005 00:35:55 +0000 |
| Subject: | #30867 [Opn->Fbk]: PHP Fails to compile when soap is enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72423@lists.php.net to get a copy of this message | ||
ID: 30867
Updated by: sniper@php.net
Reported By: touv at ouvaton dot org
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: HP-UX 11
PHP Version: 5.0.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2004-11-23 09:27:35] touv at ouvaton dot org
Yes I know that, but with php 4.x.x, there was not problem to compile
php with cc.
------------------------------------------------------------------------
[2004-11-23 08:57:14] tony2001@php.net
Have you already read this:
http://www.php.net/manual/en/install.hpux.php
?
I suppose, cc is not GCC and this is your problem.
------------------------------------------------------------------------
[2004-11-23 08:42:16] touv at ouvaton dot org
Description:
------------
% export CC=cc
% export CFLAGS="-O +DS2.0 +DA2.0W"
% ./configure --with-libxml-dir=/usr/local/libs/libxml2-2.6.9-64
--enable-soap
(...)
% make
(...)
cc -Iext/soap/ -I/tmp/php-5.0.2/ext/soap/ -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/soap/php_sdl.c -o
ext/soap/php_sdl.o && echo > ext/soap/php_sdl.lo
cc: "/tmp/php-5.0.2/ext/soap/php_sdl.c", line 2091: error 1649: Illegal
integer-pointer combination for >=.
cc: "/tmp/php-5.0.2/ext/soap/php_sdl.c", line 2091: error 1563:
Expression in if must be scalar.
*** Error exit code 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30867&edit=1