On my FreeBSD desktop, I can't compile WebKit, because the compiler flags of icu-config get prepended to the CXXFLAGS. The result: c++ -c -pipe -D_REENTRANT -I/usr/local/include -O2 -fno-strict-aliasing -pipe -Wall -W -DBUILDING_GTK__ -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore/bindings -I../../../../JavaScriptCore/bindings/c -I../../../../JavaScriptCore/wtf -Itmp -I../../../../JavaScriptCore -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore/bindings -I../../../../JavaScriptCore/bindings/c -I../../../../JavaScriptCore/wtf -I../../../../JavaScriptCore/pcre -Itmp -I../../../../JavaScriptCore/kjs -I/usr/local/include -I. -o internal.o ../../../../JavaScriptCore/kjs/internal.cpp This causes inclusions like pcre.h to fail, because my system's pcre.h gets included, instead of the shipped one.
*** Bug 15399 has been marked as a duplicate of this bug. ***
I'm pretty sure this is caused by the following: WebKit.pri:19:gtk-port:QMAKE_CXXFLAGS += $$system(icu-config --cppflags) I'm not sure how to have qmake add the relevant flags at the end though.
Does this still apply with autogen.sh ?
Please reopen bug if the issue persists.