monkit icon indicating copy to clipboard operation
monkit copied to clipboard

undefined: proc in os.go line 31

Open lstep opened this issue 8 years ago • 1 comments

When trying to compile a simple program with monkit (version taken with go get gopkg.in/spacemonkeygo/monkit.v2/...), I get an error:

# gopkg.in/spacemonkeygo/monkit.v2/environment
../../../../gopkg.in/spacemonkeygo/monkit.v2/environment/os.go:31: undefined: proc

I don't see where that proc is defined...

lstep avatar Jun 27 '16 13:06 lstep

interesting, https://github.com/spacemonkeygo/monkit/blob/v2/environment/proc_linux.go defines it on linux, and https://github.com/spacemonkeygo/monkit/blob/v2/environment/proc_other.go defines it on not linux. what does go env say for you?

jtolio avatar Jun 27 '16 16:06 jtolio