Fixed pcre dependencies

This commit is contained in:
Teddysun 2016-09-11 17:00:20 +09:00
parent 282e9a8770
commit ec2e1ba12b
2 changed files with 4 additions and 3 deletions

View File

@ -94,7 +94,7 @@ pre_install(){
# Update System
apt-get -y update
# Install necessary dependencies
apt-get -y --no-install-recommends install wget unzip curl build-essential autoconf libtool openssl libssl-dev zlib1g-dev xmlto asciidoc
apt-get -y --no-install-recommends install wget unzip curl build-essential autoconf libtool openssl libssl-dev zlib1g-dev xmlto asciidoc libpcre3 libpcre3-dev
# Get IP address
echo "Getting Public IP address, Please wait a moment..."
echo -e "Your main public IP is\t\033[32m $(get_ip) \033[0m"

View File

@ -117,8 +117,9 @@ pre_install(){
echo "Press any key to start...or Press Ctrl+C to cancel"
char=`get_char`
#Install necessary dependencies
yum install -y wget unzip openssl-devel gcc swig python python-devel python-setuptools autoconf libtool libevent xmlto
yum install -y automake make curl curl-devel zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel asciidoc
yum install -y wget unzip openssl-devel gcc swig python python-devel python-setuptools
yum install -y autoconf libtool libevent xmlto asciidoc pcre pcre-devel make curl curl-devel
yum install -y automake zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel
# Get IP address
echo "Getting Public IP address, Please wait a moment..."
echo -e "Your main public IP is\t\033[32m $(get_ip) \033[0m"