Building with QT, my spec points adds -I/usr/local/include which has pcre.h. Compilation fails, since you include <pcre.h>, which means the pcre.h in WebKit. This fixes it: Index: JavaScriptCore/yarr/RegexJIT.h =================================================================== --- JavaScriptCore/yarr/RegexJIT.h (revision 56179) +++ JavaScriptCore/yarr/RegexJIT.h (working copy) @@ -32,7 +32,7 @@ #include "RegexPattern.h" #include <UString.h> -#include <pcre.h> +#include <pcre/pcre.h> struct JSRegExp; // temporary, remove when fallback is removed. #if CPU(X86) && !COMPILER(MSVC)
QT port is gone now. There is work done on upstream to revive it but I can't find this header via searchfox.org, so it might not be required. Changing to 'RESOLVED WONTFIX' because it was never confirmed.