diff --git a/shadowsocks-libev-debian.sh b/shadowsocks-libev-debian.sh index b4ae018..2768655 100644 --- a/shadowsocks-libev-debian.sh +++ b/shadowsocks-libev-debian.sh @@ -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" diff --git a/shadowsocks-libev.sh b/shadowsocks-libev.sh index d7854c3..b22cdb6 100644 --- a/shadowsocks-libev.sh +++ b/shadowsocks-libev.sh @@ -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"