Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译出错 #953

Open
sjby365 opened this issue Feb 28, 2018 · 4 comments
Open

编译出错 #953

sjby365 opened this issue Feb 28, 2018 · 4 comments

Comments

@sjby365
Copy link

sjby365 commented Feb 28, 2018

rm -rfv bin/*
CGO_ENABLED=0 go build -v -a -ldflags "-X "github.com/Dataman-Cloud/swan"/version.version=v1.0.5-rc1 -X "github.com/Dataman-Cloud/swan"/version.gitCommit=v1.0.5-rc1-0-ge3568b0-dirty -X "github.com/Dataman-Cloud/swan"/version.buildTime=2018-02-28:08-28-32 -w -s" -o bin/swan main.go
main.go:4:2: cannot find package "github.com/Dataman-Cloud/swan/cmd" in any of:
/usr/lib/golang/src/github.com/Dataman-Cloud/swan/cmd (from $GOROOT)
/root/go/src/github.com/Dataman-Cloud/swan/cmd (from $GOPATH)
make: *** [build] Error 1

@gorilla001
Copy link

gorilla001 commented Feb 28, 2018

@sjby365 GOPATH 没有设置对吧?你源码的目录在哪?GOPATH咋设置的?

@sjby365
Copy link
Author

sjby365 commented Feb 28, 2018

已解决 不过启动侦听后web的ui界面在哪?直接./bin/swan manager启动后访问相关ip加端口是404 @pwzgorilla

@gorilla001
Copy link

@sjby365 没有web ui

@xiaods
Copy link
Contributor

xiaods commented Feb 28, 2018

@sjby365 加了支持marathon UI的需求 #950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants