Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [SOLVED][gentoo-user] dev-lang/php-7.4.21-r1::gentoo failed (compile phase)
Date: Sat, 17 Jul 2021 21:39:01
Message-Id: 234df7d0-1107-024b-4e54-823632c83ccd@sys-concept.com
In Reply to: Re: [gentoo-user] dev-lang/php-7.4.21-r1::gentoo failed (compile phase) by tastytea
1 On 7/17/21 3:30 PM, tastytea wrote:
2 > On 2021-07-17 15:13-0600 thelma@×××××××××××.com wrote:
3 >
4 >> On of my system is giving me an error when compiling php
5 >>
6 >> In file included from /usr/include/libxml2/libxml/parser.h:812,
7 >> from
8 >> /var/tmp/portage/dev-lang/php-7.4.21-r1/work/sapis-build/cli/ext/libxml/libxml.c:34:
9 >> /usr/include/libxml2/libxml/encoding.h:31:10: fatal error:
10 >> unicode/ucnv.h: No such file or directory 31 | #include
11 >> <unicode/ucnv.h> | ^~~~~~~~~~~~~~~~ compilation terminated.
12 >> make: *** [Makefile:461: ext/libxml/libxml.lo] Error 1
13 >> make: *** Waiting for unfinished jobs....
14 >> * ERROR: dev-lang/php-7.4.21-r1::gentoo failed (compile phase):
15 >
16 > /usr/include/unicode/ucnv.h belongs to dev-libs/icu. It looks like
17 > dev-libs/libxml2 needs it even if it is installed with USE="-icu". Could
18 > you report the bug on <https://bugs.gentoo.org/>?
19 >
20 > As a workaround, re-install dev-libs/libxml2 with USE="icu".
21 >
22 > Kind regards, tastytea
23
24 Thanks for the suggestion.
25 I installed: dev-libs/icu (as it was missing).
26 This will creates the ucnv.h file that is missing.