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

"FATAL | Impossible to detect current user" #1

Closed
voxxit opened this issue Nov 2, 2014 · 4 comments
Closed

"FATAL | Impossible to detect current user" #1

voxxit opened this issue Nov 2, 2014 · 4 comments
Assignees

Comments

@voxxit
Copy link

voxxit commented Nov 2, 2014

When I download the Darwin x86_64 release of 0.9, chmod +x and move to /usr/local/bin/ah, run it, I get the following:

➜ ~ ah
FATAL | Impossible to detect current user

Any ideas?

@9seconds
Copy link
Owner

9seconds commented Nov 2, 2014

It seems that cross-compilation toolkit bundled with Go is not as good as I thought. I have no any OS X around me right now, could you please try to compile it from sources?

@cryptix
Copy link

cryptix commented Nov 2, 2014

If you only use currentUser to get $HOME, you can use homedir. it's pure go and doesn't rely on CGO so cross-compilation is not an issue.

@9seconds
Copy link
Owner

9seconds commented Nov 2, 2014

Cool, thank you!

I have no possibility to try it on OS X, could someone pretty please try if it works?
https://www.dropbox.com/sh/d4vpkc8rh617ctl/AACDBH9KFJdsFgI6cXwepkgTa?dl=0

@cryptix
Copy link

cryptix commented Nov 2, 2014

Works like a charm! 👍

9seconds added a commit that referenced this issue Nov 2, 2014
- Execution problems on OS X (issue #1)
- Possibility to set custom temporary directory (issue #3)
@9seconds 9seconds closed this as completed Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants