Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 24, 2024
1 parent dfaa041 commit 55f6a31
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions plugins/mysql/versions/5.5/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 55f6a31

Please sign in to comment.