Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

installation issue #9

Closed
Mehran opened this issue Jul 10, 2017 · 6 comments
Closed

installation issue #9

Mehran opened this issue Jul 10, 2017 · 6 comments

Comments

@Mehran
Copy link

Mehran commented Jul 10, 2017

First i had some problem to installing glide and 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
Copy link
Owner

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

Is this Kali or what?

@evilsocket
Copy link
Owner

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

@Mehran
Copy link
Author

Mehran commented Jul 10, 2017

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

@evilsocket
Copy link
Owner

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
Copy link
Author

Mehran commented Jul 10, 2017

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
Copy link
Owner

evilsocket commented Jul 10, 2017 via email

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

2 participants