From 55f6a3189ca41fbb9ddbcd332e985bf76f6b02a3 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 24 Jul 2024 22:19:31 +0800 Subject: [PATCH] Update install.sh --- plugins/mysql/versions/5.5/install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/plugins/mysql/versions/5.5/install.sh b/plugins/mysql/versions/5.5/install.sh index b8bc62d73..0b4fa7d42 100755 --- a/plugins/mysql/versions/5.5/install.sh +++ b/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 \