Commit e96481c7 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

make for agent2 needs GOPATH environment var set, we also set GOCACHE to offload cache to /tmp

parent 31d20fbe
...@@ -65,7 +65,7 @@ export ZABBIX_AGENT_CONFIG ...@@ -65,7 +65,7 @@ export ZABBIX_AGENT_CONFIG
agent2: agent2:
tar xf zabbix-5.4.2.tar.gz tar xf zabbix-5.4.2.tar.gz
cd zabbix-5.4.2 && PATH=$$PATH:$(CURDIR)/../go/go/bin ./configure --prefix=/usr --sysconfdir=/etc --enable-agent2 --with-openssl cd zabbix-5.4.2 && PATH=$$PATH:$(CURDIR)/../go/go/bin ./configure --prefix=/usr --sysconfdir=/etc --enable-agent2 --with-openssl
$(MAKE) -C zabbix-5.4.2 PATH=$$PATH:$(CURDIR)/../go/go/bin $(MAKE) -C zabbix-5.4.2 PATH=$$PATH:$(CURDIR)/../go/go/bin GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go
$(MAKE) -C zabbix-5.4.2 install $(MAKE) -C zabbix-5.4.2 install
rm -rf zabbix-5.4.2 rm -rf zabbix-5.4.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment