Vitalts / golangide

Automatically exported from code.google.com/p/golangide
0 stars 0 forks source link

error process failed to start. #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I set "GOROOT=/usr/lib/go" in linux32.env and build the project,
the console output the following:
"/usr/lib/go/bin/go build  [/home/noah/workspace/...]

error process failed to start."
It added "bin/go" after the GOROOT("/usr/lib/go").

I had to make a link "sudo ln -s /usr/bin /usr/lib/go/bin", and It worked.
Because the go lib and pkg are in "/usr/lib/go" dir, go gofmt commands are in 
"/usr/bin" dir

Is there any better way to fix this problem?

My OS is ubuntu 12.04
Installed golang by "sudo apt-get install golang"

Thanks.

Original issue reported on code.google.com by Noah.Shen87@gmail.com on 9 Jan 2013 at 1:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
please edit linux32.env and setup GOBIN

linux32.env

GOROOT=/usr/lib/go
GOBIN=/usr/bin

Original comment by Visua...@gmail.com on 10 Jan 2013 at 4:57

GoogleCodeExporter commented 9 years ago
It worked.
Thank you

Original comment by Noah.Shen87@gmail.com on 10 Jan 2013 at 5:30

GoogleCodeExporter commented 9 years ago
please update to x16, fix the bug, not setup GOBIN

Original comment by Visua...@gmail.com on 16 Jan 2013 at 3:24