Skip to content

Instantly share code, notes, and snippets.

@syuu1228
Created April 14, 2025 12:57
Show Gist options
  • Save syuu1228/0a1385b60017b7fedb916addb1745785 to your computer and use it in GitHub Desktop.
Save syuu1228/0a1385b60017b7fedb916addb1745785 to your computer and use it in GitHub Desktop.
install-dependencies.sh.el9.patch
diff --git a/install-dependencies.sh b/install-dependencies.sh
index 5ea4cd6784..fb8b58f30b 100755
--- a/install-dependencies.sh
+++ b/install-dependencies.sh
@@ -64,8 +64,6 @@ fedora_packages=(
gdb
lua-devel
yaml-cpp-devel
- antlr3-tool
- antlr3-C++-devel
jsoncpp-devel
rapidjson-devel
snappy-devel
@@ -90,9 +88,8 @@ fedora_packages=(
python3-unidiff
python3-humanfriendly
python3-jinja2
- python3-deepdiff
python3-cryptography
- dnf-utils
+ yum-utils
pigz
net-tools
tar
@@ -112,23 +109,16 @@ fedora_packages=(
fakeroot
file
dpkg-dev
- curl
- rust
- cargo
rapidxml-devel
- rust-std-static-wasm32-wasip1
- wabt
binaryen
lcov
java-11-openjdk-devel # for tools/java
- llvm-bolt
moreutils
iproute
llvm
openldap-servers
openldap-devel
- toxiproxy
cyrus-sasl
fipscheck
cpp-jwt-devel
@@ -303,7 +293,7 @@ while [ $# -gt 0 ]; do
done
if $PRINT_PYTHON3; then
- if [ "$ID" != "fedora" ]; then
+ if [ "$ID" != "rocky" ]; then
echo "Unsupported Distribution: $ID"
exit 1
fi
@@ -345,15 +335,10 @@ if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ]; then
apt-get -y install libssl-dev
echo -e "Configure example:\n\t./configure.py --enable-dpdk --mode=release --static-boost --static-yaml-cpp --compiler=/opt/scylladb/bin/g++-7 --cflags=\"-I/opt/scylladb/include -L/opt/scylladb/lib/x86-linux-gnu/\" --ldflags=\"-Wl,-rpath=/opt/scylladb/lib\""
-elif [ "$ID" = "fedora" ]; then
+elif [ "$ID" = "rocky" ]; then
fedora_packages+=(openssl-devel)
- if rpm -q --quiet yum-utils; then
- echo
- echo "This script will install dnf-utils package, witch will conflict with currently installed package: yum-utils"
- echo "Please remove the package and try to run this script again."
- exit 1
- fi
dnf install -y "${fedora_packages[@]}" "${fedora_python3_packages[@]}"
+ dnf install -y --allowerasing curl
PIP_DEFAULT_ARGS="--only-binary=:all: -v"
pip_constrained_packages=""
for package in "${!pip_packages[@]}"
@@ -414,11 +399,10 @@ elif [ "$ID" == "arch" ]; then
echo -e "Configure example:\n\t./configure.py\n\tninja release"
fi
-cargo --config net.git-fetch-with-cli=true install cxxbridge-cmd --root /usr/local
CURL_ARGS=$(minio_download_jobs)
if [ ! -z "${CURL_ARGS}" ]; then
- curl -fSL --remove-on-error --parallel --parallel-immediate ${CURL_ARGS}
+ curl -fSL --parallel --parallel-immediate ${CURL_ARGS}
chmod +x "${MINIO_BINARIES_DIR}/minio"
chmod +x "${MINIO_BINARIES_DIR}/mc"
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment