skelterjohn / go.wde

Windows, drawing and events for Go
217 stars 46 forks source link

Setup on Linux was a bit more complicated than stated in the README. #9

Closed ricochet2200 closed 12 years ago

ricochet2200 commented 12 years ago

Updating the README to give more detailed instructions on how to setup this project.

skelterjohn commented 12 years ago

Thanks for the feedback.

As it happens, you only need to run "go get github.com/skelterjohn/go.wde". It will follow the import tree and fetch any other packages that it needs, if they aren't already on your system.

As for "you may need to run them as root", general advice for using "go get" properly is outside the domain of this readme. Also, you should use GOPATH so that you don't need to use sudo :) You can see instructions for the go tool (including "go get" and the GOPATH variable) here: http://golang.org/cmd/go/

ricochet2200 commented 12 years ago

Thanks for the response with the feedback.

I am new to go and was unaware that 'get go' was supposed to automatically download the dependencies as well. However, when I ran "go get github.com/skelterjohn/go.wde" it did not follow the import tree and fetch the other packages. This may be something on my end, but I thought I'd let you know.

The one thing you may consider keeping from my changes is stating that you have a mercurial dependency. I was unable to do a 'go get' from code.google.com until I installed it. This may also be something on my end but I'm guessing not. This may also have been the reason I didn't get dependencies