{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/infer/issues/124","labels_url":"https://api.github.com/repos/facebook/infer/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/facebook/infer/issues/124/comments","events_url":"https://api.github.com/repos/facebook/infer/issues/124/events","html_url":"https://github.com/facebook/infer/issues/124","id":92940303,"number":124,"title":"Error while trying to make infer.","user":{"login":"Polyg0n","id":5068526,"avatar_url":"https://avatars.githubusercontent.com/u/5068526?v=3","gravatar_id":"","url":"https://api.github.com/users/Polyg0n","html_url":"https://github.com/Polyg0n","followers_url":"https://api.github.com/users/Polyg0n/followers","following_url":"https://api.github.com/users/Polyg0n/following{/other_user}","gists_url":"https://api.github.com/users/Polyg0n/gists{/gist_id}","starred_url":"https://api.github.com/users/Polyg0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polyg0n/subscriptions","organizations_url":"https://api.github.com/users/Polyg0n/orgs","repos_url":"https://api.github.com/users/Polyg0n/repos","events_url":"https://api.github.com/users/Polyg0n/events{/privacy}","received_events_url":"https://api.github.com/users/Polyg0n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-03T21:43:24Z","updated_at":"2015-10-23T16:54:04Z","closed_at":"2015-07-04T05:54:04Z","body":"##### *EDIT:*\r\nOS Specs:\r\nOS X 10.10.4 \"Yosemite\"\r\n\r\nSo I made sure I correctly followed the installation instructions, but this error arises when I try to use\r\n```bash\r\nmake -C infer\r\n```\r\nHere is the error I get:\r\n![screen shot 2015-07-03 at 3 40 03 pm](https://cloud.githubusercontent.com/assets/5068526/8505074/2235c388-219a-11e5-9638-0f4f26cf4a1f.png)\r\n\r\nI can see that it's atdgen causing the issue, is this a simple \"reinstall atdgen\"? Or something else?\r\n\r\n##### *EDIT:*\r\nI tried uninstalling and reinstalling atdgen using opam. And still nothing. When I try to use the \"atdgen\" command in my terminal I get:\r\n\"-bash: atdgen: command not found\"\r\nI'm assuming this could be an issue of atdgen not being on my PATH. But then why would the output as shown in my screencap say \"atdgen: No such file or directory\"?\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/infer/issues/comments/150631809","html_url":"https://github.com/facebook/infer/issues/124#issuecomment-150631809","issue_url":"https://api.github.com/repos/facebook/infer/issues/124","id":150631809,"user":{"login":"jvillard","id":1083541,"avatar_url":"https://avatars.githubusercontent.com/u/1083541?v=3","gravatar_id":"","url":"https://api.github.com/users/jvillard","html_url":"https://github.com/jvillard","followers_url":"https://api.github.com/users/jvillard/followers","following_url":"https://api.github.com/users/jvillard/following{/other_user}","gists_url":"https://api.github.com/users/jvillard/gists{/gist_id}","starred_url":"https://api.github.com/users/jvillard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvillard/subscriptions","organizations_url":"https://api.github.com/users/jvillard/orgs","repos_url":"https://api.github.com/users/jvillard/repos","events_url":"https://api.github.com/users/jvillard/events{/privacy}","received_events_url":"https://api.github.com/users/jvillard/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T16:54:04Z","updated_at":"2015-10-23T16:54:04Z","body":"@joshualan you probably need to run `eval $(opam config env)` to add opam's to your PATH, etc.\r\n\r\nTo avoid doing this every time you open a new console, you can install opam:\r\n\r\n```sh\r\nopam config setup --all\r\n```"}}