./configure UTF-8 support tests by compiling a small test program (line 27618) and running it:
#include <pcre.h> int main () { int support; pcre_config (PCRE_CONFIG_UTF8, &support); if (!support) return 1; pcre_config (PCRE_CONFIG_UNICODE_PROPERTIES, &support); if (!support) return 1; return 0; }
If this test program cannot be compiled and launched properly, or for some reason returns 1, then. / configure will say that there is no UTF-8 support. Make sure your operating system can find shared libraries in your PCRE lib directory. You can do this by compiling the above test program and making sure that it can work without fail due to the lack of a shared library.
I had this problem, but even when I fixed it, Glib was unable to detect UTF-8 support in PCRE. When this happens, you can try editing. / configure to skip this test, but itβs not clear that this test hints at any other problem, so I would not recommend this.
aPrOgRaMmEr
source share