compile glib 2.48 does not recognize pcre with utf support

Viewed 8015

I have compiled pcre 8.38 from source with --enable-utf8 --enable-unicode-properties and a pcretest -C utf retuns 1.

a which pcretest returns /home/mybin/bin/pcretest

However when compiling glib 2.48 using PCRE_LIBS="/home/mybin/lib" PCRE_CFLAGS="/home/mybin/bin" i get a configure error from configure.log

checking for PCRE... yes
checking for Unicode support in PCRE... no
configure: error: *** The system-supplied PCRE does not support Unicode properties or UTF-8.

is there something else I should check to get the glib configure to pass?

8 Answers

I find following words in glib README, it works for me Notes about GLib 2.48 =====================

  • The system copy of PCRE is now used by default to implement GRegex. Configure with --with-pcre=internal if a system PCRE version is unavailable or undesired
Related