From 09212a6c865dd58bf290912861a02b9b25e0f8b0 Mon Sep 17 00:00:00 2001 From: Puneet Kaushik Date: Mon, 10 Jun 2024 14:29:55 +0530 Subject: [PATCH] testing centos7 --- proxysql/build-binary-proxysql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proxysql/build-binary-proxysql b/proxysql/build-binary-proxysql index 46dc33032c..5b3ab56f09 100755 --- a/proxysql/build-binary-proxysql +++ b/proxysql/build-binary-proxysql @@ -25,7 +25,14 @@ if [ -f /usr/bin/yum ]; then fi sudo yum -y install wget if [[ $RHEL -eq 7 ]]; then + sudo yum install -y centos-release-scl + sudo yum install -y devtoolset-9 + scl enable devtoolset-9 bash sudo yum -y install automake bzip2 cmake3 make gcc-c++ gcc git openssl openssl-devel gnutls gnutls-devel libtool patch libuuid libuuid-devel perl-IPC-Cmd + gcc --version + g++ --version + which gcc + which g++ if [ -f /usr/bin/cmake3 ]; then sudo mv /usr/bin/cmake /usr/bin/cmake2 sudo ln -s /usr/bin/cmake3 /usr/bin/cmake