rapidloop / rtop

rtop is an interactive, remote system monitoring tool based on SSH
Other
2.12k stars 161 forks source link

I run into the known issue "rtop: user: Current not implemented on linux/amd64" #10

Open hnk opened 9 years ago

hnk commented 9 years ago

There is a known issue in go on some Linux systems. I run into this on Fedora 20, so I cannot even try rtop :(

This seems to be a "WontFix" issue, so maybe you can work around it?

mdevan commented 9 years ago

Can you try building Go yourself from your Fedora box, and then use that Go binary to compile rtop?

hnk commented 9 years ago

This is the reply from the go source repo regarding the 'bug':

os/user relies on cgo, and cgo is disabled for cross compiling, thus this is expected. if you use os/user, you must compile natively on OS X. even if we enable cross compilation cgo support, I doubt everybody have a working OS X cross toolchain on their linux machine.

Status: WorkingAsIntended

I am currently not able to compile Go, but may be on Friday. Just wanted to let you know!

mdevan commented 9 years ago

As far as I can figure out the problem seems to be with the golang binaries included in Fedora. You should build Go yourself from source and compile rtop with that.

thomasehardt commented 9 years ago

Running Fedora 21 here. I ran into this as well - I used these instructions from the Go language home page to install the latest version of Go.

Then I ran into this issue, but that problem doesn't seem limited to just Fedora.

mdevan commented 9 years ago

@thomasehardt Please check if f753d19 fixes your second issue.

redhat-raptor commented 9 years ago

Same problem here with my Fedora 20 machine!