mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-18 10:05:51 +00:00
* SConstruct will set ABI based on ubuntu flavor * Script to bring in packages for various ubuntu flavors * Script to bring in packages for various fedora 22 * Remove unneeded environment variable from travis * Script to build boost with correct API flags * `--static` flag to control static linking
23 lines
591 B
Bash
Executable File
23 lines
591 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
#
|
|
# This scripts installs the dependencies needed by rippled. It should be run
|
|
# with sudo.
|
|
#
|
|
|
|
if [ ! -f /etc/fedora-release ]; then
|
|
echo "This script is meant to be run on fedora"
|
|
exit 1
|
|
fi
|
|
|
|
fedora_release=$(grep -o '[0-9]*' /etc/fedora-release)
|
|
|
|
if (( $(bc <<< "${fedora_release} < 22") )); then
|
|
echo "This script is meant to run on fedora 22 or greater"
|
|
exit 1
|
|
fi
|
|
|
|
yum -y update
|
|
yum -y group install "Development Tools"
|
|
yum -y install gcc-c++ scons openssl-devel openssl-static protobuf-devel protobuf-static boost-devel boost-static libstdc++-static
|