Hello:
    I tried to build webkitgtk on Ubuntu16.04 by following this 
page:https://trac.webkit.org/wiki/BuildingGtk 
<https://trac.webkit.org/wiki/BuildingGtk>, but get such errors when I run 
Tools/Scripts/update-webkitgtk-libs:

In file included from 
/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Source/freetype-2.8/src/autofit/autofit.c:35:0:
/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Source/freetype-2.8/src/autofit/afscript.h:35:11:
 error: ‘HB_SCRIPT_ADLAM’ undeclared here (not in a function)
           HB_SCRIPT_ADLAM,
           ^
/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Source/freetype-2.8/src/autofit/afshaper.c:89:38:
 note: in definition of macro ‘SCRIPT’
 #define SCRIPT( s, S, d, h, H, ss )  h,
                                      ^
/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Source/freetype-2.8/src/autofit/afscript.h:278:11:
 error: ‘HB_SCRIPT_OSAGE’ undeclared here (not in a function)
           HB_SCRIPT_OSAGE,
           ^
/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Source/freetype-2.8/src/autofit/afshaper.c:89:38:
 note: in definition of macro ‘SCRIPT’
 #define SCRIPT( s, S, d, h, H, ss )  h,
                                      ^
/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Source/freetype-2.8/src/autofit/rules.mk:74:
 recipe for target 
'/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Build/freetype-2.8/autofit.lo'
 failed
make: *** 
[/home/wangao/arayz/web/WebKitBuild/DependenciesGTK/Build/freetype-2.8/autofit.lo]
 Error 1
make: *** Waiting for unfinished jobs….

Is anybody know how to fix it?
_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to