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

Cannot build assh on OpenBSD #182

Closed
noqqe opened this issue Nov 22, 2016 · 2 comments
Closed

Cannot build assh on OpenBSD #182

noqqe opened this issue Nov 22, 2016 · 2 comments
Assignees
Milestone

Comments

@noqqe
Copy link

noqqe commented Nov 22, 2016

Hi,

I tried to install assh on OpenBSD and not having a GUI at all.
I guess it fails because of the notify library

go get -u github.com/moul/advanced-ssh-config/cmd/assh
# github.com/moul/advanced-ssh-config/vendor/github.com/haklop/gnotifier
../../.go/src/github.com/moul/advanced-ssh-config/vendor/github.com/haklop/gnotifier/gnotifier.go:51: cannot use n (type *notifier) as type GNotifier in return argument:
        *notifier does not implement GNotifier (missing Push method)
# github.com/moul/advanced-ssh-config/vendor/github.com/shirou/gopsutil/process
../../.go/src/github.com/moul/advanced-ssh-config/vendor/github.com/shirou/gopsutil/process/process.go:94: undefined: Pids
../../.go/src/github.com/moul/advanced-ssh-config/vendor/github.com/shirou/gopsutil/process/process.go:111: p.Times undefined (type *Process has no field or method Times)
../../.go/src/github.com/moul/advanced-ssh-config/vendor/github.com/shirou/gopsutil/process/process.go:121: p.Times undefined (type *Process has no field or method Times)
../../.go/src/github.com/moul/advanced-ssh-config/vendor/github.com/shirou/gopsutil/process/process.go:154: undefined: mem.VirtualMemory
../../.go/src/github.com/moul/advanced-ssh-config/vendor/github.com/shirou/gopsutil/process/process.go:160: p.MemoryInfo undefined (type *Process has no field or method MemoryInfo)

How can i use assh on my machine? I dont need any notifiers.

@noqqe noqqe changed the title Cannot use assh Cannot build assh on OpenBSD Nov 22, 2016
@moul moul self-assigned this Dec 4, 2016
@noqqe
Copy link
Author

noqqe commented Dec 6, 2016

Actually these are 2 bugs.

First: Version of gopsutil does not support OpenBSD. But current changes in the Repo https://github.com/shirou/gopsutil/ show that they just introduced OpenBSD support 11 days ago. See shirou/gopsutil#283

Second: I cannot use notifications because the os is neither osx or linux. In my fork i just deleted the notification stuff and it works.

Solution to all this: make notifications unconfigurable in Makefile and update gopsutil.

@moul moul added the ready label Dec 6, 2016
@moul moul modified the milestone: v2.6.0 Jan 5, 2017
moul added a commit that referenced this issue Jan 21, 2017
@moul moul mentioned this issue Jan 21, 2017
@moul moul added in progress and removed ready labels Jan 21, 2017
@moul moul closed this as completed in #214 Jan 21, 2017
@moul moul removed the in progress label Jan 21, 2017
@moul
Copy link
Owner

moul commented Jan 21, 2017

Hey @noqqe, can you give a new try?

Thanks again for your investigation

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

2 participants