evilsocket / xray

XRay is a tool for recon, mapping and OSINT gathering from public networks.
GNU General Public License v3.0
2.19k stars 297 forks source link

installation issue #9

Closed Mehran closed 7 years ago

Mehran commented 7 years ago

First i had some problem to installing glideand go-bindata , i think you should add apt-get install go-bindata on dependencies .

and

curl -L $(curl -s https://api.github.com/repos/Masterminds/glide/releases/latest | grep 'browser_' | cut -d\" -f4 | grep 'linux-amd64.tar.gz') > glide.tar.gz &&
tar --strip-components=1 -C /usr/bin -xzf glide.tar.gz linux-amd64/glide &&
rm glide.tar.gz

Helped to fix glide issue ,

and now

root@xray:~/work/src/github.com/evilsocket/xray# make build
go-bindata -o cmd/xray/ui.go -pkg main ui
# command-line-arguments
cmd/xray/bfs.go:54: undefined: AssetDir
cmd/xray/bfs.go:54: undefined: AssetInfo
Makefile:35: recipe for target 'build' failed
make: *** [build] Error 2
evilsocket commented 7 years ago

If you follow the README and make sure your Go installation has been configured properly, everything works.

Is this Kali or what?

evilsocket commented 7 years ago

Can you provide the version of Go you're using and what OS?

Mehran commented 7 years ago

go version go1.8.3 linux/amd64 , and ubuntu 16.4

evilsocket commented 7 years ago

I think there's a difference between the go-bindata version that has been packaged for Ubuntu and the one I'm using directly from github ... use the README instructions to install it.

Mehran commented 7 years ago

your instructions got some errors to me :

[INFO]  --> Fetching gopkg.in/yaml.v2
[WARN]  Unable to checkout github.com/elazarl/go-bindata-assetfs
[ERROR] Update failed for github.com/elazarl/go-bindata-assetfs: Unable to get repository
[WARN]  Unable to checkout github.com/miekg/dns
[ERROR] Update failed for github.com/miekg/dns: Unable to get repository
[WARN]  Unable to checkout github.com/gin-gonic/gin
[ERROR] Update failed for github.com/gin-gonic/gin: Unable to get repository
[WARN]  Unable to checkout github.com/olekukonko/tablewriter
[ERROR] Update failed for github.com/olekukonko/tablewriter: Unable to get repository
[WARN]  Unable to checkout github.com/evilsocket/brutemachine
[ERROR] Update failed for github.com/evilsocket/brutemachine: Unable to get repository
[ERROR] Failed to install: Unable to get repository

when i run again make get_glide

[INFO] --> Exporting github.com/ugorji/go [INFO] --> Exporting golang.org/x/net [INFO] --> Exporting gopkg.in/yaml.v2 [INFO] --> Exporting golang.org/x/sys [INFO] --> Exporting gopkg.in/go-playground/validator.v8 [INFO] Replacing existing vendor dependencies root@xray:~/work/src/github.com/evilsocket/xray#

No ERRORS .

root@xray:~/work/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
evilsocket commented 7 years ago

There's definitely something very wrong going on with your Go environment, you can verify yourself that those repositories indeed exist :) Il giorno lun 10 lug 2017 alle 13:34 Mehran notifications@github.com ha scritto:

your instructions got some errors to me :

[INFO] --> Fetching gopkg.in/yaml.v2 [WARN] Unable to checkout github.com/elazarl/go-bindata-assetfs [ERROR] Update failed for github.com/elazarl/go-bindata-assetfs: Unable to get repository [WARN] Unable to checkout github.com/miekg/dns [ERROR] Update failed for github.com/miekg/dns: Unable to get repository [WARN] Unable to checkout github.com/gin-gonic/gin [ERROR] Update failed for github.com/gin-gonic/gin: Unable to get repository [WARN] Unable to checkout github.com/olekukonko/tablewriter [ERROR] Update failed for github.com/olekukonko/tablewriter: Unable to get repository [WARN] Unable to checkout github.com/evilsocket/brutemachine [ERROR] Update failed for github.com/evilsocket/brutemachine: Unable to get repository [ERROR] Failed to install: Unable to get repository

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/evilsocket/xray/issues/9#issuecomment-314080389, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFTimbfgebfJkkJ2Ug3lk0hVqIHW0Bqks5sMgxhgaJpZM4OSrHE .