#29665 [Fbk->NoF]: PHP Fails to compile when soap is enabled

2005-01-26 Thread php-bugs
 ID:   29665
 Updated by:   php-bugs@lists.php.net
 Reported By:  moontumbo at hotmail dot com
-Status:   Feedback
+Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: Red Hat Enterprise Linux WS 3.0
 PHP Version:  5.0.1
 New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:


[2005-01-19 01:41:58] [EMAIL PROTECTED]

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





[2004-11-16 15:44:20] ykobayas at zet dot co dot jp

Same problem happened on PHP 5.0.2.
On RedHat Enterprise Linux ES 3.0, upgrading the libxml2 packages to
2.6.16 solved this problem too.



[2004-10-09 06:49:23] yansanmo at iquebec dot com

On Redhat9, work well when I updated libxml2 packages to 
2.6.14 (-devel and -python too). 
I downloaded the 3 packages on this site: 
http://xmlsoft.org/sources/



[2004-09-07 11:15:06] luis at infomed dot sld dot cu

Upgrade to 2.6.8 or similar, BUT NOT TO 2.6.13 cause have a bug.



[2004-09-03 13:56:29] amit dot gupta at prudence-india dot com

Yes upgrading to libxml2-2.6* solves this problem



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29665

-- 
Edit this bug report at http://bugs.php.net/?id=29665&edit=1


#29665 [Fbk->NoF]: PHP Fails to compile when soap is enabled

2004-08-24 Thread php-bugs
 ID:   29665
 Updated by:   [EMAIL PROTECTED]
 Reported By:  moontumbo at hotmail dot com
-Status:   Feedback
+Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: Red Hat Enterprise Linux WS 3.0
 PHP Version:  5.0.1
 New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:


[2004-08-17 23:17:13] ibrash at gaernin dot aswwc dot net

Issue reproduced on Slackware 9.1 with libxml2 2.5.11.



[2004-08-17 08:06:37] [EMAIL PROTECTED]

Which libxml2 did you have installed before?



[2004-08-16 21:51:08] ppritzl at hotmail dot com

Upgrading the libxml2 to 2.6.11-1 solved this issue for me on both RH9
and RH Enterprise



[2004-08-16 11:18:27] scholz at digi-info dot de

Same on Suse 9.0. 
5.0.0 compiled properly with the same configure options.
5.0.1 crashed with.

> ext/soap/php_encoding.lo(.text+0x594): In function `to_zval_string':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:467: undefined 
> reference to `xmlBufferCreateStatic'
> ext/soap/php_encoding.lo(.text+0x76a): In function
`to_zval_stringr':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:503: undefined 
> reference to `xmlBufferCreateStatic'
> ext/soap/php_encoding.lo(.text+0x95a): In function
`to_zval_stringc':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:539: undefined 
> reference to `xmlBufferCreateStatic'
> ext/soap/php_encoding.lo(.text+0xc3e): In function `to_xml_string':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:607: undefined 
> reference to `xmlBufferCreateStatic'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1



./configure --prefix=/usr \
--enable-dba \
--disable-cgi \
--bindir=/usr/bin   \
--libdir=/usr/lib   \
--with-config-file-path=/etc\
--with-exec-dir=%{libdir}/php/bin \
--with-gd=yes   \
--with-tiff-dir=/usr\
--with-jpeg-dir=/usr\
--with-png-dir=/usr \
--with-xpm-dir=/usr/X11R6   \
--with-zlib=yes \
--with-mhash\
--with-bz2  \
--with-ttf  \
--with-xml=yes  \
--with-sablot   \
--with-ftp  \
--with-mcrypt   \
--with-mm   \
--with-curl \
--enable-pcntl \
--enable-sockets \
--enable-versioning \
--enable-bcmath \
--enable-trans-sid  \
--enable-inline-optimization\
--enable-track-vars \
--enable-magic-quotes   \
--enable-sysvsem\
--enable-sysvshm\
--enable-shmop  \
--enable-calendar   \
--enable-ftp\
--enable-memory-limit   \
--enable-filepro\
--enable-ctype  \
--disable-debug \
--enable-discard-path   \
--enable-sigchild   \
--enable-gd-imgstrttf   \
--enable-calendar   \
--enable-force-cgi-redirect \
--enable-gd-native-ttf  \
--enable-mbstr-enc-trans\
--enable-wddx   \
--with-dom=%{dom_dir}   \
--with-mcal=/usr\
--with-mysql  \
--with-sqlite \
--with-xslt=/usr/include/libxslt/ \
--enable-pcntl \
--with-snmp \
--with-freetype-dir=yes \
--with-openssl  \
--enable-soap \
--with-apxs2=/usr/sbin/apxs2-prefork



[2004-08-14 00:19:22] moontumbo at hotmail dot com

Description:

When PHP 5.0.1 is configured with SOAP support, the compilation fails. 
We are using the same configure command that we used on PHP 5.0.0.  When
soap is removed from the configure, it compiles cleanly.


Reproduce code:
---
'./configure' \
'--with-config-file-path=/usr/local/apache/conf' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--enable-sigchild' \
'--with-gd' \
'--enable-gd-native-ttf' \
'--with-freetype-dir=/usr/local/lib' \
'--with-jpeg-dir=/usr/lib' \
'--with-png-dir=/usr/local/lib' \
'--with-zlib-dir=/usr/local/lib' \
'--with-xpm-dir=/usr/lib' \
'--with-openssl' \
'--with-mysql' \
'--enable-soap' \
'--with-ldap' \
'--with-t1lib' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-ftp' \
"$@"
//Configures fine.  Make fails.
make



Expected result:

Successful compilation and installation upon make install.

Actual result:
--
ext/soap/php_encoding.lo(.text+0x5b7): In function `to_zval_string':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:467: undefined
reference to 
`xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x8d5): In function `to_zval_stringr':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:503: undefined
reference to 
`xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0xbf3): In function `to_zval_stringc':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:539: undefined
reference to 
`xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x1125): In funct