Closed CreativeWolf closed 7 years ago
can you sudo ldconfig and try again?
Same error:
cw@WolfDen:~/go/src/github.com/evilsocket/xray$ sudo ldconfig [sudo] password for cw: cw@WolfDen:~/go/src/github.com/evilsocket/xray$ make install_dependencies glide install make: glide: Command not found Makefile:15: recipe for target 'install_dependencies' failed make: *** [install_dependencies] Error 127
I do see the glide binary in your GOPATH, so it should work, no idea why it's not .... open new terminal and try again?
Opened new terminal
sudo ldconfig
make install_dependencies
Same error...
i see same error after setting the environment properly & while running this make install_dependencies
Could you please run:
$GOPATH/bin/glide -v
root@localhost:~/go/src/github.com/evilsocket/xray# $GOPATH/bin/glide -v
glide version 0.13.0-dev
root@localhost:~/go/src/github.com/evilsocket/xray#
cw@WolfDen:~/go/src/github.com/evilsocket/xray$ $GOPATH/bin/glide -v glide version 0.13.0-dev
Ok, now for the last question:
Did you update your $PATH appending your $GOPATH/bin ? :D
i did this:
export GOPATH=$HOME/go
then sourced it.
export PATH=$PATH:$GOPATH/bin
That fixed the issue with make install_dependencies
Now make build
fails
cw@WolfDen:~/go/src/github.com/evilsocket/xray$ make build go-bindata -o cmd/xray/ui.go -pkg main ui make: go-bindata: Command not found Makefile:30: recipe for target 'static' failed make: *** [static] Error 127
Add $GOPATH/bin to your $PATH guys ( I added it in my .zshrc for instance ):
export GOPATH="$HOME/gocode"
export PATH="$PATH:$GOPATH/bin"
cw@WolfDen:~/go/src/github.com/evilsocket/xray$ go get -u github.com/jteeuwen/go-bindata/ cw@WolfDen:~/go/src/github.com/evilsocket/xray$ make build go-bindata -o cmd/xray/ui.go -pkg main ui make: go-bindata: Command not found Makefile:30: recipe for target 'static' failed make: *** [static] Error 127
@CreativeWolf read the README
with above install_dependencies
solved, but the final step n error:
root@localroot:~/go/src/github.com/evilsocket/xray# make build
go-bindata -o cmd/xray/ui.go -pkg main ui
make: go-bindata: Command not found
Makefile:30: recipe for target 'static' failed
make: *** [static] Error 127
Thanks, that sorted it! Appreciate your help =)
@madaratech you too, read the README!
haha sorry i see it now, and it worked, thanks @evilsocket :)
victory dance
┏(・o・)┛♪┗ (・o・) ┓
Heya,
Interesting project!
Here's the error I'm getting while running
make install_dependencies
Go Version:
Output of ls -la $GOPATH/bin
Appreciate guidance in getting xray up and running :)
Thanks