#43330 [Opn->Bgs]: configure stops if libxml2 not exists
| From: | jani@php.net | Date: | Mon, 19 Nov 2007 13:17:29 +0000 |
| Subject: | #43330 [Opn->Bgs]: configure stops if libxml2 not exists | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119823@lists.php.net to get a copy of this message | ||
ID: 43330
Updated by: jani@php.net
Reported By: carsten_sttgt at gmx dot de
-Status: Open
+Status: Bogus
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: FreeBSD
PHP Version: 5.2.5
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-11-19 09:17:59] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43330&edit=1