From 6cb05c37626a2bf99f9973f3dc695e89067e135c Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Thu, 22 Aug 2013 17:42:17 +0100 Subject: [PATCH] Make options -f and -b work in Fedora 19 --- util/install.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/util/install.sh b/util/install.sh index 1714206..9091dc2 100755 --- a/util/install.sh +++ b/util/install.sh @@ -186,8 +186,12 @@ function mn_dev { function of { echo "Installing OpenFlow reference implementation..." cd $BUILD_DIR/ - $install git-core autoconf automake autotools-dev pkg-config \ - make gcc libtool libc6-dev + $install autoconf automake libtool make gcc + if [ "$DIST" = "Fedora" ]; then + $install git pkgconfig glibc-devel + else + $install git-core autotools-dev pkg-config libc6-dev + fi git clone git://openflowswitch.org/openflow.git cd $BUILD_DIR/openflow @@ -537,7 +541,11 @@ function oftest { function cbench { echo "Installing cbench..." - $install libsnmp-dev libpcap-dev libconfig-dev + if [ "$DIST" = "Fedora" ]; then + $install net-snmp-devel libpcap-devel libconfig-devel + else + $install libsnmp-dev libpcap-dev libconfig-dev + fi cd $BUILD_DIR/ git clone git://openflow.org/oflops.git cd oflops