Update install.sh

pull/816/head
dami 1 day ago
parent e960d4f00b
commit 997ad34151
  1. 7
      plugins/mysql/versions/5.5/install.sh

@ -75,7 +75,6 @@ Install_common(){
# 安装依赖 # 安装依赖
Install_dep(){ Install_dep(){
Install_common Install_common
add-apt-repository -y ppa:ubuntu-toolchain-r/test add-apt-repository -y ppa:ubuntu-toolchain-r/test
export PKG_CONFIG_PATH=/usr/lib/pkgconfig export PKG_CONFIG_PATH=/usr/lib/pkgconfig
@ -86,9 +85,7 @@ Install_dep(){
Install_dep_debain13(){ Install_dep_debain13(){
Install_common Install_common
# add-apt-repository -y ppa:ubuntu-toolchain-r/test
add-apt-repository -y ppa:ubuntu-toolchain-r/test
export PKG_CONFIG_PATH=/usr/lib/pkgconfig export PKG_CONFIG_PATH=/usr/lib/pkgconfig
apt install -y gcc-12 g++-12 apt install -y gcc-12 g++-12
WHERE_DIR_GCC=/usr/bin/gcc-12 WHERE_DIR_GCC=/usr/bin/gcc-12
@ -169,6 +166,8 @@ Install_mysql()
OPTIONS="${OPTIONS} -DCMAKE_CXX_FLAGS=${CXXFLAGS}" OPTIONS="${OPTIONS} -DCMAKE_CXX_FLAGS=${CXXFLAGS}"
fi fi
# -DWITH_SSL=/www/server/lib/openssl11
if [ ! -d $serverPath/mysql ];then if [ ! -d $serverPath/mysql ];then
cd ${mysqlDir}/mysql-5.5.62 && cmake \ cd ${mysqlDir}/mysql-5.5.62 && cmake \
-DCMAKE_INSTALL_PREFIX=$serverPath/mysql \ -DCMAKE_INSTALL_PREFIX=$serverPath/mysql \

Loading…
Cancel
Save