ID: 30499
User updated by: lachhekumar at hotmail dot com
Reported By: lachhekumar at hotmail dot com
Status: Open
Bug Type: Compile Failure
Operating System: RedHat Linux 9.0
PHP Version: 5.0.2
New Comment:
There is no bug.. It was a misunderstanding
Previous Comments:
------------------------------------------------------------------------
[2004-10-20 18:22:03] lachhekumar at hotmail dot com
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 this bug report at http://bugs.php.net/?id=30499&edit=1