Re: --with-libxml-dir and libxml headers on MacOS
| From: | Christoph M. Becker | Date: | Thu, 21 Nov 2019 11:32:28 +0000 |
| Subject: | Re: --with-libxml-dir and libxml headers on MacOS | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107848@lists.php.net to get a copy of this message | ||
On 21.11.2019 at 11:36, Brent Roose wrote:
> The upgrading guide lists that the option --with-libxml-dir is removed in PHP 7.4
> (https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L763
> <https://github.com/php/php-src/blob/PHP-7.4/UPGRADING#L763>).
> Unfortunately on MacOS, header files are not stored in the usual locations, which means that
> compiling PHP fails with the following error: fatal error: 'libxml/parser.h' file not
> found
>
> With the removal of --with-libxml-dir, I wonder what the right way is to tell PHP where the
> header files are located.
See <https://github.com/php/php-src/blob/php-7.4.0RC6/UPGRADING#L720-L724>..
--
Christoph M. Becker