[webkit-gtk] Tools/Scripts/update-webkitgtk-libs failed on Ubuntu16.04

王奡 arayz_w at icloud.com
Thu Nov 9 02:06:59 PST 2017


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20171109/cddc2011/attachment.html>


More information about the webkit-gtk mailing list