Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

GOOS=windows make error #26

Open
ozgursevgi opened this issue Oct 5, 2017 · 2 comments
Open

GOOS=windows make error #26

ozgursevgi opened this issue Oct 5, 2017 · 2 comments

Comments

@ozgursevgi
Copy link

GOOS=windows make
rm -r /usr/local/go/ransomware/bin || true
rm: cannot remove '/usr/local/go/ransomware/bin': No such file or directory
mkdir -p /usr/local/go/ransomware/build/ransomware /usr/local/go/ransomware/build/unlocker /usr/local/go/ransomware/build/server
openssl genrsa -out /usr/local/go/ransomware/build/server/private.pem 4096
Generating RSA private key, 4096 bit long modulus
..........................++
..............++
e is 65537 (0x010001)
openssl rsa -in /usr/local/go/ransomware/build/server/private.pem -outform PEM -pubout -out /usr/local/go/ransomware/build/ransomware/public.pem
writing RSA key
cd /usr/local/go/ransomware/build/ransomware && go-bindata -pkg main -o public_key.go public.pem
/bin/sh: 1: go-bindata: not found
Makefile:22: recipe for target 'pre-build' failed
make: *** [pre-build] Error 127

@mauri870
Copy link
Owner

I recommend to use the docker installation because it is more simple and less error prone.

Your error is related to the gobindata tool, please check if your $GOPATH/bin is appended to your $PATH and don't forget to run make deps as described in the README.

@UN5T48L3
Copy link

UN5T48L3 commented Jul 2, 2018

same issue,

how to fix it?
I am new on Golang.

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

No branches or pull requests

3 participants