On 7/17/21 3:30 PM, tastytea wrote:
> 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

Thanks for the suggestion.
I installed: dev-libs/icu (as it was missing).
This will creates the ucnv.h file that is missing.


Reply via email to