php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30499 there is problem in configure file for libxml
Submitted: 2004-10-20 18:22 UTC Modified: 2004-10-20 19:13 UTC
From: lachhekumar at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.2 OS: RedHat Linux 9.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lachhekumar at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-10-20 18:22 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-20 19:02 UTC] lachhekumar at hotmail dot com
There is no bug.. It was a misunderstanding
 [2004-10-20 19:13 UTC] magnus@php.net
Bogus then.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 14:01:28 2024 UTC