Update install.sh

pull/620/head
Mr Chen 10 months ago
parent dfaa041843
commit 55f6a3189c
  1. 14
      plugins/mysql/versions/5.5/install.sh

@ -69,6 +69,20 @@ Install_mysql()
WHERE_DIR_GPP=`which g++`
fi
if [ "$OSNAME" == "ubuntu" ];then
apt install -y libudev-dev
apt install -y libtirpc-dev
apt install -y libssl-dev
apt install -y libgssglue-dev
apt install -y software-properties-common
add-apt-repository -y ppa:ubuntu-toolchain-r/test
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
apt install -y gcc-11 g++-11
WHERE_DIR_GCC=/usr/bin/gcc-13
WHERE_DIR_GPP=/usr/bin/g++-13
fi
if [ ! -d $serverPath/mysql ];then
cd ${mysqlDir}/mysql-5.5.62 && cmake \
-DCMAKE_INSTALL_PREFIX=$serverPath/mysql \

Loading…
Cancel
Save