安装glib遇到pcre问题解决方法
第一次直接./configure、make、make install 编译glib报错
- 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.
重新编译pcre:
./configure –prefix=/usr –docdir=/usr/share/doc/pcre-8.41 –libdir=/usr/lib64 –enable-unicode-properties –enable-pcre16 –enable-pcre32 –enable-pcregrep-libz –enable-pcregrep-libbz2 –enable-pcretest-libreadline –disable-static –enable-utf8 –enable-unicode-properties