moul / assh

:computer: make your ssh client smarter
https://manfred.life/assh
MIT License
3.06k stars 156 forks source link

Unable to install due to number of errors #226

Open grappler opened 7 years ago

grappler commented 7 years ago

I am using go version go1.3.3 linux/arm and RASPBIAN JESSIE LITE 4.4 on a Raspberry Pi 2 Model B.

When running go get -u github.com/moul/advanced-ssh-config/cmd/assh

I get this error.

github.com/shirou/gopsutil/host
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:7: sizeofPtr redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:7
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:8: sizeofShort redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:8
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:9: sizeofInt redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:9
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:10: sizeofLong redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:10
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:11: sizeofLongLong redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:11
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:12: sizeOfUtmp redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:12
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:16: _C_short redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:16
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:17: _C_int redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:17
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:18: _C_long redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:18
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:19: _C_long_long redeclared in this block
    previous declaration at work/src/github.com/shirou/gopsutil/host/host_linux_arm.go:19
work/src/github.com/shirou/gopsutil/host/host_linux_arm64.go:19: too many errors
bachya commented 7 years ago

I was in the same boat on my Pi; installing version 1.7.3 from the Hypriot folks fixed the issue for me.

moul commented 7 years ago

Just added a note about the minimal Golang version in the README (534a01f9f189920204eef4a3b1e8331f4e5c56f0)