2

我有所有依赖项,由于我无法修复此错误,我从头开始安装 freetype 和 harfbuzz 仍然无法修复此致命错误,但此文件 (hb-ft.h) 存在于 /usr/include/harfbuzz/hb- ft.h 和 jhbuild/checkout/harfbuzz/src/hb-ft.h

In file included from pango-ot-buffer.c:24:0:
pango-ot-private.h:29:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
Makefile:1387: recipe for target 'pango-ot-buffer.lo' failed
make[4]: *** [pango-ot-buffer.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
pangofc-shape.c:30:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
Makefile:1387: recipe for target 'pangofc-shape.lo' failed
make[4]: *** [pangofc-shape.lo] Error 1
pangoft2-render.c: In function ‘pango_ft2_font_render_glyph’:
pangoft2-render.c:224:3: warning: ‘pango_ft2_font_get_face’ is deprecated: Use 'pango_fc_font_lock_face' instead [-Wdeprecated-declarations]
   face = pango_ft2_font_get_face (font);
   ^
In file included from pangoft2-private.h:26:0,
                 from pangoft2-render.c:37:
../pango/pangoft2.h:125:9: note: declared here
 FT_Face        pango_ft2_font_get_face     (PangoFont       *font);
         ^
In file included from pango-ot-info.c:34:0:
pango-ot-private.h:29:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
Makefile:1387: recipe for target 'pango-ot-info.lo' failed
make[4]: *** [pango-ot-info.lo] Error 1
make[4]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango/pango'
Makefile:1469: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango/pango'
Makefile:1212: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango/pango'
Makefile:579: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango'
Makefile:468: recipe for target 'all' failed
make: *** [all] Error 2
*** Error during phase build of pango: ########## Error running make -j 5  *** [7/7]
4

1 回答 1

3

我之前在 jhbuild 中构建 pango 时看到过这个错误。

解决方案:打开一个新终端并尝试 -

jhbuild buildone -afc harfbuzz

成功构建后,重新运行 pango 模块的阶段构建。希望能帮助到你!

于 2016-06-04T17:20:48.393 回答