Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
psanwald opened this issue Jan 29, 2019 · 5 comments
Open

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

psanwald opened this issue Jan 29, 2019 · 5 comments

Comments

@psanwald
Copy link

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
Copy link
Contributor

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

@Rapsoulis
Copy link

Rapsoulis commented Apr 24, 2019

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
Copy link

gizmo15 commented Oct 30, 2019

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
Copy link

ryngach commented Nov 1, 2019

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants