Closed Wolfsrudel closed 9 years ago
Hello Wolfsrudel,
My opinion is that those instructions are not provided because golang has a simple, generic way of installing and building packages.
Provided you have set the GOPATH environment variable correctly, all you have to do is type the following command:
go get github.com/sjmudd/pstop
This will automatically fetch the required source packages from github along with dependencies, build them and compile the binary under GOPATH/bin.
Hope that helps!
Hi, lot of thanks for your project. But if i try to install, some troubles:
root@new:/tmp/pstop# go get github.com/sjmudd/pstop github.com/go-sql-driver/mysql /usr/lib/go/src/pkg/github.com/go-sql-driver/mysql/driver.go:65: undefined: net.Dialer
any idea to fix?
Hi Aleksraiden!
Please use Go 1.2 or later. go-sql-driver/mysql does not support earlier versions.
Tanji, thanks for responding for me. I am indeed using go 1.3 and did not add specific instructions on how to get this going. I was also considering building (but haven't decided) binaries (rpm) but for a single file I'm not sure if that is worthwhile. Akeksraiden: I hope that you have got pstop running now.
This site build pstop for me.
In the readme could you please provide an instruction how to install the required golang components and how to build pstop. I also would appreciate to have a precompiled binary file. ;)