zarplata / zabbix-agent-extension-mysql

Zabbix extension for monitoring mysql.
23 stars 18 forks source link

build error on Ubuntu 18.04: recipe for target 'build' failed #6

Open psanwald opened 5 years ago

psanwald commented 5 years ago

When I try to make, I get the following error on Ubuntu 18.04: /bin/sh: 1: go: not found Makefile:27: recipe for target 'build' failed make: *** [build] Error 127

tears-of-noobs commented 5 years ago

@psanwald Hi. You should install Go lang compiler on your machine with Ubuntu 18.04.

Rapsoulis commented 5 years ago

Hi, I'm having an issue when I try to "make" the installation.

Clean dependencies rm -rf vendor/* Clean builded binaries rm -rf .out/ Done Fetch dependencies dep ensure -v /root/zabbix-agent-extension-mysql is not within a known GOPATH/src Makefile:36: recipe for target 'deps' failed make: *** [deps] Error 1

I'm not sure where to find this file or how to obtain it - since there is nothing about it in the installation documentation. Any suggestions how to proceed? (Running Ubuntu 18.04)

gizmo15 commented 4 years ago

I have the same error :

Clean dependencies rm -rf vendor/* Clean builded binaries rm -rf .out/ Done Fetch dependencies dep ensure -v make: dep: Command not found Makefile:36: recipe for target 'deps' failed make: *** [deps] Error 127

ryngach commented 4 years ago

try: export GOPATH=/usr/local cd /usr/local/src

git clone https://github.com/zarplata/zabbix-agent-extension-mysql.git cd zabbix-agent-extension-mysql make make install

zeduperes commented 4 years ago

I have the same error :

Clean dependencies rm -rf vendor/* Clean builded binaries rm -rf .out/ Done Fetch dependencies dep ensure -v make: dep: Command not found Makefile:36: recipe for target 'deps' failed make: *** [deps] Error 127

You must have dep installed, try : curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh