Skip to content

Instantly share code, notes, and snippets.

@ichikaway
Created December 29, 2010 05:27
Show Gist options
  • Save ichikaway/758214 to your computer and use it in GitHub Desktop.
Save ichikaway/758214 to your computer and use it in GitHub Desktop.
upgrade PCRE for CentOS(32bit) using unicode-properties
# wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/pcre-6.6-2.el5_1.7.src.rpm
# rpm -ivh pcre-6.6-2.el5_1.7.src.rpm
# vi /usr/src/redhat/SPECS/pcre.spec
%configure --enable-utf8 --enable-unicode-properties
# rpmbuild -ba /usr/src/redhat/SPECS/pcre.spec
# rpm -Uvh /usr/src/redhat/RPMS/i386/pcre-6.6-2.7.i386.rpm /usr/src/redhat/RPMS/i386/pcre-devel-6.6-2.7.i386.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment