Android用PHPクロスコンパイル時に "unicode / ucnv.h"ファイルが見つかりません。

Android用PHPクロスコンパイル時に

PHPをAndroidにクロスコンパイルしようとしています。走り終わった後は、すべて./configure --host=$TARGET --enable-static --without-iconv大丈夫だった。

しかし、私が走るときmake CFLAGS=-I/usr/include/unicode

次のエラーが発生します。

In file included from /home/Desktop/php-src/ext/libxml/libxml.c:32:
In file included from /usr/include/libxml2/libxml/parser.h:812:
/usr/include/libxml2/libxml/encoding.h:31:10: fatal error: 'unicode/ucnv.h' file not found
#include <unicode/ucnv.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:671: ext/libxml/libxml.lo] Error 1

これを見つけるためにこれを使用すると、dpkg -L libicu-dev | grep ucnv.h私は得ます。

/usr/include/unicode/ucnv.h

これは何とも言えない音ですか?助けてください。数日間頑張ってきました。

ベストアンサー1

おすすめ記事