安装glib遇到pcre问题解决方法

By prince No comments

 第一次直接./configure、make、make install 编译glib报错

  1. checking for PCRE… yes  
  2. checking for Unicode support in PCRE… no  
  3. 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

发表评论

 

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据