Bug #78398 [Com]: libxml does not compile after setting --disable-all
| From: | phpbugreports at gmail dot com | Date: | Sat, 10 Aug 2019 21:59:00 +0000 |
| Subject: | Bug #78398 [Com]: libxml does not compile after setting --disable-all | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222178@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78398&edit=1
ID: 78398
Comment by: phpbugreports at gmail dot com
Reported by: tz at FreeBSD dot org
Summary: libxml does not compile after setting --disable-all
Status: Open
Type: Bug
Package: Compile Failure
Operating System: FreeBSD 11.2
PHP Version: 7.4.0beta2
Block user comment: N
Private report: N
New Comment:
"--with-libxml is the way to go! But it is sadly undocumented" is not true as you quote
"--without-libxml Build without LIBXML support" and all the disable/enable and
with/without are always pairs
when the default is enbaled it and you have a switch to disable it but you start with "disable
everything" the logical turnaround is to enable otherwise by default enabled things explicit
that's how configure works in general and is not php specific
Previous Comments:
------------------------------------------------------------------------
[2019-08-10 21:48:18] tz at FreeBSD dot org
Aloha,
--with-libxml is the way to go! But it is sadly undocumented:
[/usr/ports/lang/php74/work/php-7.4.0beta2]$ ./configure --help | grep xml
--without-libxml Build without LIBXML support
--disable-simplexml Disable SimpleXML support
--disable-xml Disable XML support
--with-expat XML: use expat instead of libxml2
--disable-xmlreader Disable XMLReader support
--with-xmlrpc[=DIR] Include XMLRPC-EPI support
--with-expat XMLRPC-EPI: use expat instead of libxml2
--disable-xmlwriter Disable XMLWriter support
Can you please add it to the help text of ./configure?
Greetings,
Torsten
------------------------------------------------------------------------
[2019-08-10 21:32:23] phpbugreports at gmail dot com
what about "./configure --help | grep xml" and just type "--with-libxml" and if
needed with "--with-libxml-dir=/usr"
------------------------------------------------------------------------
[2019-08-10 21:23:23] cmb@php.net
AFAIK, as of PHP 7.4 it's
--with-libxml
------------------------------------------------------------------------
[2019-08-10 20:54:37] tz at FreeBSD dot org
Aloha,
i'am sorry, but are you aware, that --enable=libxml just abort ./configure? There seems to be
no documented switch to enable building of libxml after setting --disable-all as far as i can see.
Maybe you can provide me an example how to enable build of libxml in combination with -disable-all?
Thank you,
Torsten
------------------------------------------------------------------------
[2019-08-10 19:15:26] phpbugreports at gmail dot com
when you start with --disable-all you are supposed to know what you are doing
./configure --disable-all --enable=xyz
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=78398
--
Edit this bug report at https://bugs.php.net/bug.php?id=78398&edit=1