evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.91k stars 509 forks source link

minor Makefile trouble #221

Closed Herve5 closed 3 years ago

Herve5 commented 5 years ago

Hello, On Ubuntu 18, Go version 1.10.4, when following the install script I get (...) go get -u github.com/golang/dep/cmd/dep (...) make (...) make[1] : entering « /home/herve5/go/src/github.com/evilsocket/opensnitch/daemon » make[1]: dep: Command not found Makefile:10: recipe for target 'deps' failed make[1]: *** [deps] Error 127

As the go get command didn't return errors for dep, I don't know what to do?

TIA! Hervé

TheRealAgentK commented 5 years ago

Pretty much been getting the same when running make:

make[1]: Entering directory '/home/kai/development/go/src/github.com/evilsocket/opensnitch/proto'
python3 -m grpc_tools.protoc -I. --python_out=../ui/opensnitch/ --grpc_python_out=../ui/opensnitch/ ui.proto
make[1]: Leaving directory '/home/kai/development/go/src/github.com/evilsocket/opensnitch/proto'
make[1]: Entering directory '/home/kai/development/go/src/github.com/evilsocket/opensnitch/daemon'
make[1]: dep: Command not found
Makefile:10: recipe for target 'deps' failed
make[1]: *** [deps] Error 127
make[1]: Leaving directory '/home/kai/development/go/src/github.com/evilsocket/opensnitch/daemon'
Makefile:11: recipe for target 'daemon/opensnitchd' failed
make: *** [daemon/opensnitchd] Error 2

Using Go 1.11.2 on Ubuntu 18.04, all previous commands seem to have worked fine.

TheRealAgentK commented 5 years ago

Was able to get over this hurdle by actually making sure that GOPATH/bin is in the PATH.

gustavo-iniguez-goya commented 3 years ago

This issue is solved (and old). The compilation instructions have been updated here: https://github.com/gustavo-iniguez-goya/opensnitch/wiki/Compilation