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

Unable to get started. Please help #945

Closed
imulab opened this issue May 13, 2017 · 2 comments
Closed

Unable to get started. Please help #945

imulab opened this issue May 13, 2017 · 2 comments

Comments

@imulab
Copy link

imulab commented May 13, 2017

Hi All,

I followed the documentation Get Started to run dex. However, I can getting process killed every time.

[1]    6753 killed     ./bin/dex --debug serve examples/config-dev.yaml

When I tried to run cmd/dex/main.go directly from IDE. I am getting these errors.

# command-line-arguments
cmd/dex/main.go:18: undefined: commandServe
cmd/dex/main.go:19: undefined: commandVersion

Environment is Go1.7 and MacOS Sierra 10.12.4. Any help and advice is appreciated.

@jwmaag
Copy link

jwmaag commented May 13, 2017

I think I ran into this a while back, probably related to golang/go#11887

try adding -s to the LD_FLAGS environment in the Makefile

 LD_FLAGS="-w -s -X $(REPO_PATH)/version.Version=$(VERSION)"

@imulab
Copy link
Author

imulab commented May 13, 2017

tried out. it works thx!

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