|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-20 19:02 UTC] lachhekumar at hotmail dot com
[2004-10-20 19:13 UTC] magnus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
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