Bug 25538

Summary: WebKit-r43163 won't build for gtk-directfb
Product: WebKit Reporter: Huimin He <joyious>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Huimin He
Reported 2009-05-03 23:55:50 PDT
Configure WebKit-r43163 as below: ./configure --prefix=$INSTALL_DIR --with-target=directfb And make && make install. It will get errors below: From file included in WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp£º38 : ./WebKit/gtk/webkit/webkitprivate.h:42:21: error£º enchant.h£ºNo such file or directory Check the configure.ac:L239: # check for target-specific dependencies if test "$with_target" = "directfb"; then PKG_CHECK_MODULES(CAIRO, cairo-directfb >= $CAIRO_REQUIRED_VERSION) PKG_CHECK_MODULES(GTK, gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION) AC_DEFINE([WTF_PLATFORM_DIRECTFB],[1],[Define if target is DirectFB]) else PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_REQUIRED_VERSION) PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION) PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION) but the enchant is used in WebKit/gtk/webkit/webkitprivate.h even in gtk-directfb. Add PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION) to directfb target in configure.ac will fix this
Attachments
Jan Alonzo
Comment 1 2009-05-09 19:28:58 PDT
Fix landed in r43445.
Note You need to log in before you can comment on or make changes to this bug.