2016-06-02 3 views
1

J'ai toutes les dépendances et puisque je n'étais pas capable de corriger cette erreur j'ai installé freetype et harfbuzz à partir de rien ne pouvait pas réparer cette erreur fatale mais ce fichier (hb-ft.h) est présent sous /usr/include/harfbuzz /hb-ft.h et jhbuild/caisse/HarfBuzz/src/hb-ft.hComment réparer hb-ft.h pas un tel fichier ou un répertoire lors de l'installation de pango en utilisant jhbuild?

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] 

Répondre

1

J'ai vu cette erreur avant lors de la construction pango dans jhbuild.

Solution: Ouvrez un nouveau terminal et essayer -

jhbuild buildone -afc harfbuzz 

Après Construisons avec succès, la construction de la phase reprise du module Pango. J'espère que ça aide!

+1

Omg enfin, s'il vous plaît pouvez-vous m'expliquer ce que exactement cette commande a fait et pourquoi jhbuild n'a pas construit harfbuzz lui-même –