{"action":"created","issue":{"url":"https://api.github.com/repos/ghcjs/ghcjs/issues/300","labels_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/300/comments","events_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/300/events","html_url":"https://github.com/ghcjs/ghcjs/issues/300","id":56127923,"number":300,"title":"Trouble installing on Travis CI","user":{"login":"ryantm","id":4804,"avatar_url":"https://avatars.githubusercontent.com/u/4804?v=3","gravatar_id":"","url":"https://api.github.com/users/ryantm","html_url":"https://github.com/ryantm","followers_url":"https://api.github.com/users/ryantm/followers","following_url":"https://api.github.com/users/ryantm/following{/other_user}","gists_url":"https://api.github.com/users/ryantm/gists{/gist_id}","starred_url":"https://api.github.com/users/ryantm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryantm/subscriptions","organizations_url":"https://api.github.com/users/ryantm/orgs","repos_url":"https://api.github.com/users/ryantm/repos","events_url":"https://api.github.com/users/ryantm/events{/privacy}","received_events_url":"https://api.github.com/users/ryantm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-31T15:16:04Z","updated_at":"2015-02-01T15:25:49Z","closed_at":null,"body":"Hello.\r\n\r\nSorry in advance if you do not keep technical support issues here.\r\n\r\nI am having trouble installing GHCJS on Travis CI. My travis file is at \r\n\r\nhttps://github.com/talklibre/talklibre/blob/master/.travis.yml\r\n\r\nand it calls \r\n\r\nhttps://github.com/talklibre/talklibre/blob/master/install-dependencies.sh\r\n\r\nand the logs are at\r\n\r\nhttps://travis-ci.org/talklibre/talklibre\r\ncabal install --reorder-goals --max-backjumps=-1 ./ghcjs ./ghcjs-prim\r\ncabal: The program 'ghcjs' version >=0.1 is required but it could not be\r\nfound.\r\n\r\nI am currently trying to figure out the problem so those files might be changing. The error message I am seeing is\r\n\r\n````\r\ncabal install --reorder-goals --max-backjumps=-1 ./ghcjs ./ghcjs-prim\r\ncabal: The program 'ghcjs' version >=0.1 is required but it could not be\r\nfound.\r\n````\r\n\r\nI am trying to follow the installation instructions in the README but I probably made a mistake. Has anyone seen that before? Any advice?\r\n"},"comment":{"url":"https://api.github.com/repos/ghcjs/ghcjs/issues/comments/72369080","html_url":"https://github.com/ghcjs/ghcjs/issues/300#issuecomment-72369080","issue_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/300","id":72369080,"user":{"login":"ryantm","id":4804,"avatar_url":"https://avatars.githubusercontent.com/u/4804?v=3","gravatar_id":"","url":"https://api.github.com/users/ryantm","html_url":"https://github.com/ryantm","followers_url":"https://api.github.com/users/ryantm/followers","following_url":"https://api.github.com/users/ryantm/following{/other_user}","gists_url":"https://api.github.com/users/ryantm/gists{/gist_id}","starred_url":"https://api.github.com/users/ryantm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryantm/subscriptions","organizations_url":"https://api.github.com/users/ryantm/orgs","repos_url":"https://api.github.com/users/ryantm/repos","events_url":"https://api.github.com/users/ryantm/events{/privacy}","received_events_url":"https://api.github.com/users/ryantm/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T15:25:49Z","updated_at":"2015-02-01T15:25:49Z","body":"I think I figured out what was wrong. I was trying to install it in the same directory where my ghcjs package project was and I have a cabal.config file in there with `compiler: ghcjs`, so it was trying to use that to install ghcjs, which isn't going to work of course. I added --ghc to the cabal install command and the build got past this step."}}