aboutsummaryrefslogtreecommitdiffstats
path: root/src/ubuntu/install_build_deps.sh
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2017-05-06 22:44:32 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-05-23 08:19:46 +0000
commitdb68b7e767351f8b59db586e4035f501facf92a9 (patch)
tree519f80a4bec935d62e42df1654e21f944ddf6be6 /src/ubuntu/install_build_deps.sh
parent386995473879eb0502c502ad69d06e2d5bd9d7a9 (diff)
src: build and install collectd on centos/rhel
Modify build and dependency scripts for centos/rhel builds. Change-Id: I1fafaf3392d9f22837ce4ed3fa0f84c13ead0698 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'src/ubuntu/install_build_deps.sh')
-rwxr-xr-xsrc/ubuntu/install_build_deps.sh75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/ubuntu/install_build_deps.sh b/src/ubuntu/install_build_deps.sh
new file mode 100755
index 00000000..119bca22
--- /dev/null
+++ b/src/ubuntu/install_build_deps.sh
@@ -0,0 +1,75 @@
+#!/bin/bash
+# Copyright 2016-2017 OPNFV
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+set -eux
+apt-get -y install build-essential dh-autoreconf fakeroot devscripts dpkg-dev git wget
+
+apt-get -y install \
+ debhelper dpkg-dev po-debconf dh-systemd dh-strip-nondeterminism \
+ bison flex autotools-dev libltdl-dev pkg-config \
+ iptables-dev \
+ javahelper \
+ libatasmart-dev \
+ libcap-dev \
+ libcurl4-gnutls-dev \
+ libdbi0-dev \
+ libesmtp-dev \
+ libganglia1-dev \
+ libgcrypt11-dev \
+ libglib2.0-dev \
+ libgps-dev \
+ libhiredis-dev \
+ libi2c-dev \
+ libldap2-dev \
+ liblua5.3-dev \
+ liblvm2-dev \
+ libmemcached-dev \
+ libmodbus-dev \
+ libmnl-dev \
+ libmosquitto-dev \
+ libmysqlclient-dev \
+ libnotify-dev \
+ libopenipmi-dev \
+ liboping-dev \
+ libow-dev \
+ libpcap0.8-dev \
+ libpcap-dev\
+ libperl-dev \
+ libpq-dev \
+ libprotobuf-c-dev \
+ libriemann-client-dev \
+ librdkafka-dev \
+ librabbitmq-dev \
+ librrd-dev \
+ libsensors4-dev \
+ libsigrok-dev \
+ libsnmp-dev \
+ libsnmp9-dev \
+ perl \
+ libtokyocabinet-dev \
+ libtokyotyrant-dev \
+ libudev-dev \
+ libupsclient-dev \
+ libvarnishapi-dev \
+ libvirt-dev \
+ libxen-dev \
+ libxml2-dev \
+ libyajl-dev \
+ linux-libc-dev \
+ default-jdk \
+ protobuf-c-compiler \
+ python-dev \
+ openvswitch-switch \
+ mcelog
+