php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43330 configure stops if libxml2 not exists
Submitted: 2007-11-19 09:17 UTC Modified: 2007-11-19 13:17 UTC
From: carsten_sttgt at gmx dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.5 OS: FreeBSD
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: carsten_sttgt at gmx dot de
New email:
PHP Version: OS:

 

 [2007-11-19 09:17 UTC] carsten_sttgt at gmx dot de
Description:
------------
Hello,

assume, libxml2 is not installed on a box.

Regards,
Carsten


Reproduce code:
---------------
If I use:
| % ./configure --prefix=/foo/bar --disable-all

"configure" and "make && make install" works fine. Thus we can say:
libxml2 is not necessary for PHP.

Now I just use:
| % ./configure --prefix=/foo/bar

and "configure" stops with:
| configure: error: xml2-config not found.\
| Please check your libxml2 installation.


Expected result:
----------------
"configure" should notice that libxml2 is not availible, and should just   disable the extensions which need this library and not stop the build process.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-19 13:17 UTC] jani@php.net
This is just how it works, nothing unexpected or buggy here.
There are several xml extensions which are enabled by default. If you don't want them, just disable them. Or do what you did and always use --disable-all and enable what you really need.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jan 20 01:00:01 2026 UTC