From: lachhekumar at hotmail dot com
Operating system: RedHat Linux 9.0
PHP version: 5.0.2
PHP Bug Type: Compile Failure
Bug description: there is problem in configure file for libxml
Description:
------------
./configure --with-apxs3=/usr/local/apache2/bin/apxs --with-openssl
--with-zlib --enable-calendar --enable-bcmath --with-jpeg-dir=/usr/lib
--with-tiff-dir=/usr --with-curl=/usr/inlcude/curl --with-inifile
--with-flatfile --enable-exif --enable-ftp --with-gd --with-gettext
--with-imap --with-mhash --with-ming --with-mysql=/usr/bin --with-mysqli
--with-unixODBC --with-pgsql
--with-snmp --enable-soap --enable-sockets --with-xsl
--with-pear=/usr/share/pear --with-libxml-dir=/usr
command line to generate error
Error : libxml2.5.1 or greater is required
Expected result:
----------------
The above line for configuration will give you the error of "libxml2.4.0
is required"
That is beacuse ....of this line
if test "$LIBXML_VERSION" -ge "2005010"; then
LIBXML_LIBS=`$XML2_CONFIG --libs`
LIBXML_INCS=`$XML2_CONFIG --cflags`
The correct line according to calculations are
if test "$LIBXML_VERSION" -ge "2005001"; then
LIBXML_LIBS=`$XML2_CONFIG --libs`
LIBXML_INCS=`$XML2_CONFIG --cflags`
Actual result:
--------------
Installation must go smoothly
--
Edit bug report at http://bugs.php.net/?id=30499&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30499&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30499&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30499&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30499&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30499&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30499&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30499&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30499&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30499&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30499&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30499&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30499&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30499&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30499&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30499&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30499&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30499&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30499&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30499&r=mysqlcfg