Skip to content

Commit 05eb7e4

Browse files
committed
build: add missing dev deps
1 parent fe49290 commit 05eb7e4

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

scripts/build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ echo "deb http://ftp.nl.debian.org/debian/ stretch main" > /etc/apt/sources.list
88
echo "deb http://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
99

1010
# install dependencies for build
11+
# source: https://learn.netdata.cloud/docs/agent/packaging/installer/methods/manual
1112

1213
apt-get -qq update
13-
apt-get -y install zlib1g-dev uuid-dev libmnl-dev gcc make curl git autoconf autogen automake pkg-config netcat-openbsd jq libuv1-dev liblz4-dev libjudy-dev libssl-dev
14+
apt-get -y install zlib1g-dev uuid-dev libmnl-dev gcc make curl git autoconf autogen automake pkg-config netcat-openbsd jq libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake libelf-dev libprotobuf-dev protobuf-compiler g++
1415
apt-get -y install autoconf-archive lm-sensors nodejs python python-mysqldb python-yaml libjudydebian1 libuv1 liblz4-1 openssl
1516
apt-get -y install msmtp msmtp-mta apcupsd fping
1617

@@ -26,6 +27,10 @@ else
2627
echo "No tag, using master"
2728
fi
2829

30+
# fix for https://github.com/netdata/netdata/issues/11652
31+
32+
git submodule update --init --recursive
33+
2934
# use the provided installer
3035

3136
./netdata-installer.sh --dont-wait --dont-start-it --disable-telemetry
@@ -39,7 +44,7 @@ fi
3944
cd /
4045
rm -rf /netdata.git
4146

42-
dpkg -P zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autogen automake pkg-config libuv1-dev liblz4-dev libjudy-dev libssl-dev
47+
dpkg -P zlib1g-dev uuid-dev libmnl-dev make git autoconf autogen automake pkg-config libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake libelf-dev libprotobuf-dev protobuf-compiler g++
4348
apt-get -y autoremove
4449
apt-get clean
4550
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 commit comments

Comments
 (0)