Commit 51e3b6c7 authored by Robert Schmidt's avatar Robert Schmidt Committed by Manish

Add support for Fedora 35 and add missing gcc/g++ packages (both required)

parent 38e0bacf
...@@ -107,7 +107,7 @@ check_supported_distribution() { ...@@ -107,7 +107,7 @@ check_supported_distribution() {
"ubuntu20.04") return 0 ;; "ubuntu20.04") return 0 ;;
"ubuntu18.04") return 0 ;; "ubuntu18.04") return 0 ;;
"ubuntu16.04") return 0 ;; "ubuntu16.04") return 0 ;;
"fedora24") return 0 ;; "fedora35") return 0 ;;
"rhel7") return 0 ;; "rhel7") return 0 ;;
"rhel7.6") return 0 ;; "rhel7.6") return 0 ;;
"rhel7.7") return 0 ;; "rhel7.7") return 0 ;;
...@@ -284,6 +284,11 @@ install_protobuf_c() { ...@@ -284,6 +284,11 @@ install_protobuf_c() {
protobuf_packages="protobuf-c-compiler libprotobuf-c1 libprotobuf-c-dev" protobuf_packages="protobuf-c-compiler libprotobuf-c1 libprotobuf-c-dev"
;; ;;
esac esac
case "$OS_DISTRO" in
"rhel" | "centos" | "fedora") # in EPEL and Fedora repos (at least as of 35)
protobuf_packages="protobuf-c-compiler protobuf-c protobuf-c-devel"
;;
esac
if [[ "$protobuf_packages" == "" ]]; then if [[ "$protobuf_packages" == "" ]]; then
install_protobuf_c_from_source install_protobuf_c_from_source
else else
...@@ -703,6 +708,8 @@ check_install_oai_software() { ...@@ -703,6 +708,8 @@ check_install_oai_software() {
texlive-latex-base \ texlive-latex-base \
ethtool \ ethtool \
flex \ flex \
g++ \
gcc \
gdb \ gdb \
git \ git \
graphviz \ graphviz \
...@@ -756,8 +763,6 @@ check_install_oai_software() { ...@@ -756,8 +763,6 @@ check_install_oai_software() {
$SUDO $INSTALLER install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm $SUDO $INSTALLER install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
fi fi
$SUDO $INSTALLER install -y python-epdb vim-common $SUDO $INSTALLER install -y python-epdb vim-common
else
$SUDO $INSTALLER install -y pydb
fi fi
$SUDO $INSTALLER install -y \ $SUDO $INSTALLER install -y \
...@@ -769,6 +774,8 @@ check_install_oai_software() { ...@@ -769,6 +774,8 @@ check_install_oai_software() {
doxygen \ doxygen \
ethtool \ ethtool \
flex \ flex \
g++ \
gcc \
gdb \ gdb \
git \ git \
graphviz \ graphviz \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment