Created
December 29, 2010 05:27
-
-
Save ichikaway/758214 to your computer and use it in GitHub Desktop.
upgrade PCRE for CentOS(32bit) using unicode-properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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