{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1945","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1945/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1945/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1945/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1945","id":114024782,"number":1945,"title":"\"go tool: no such tool \"6g\"\" when running any go build config","user":{"login":"stevewest","id":2370734,"avatar_url":"https://avatars.githubusercontent.com/u/2370734?v=3","gravatar_id":"","url":"https://api.github.com/users/stevewest","html_url":"https://github.com/stevewest","followers_url":"https://api.github.com/users/stevewest/followers","following_url":"https://api.github.com/users/stevewest/following{/other_user}","gists_url":"https://api.github.com/users/stevewest/gists{/gist_id}","starred_url":"https://api.github.com/users/stevewest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevewest/subscriptions","organizations_url":"https://api.github.com/users/stevewest/orgs","repos_url":"https://api.github.com/users/stevewest/repos","events_url":"https://api.github.com/users/stevewest/events{/privacy}","received_events_url":"https://api.github.com/users/stevewest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels/feedback%20required","name":"feedback required","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-29T10:50:47Z","updated_at":"2015-10-29T10:59:35Z","closed_at":null,"body":"When running any go run configuration (go application, single file or test) I am encountering the \"no such tool\" error. From what I understand this is because the `GOROOT` environment variable is not set correctly. I have tried setting it manually via PhpStorm's environment settings for the run configuration with no success, I have also confirmed that the paths defined in the `Go Libraries` settings section are correct.\r\n\r\nRunning any of the Go tools via a regular terminal either inside or outside of the IDE work without issue.\r\n\r\nIDEA version: `PhpStorm 9.0.2`\r\n\r\nOS version: `Linux Mint 17 Cinnamon 64-bit`\r\n\r\nJDK version:\r\n```\r\njava version \"1.7.0_85\"\r\nOpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.14.04.1)\r\nOpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)\r\n```\r\nPlugin version: `0.9.562`\r\n\r\nGo version: `1.2`"},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/152146872","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1945#issuecomment-152146872","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1945","id":152146872,"user":{"login":"stevewest","id":2370734,"avatar_url":"https://avatars.githubusercontent.com/u/2370734?v=3","gravatar_id":"","url":"https://api.github.com/users/stevewest","html_url":"https://github.com/stevewest","followers_url":"https://api.github.com/users/stevewest/followers","following_url":"https://api.github.com/users/stevewest/following{/other_user}","gists_url":"https://api.github.com/users/stevewest/gists{/gist_id}","starred_url":"https://api.github.com/users/stevewest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevewest/subscriptions","organizations_url":"https://api.github.com/users/stevewest/orgs","repos_url":"https://api.github.com/users/stevewest/repos","events_url":"https://api.github.com/users/stevewest/events{/privacy}","received_events_url":"https://api.github.com/users/stevewest/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T10:59:35Z","updated_at":"2015-10-29T10:59:35Z","body":"I was simply running through the things I have tried. I originally had the same issue in general as the GOROOT was not set so thought the issue might be related.\r\n\r\nMy go binary is at `/usr/bin/go` and was installed using apt from the Mint official repos.\r\n\r\nThe SDK libraries are under `/usr/lib/go` and the top level directories are: `doc`, `lib`, `pkg`, `src`.\r\n\r\nGo works without issue when not using the plugin, it's only when attempting to run anything via the plugin's provided run configurations that the issue occurs."}}