On 2021-07-17 15:13-0600 the...@sys-concept.com wrote:

> On of my system is giving me an error when compiling php
> 
> In file included from /usr/include/libxml2/libxml/parser.h:812,
>                  from
> /var/tmp/portage/dev-lang/php-7.4.21-r1/work/sapis-build/cli/ext/libxml/libxml.c:34:
> /usr/include/libxml2/libxml/encoding.h:31:10: fatal error:
> unicode/ucnv.h: No such file or directory 31 | #include
> <unicode/ucnv.h> |          ^~~~~~~~~~~~~~~~ compilation terminated.
> make: *** [Makefile:461: ext/libxml/libxml.lo] Error 1
> make: *** Waiting for unfinished jobs....
>  * ERROR: dev-lang/php-7.4.21-r1::gentoo failed (compile phase):

/usr/include/unicode/ucnv.h belongs to dev-libs/icu. It looks like
dev-libs/libxml2 needs it even if it is installed with USE="-icu". Could
you report the bug on <https://bugs.gentoo.org/>?

As a workaround, re-install dev-libs/libxml2 with USE="icu".

Kind regards, tastytea

-- 
Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.

Attachment: pgp1aDvT4lpaM.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to