Compiles here without any problems. Please show "./configure" output and please provide information about PCRE library you have: which version and how do you installed it. I suspect the problem is incorrectly installed PCRE library (headers disagree with library installed?). Configuration output: checking for OS + Darwin 11.2.0 x86_64 checking for C compiler ... found + using GNU C compiler + gcc