[tex-k] XeTeX build failure on macOS (ICU 60.2)
Hironobu Yamashita
aminophen15 at yahoo.co.jp
Sun Jan 14 04:52:12 CET 2018
Hi,
After upgrading to ICU 60.2, XeTeX build fails on macOS:
g++ -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/svn/Build/source/Work/texk -I/svn/Build/source/texk -I../../../texk/web2c/xetexdir -DU_STATIC_IMPLEMENTATION -I/svn/Build/source/Work/libs/icu/include -I/svn/Build/source/Work/libs/freetype2/freetype2 -I/svn/Build/source/Work/libs/teckit/include -I/svn/Build/source/Work/libs/harfbuzz/include -I/svn/Build/source/Work/libs/graphite2/include -DGRAPHITE2_STATIC -I/svn/Build/source/Work/libs/poppler/include -I/svn/Build/source/Work/libs/libpng/include -I/svn/Build/source/Work/libs/zlib/include -I../../../texk/web2c/libmd5 -DXETEX_MAC -g -O2 -MT xetexdir/libxetex_a-XeTeXFontMgr_Mac.o -MD -MP -MF xetexdir/.deps/libxetex_a-XeTeXFontMgr_Mac.Tpo -c -o xetexdir/libxetex_a-XeTeXFontMgr_Mac.o `test -f 'xetexdir/XeTeXFontMgr_Mac.mm' || echo '../../../texk/web2c/'`xetexdir/XeTeXFontMgr_Mac.mm
In file included from ../../../texk/web2c/xetexdir/XeTeXFontMgr_Mac.mm:42:
In file included from ../../../texk/web2c/xetexdir/XeTeXFontMgr_Mac.h:37:
In file included from ../../../texk/web2c/xetexdir/XeTeXFontMgr.h:47:
In file included from ../../../texk/web2c/xetexdir/XeTeX_ext.h:38:
In file included from /svn/Build/source/Work/libs/icu/include/unicode/utypes.h:38:
/svn/Build/source/Work/libs/icu/include/unicode/umachine.h:347:13: error: unknown type name 'char16_t'
typedef char16_t UChar;
^
1 error generated.
make[4]: *** [xetexdir/libxetex_a-XeTeXFontMgr_Mac.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
+ echo 2
As already noted in source/libs/icu/include/unicode/umachine.h,
> * On macOS, char16_t is not available because the uchar.h standard header is missing.
I succeeded in compiling XeTeX by applying the attached patch.
All tests passed, but not tested well.
Best regards,
Hironobu Yamashita
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20180114-umachine-macos.patch
Type: application/octet-stream
Size: 553 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-k/attachments/20180114/3f9a075a/attachment.obj>
-------------- next part --------------
More information about the tex-k
mailing list