src: fix src build issues
[barometer.git] / systems / ubuntu / 14.04 / build_base_machine.sh
1 #!/bin/bash
2 # Copyright 2016-2017 OPNFV
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 set -eux
16 apt-get update
17 apt-get -y install build-essential dh-autoreconf fakeroot  devscripts dpkg-dev git wget
18
19 apt-get -y install \
20     debhelper dpkg-dev po-debconf dh-systemd \
21     bison flex autotools-dev libltdl-dev pkg-config \
22     iptables-dev \
23     javahelper \
24     libatasmart-dev \
25     libcap-dev \
26     libcurl4-gnutls-dev \
27     libdbi-dev \
28     libesmtp-dev \
29     libganglia1-dev \
30     libgcrypt11-dev \
31     libglib2.0-dev \
32     libgps-dev \
33     libhiredis-dev \
34     libi2c-dev \
35     libldap2-dev \
36     liblua5.2-dev \
37     liblvm2-dev \
38     libmemcached-dev \
39     libmodbus-dev \
40     libmnl-dev \
41     libmosquitto0-dev \
42     libmysqlclient-dev \
43     libncurses5 \
44     libncurses5-dev \
45     libnotify-dev \
46     libopenipmi-dev \
47     liboping-dev \
48     libow-dev \
49     libpcap0.8-dev \
50     libpcap-dev\
51     libperl-dev \
52     libpopt-dev \
53     libpq-dev \
54     libprotobuf-c0-dev \
55     libriemann-client-dev \
56     librdkafka-dev \
57     librabbitmq-dev \
58     librrd-dev \
59     libsensors4-dev \
60     libsigrok-dev \
61     libsnmp-dev \
62     snmp \
63     snmp-mibs-downloader \
64     snmpd \
65     perl \
66     libtokyocabinet-dev \
67     libtokyotyrant-dev \
68     libudev-dev \
69     libupsclient-dev \
70     libvarnishapi-dev \
71     libvirt-bin \
72     libvirt-dev \
73     libxen-dev \
74     libxml2-dev \
75     libyajl-dev \
76     linux-libc-dev \
77     default-jdk \
78     protobuf-c-compiler \
79     python-dev \
80     openvswitch-switch \
81     mcelog \
82     libc6-dev \
83     g++-multilib
84