Closed Gembeltz closed 6 years ago
how to fix
Same : make -e GOOS=windows rm -r /root/ransomware/bin || true rm: cannot remove '/root/ransomware/bin': No such file or directory mkdir -p /root/ransomware/build/ransomware /root/ransomware/build/unlocker /root/ransomware/build/server openssl genrsa -out /root/ransomware/build/server/private.pem 4096 Generating RSA private key, 4096 bit long modulus ...................................................++ ..............................................................................................................................................++ e is 65537 (0x010001) openssl rsa -in /root/ransomware/build/server/private.pem -outform PEM -pubout -out /root/ransomware/build/ransomware/public.pem writing RSA key cd /root/ransomware/build/ransomware && go-bindata -pkg main -o public_key.go public.pem rsrc -manifest ransomware.manifest -ico icon.ico -o /root/ransomware/build/ransomware/ransomware.syso cp /root/ransomware/build/ransomware/ransomware.syso /root/ransomware/build/unlocker/unlocker.syso cd /root/ransomware/cmd && cp -r ransomware unlocker server /root/ransomware/build cd /root/ransomware/build/server && env GOOS=linux go run /src/crypto/tls/generate_cert.go --host localhost stat /src/crypto/tls/generate_cert.go: no such file or directory Makefile:21: recipe for target 'pre-build' failed make: *** [pre-build] Error 1
Found solution. All is ok. Thanks.
how did you solve it?
Set $GOROOT to point to your Go source tree. In my case is /usr/local/go