{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/intero/issues/243","repository_url":"https://api.github.com/repos/commercialhaskell/intero","labels_url":"https://api.github.com/repos/commercialhaskell/intero/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/intero/issues/243/comments","events_url":"https://api.github.com/repos/commercialhaskell/intero/issues/243/events","html_url":"https://github.com/commercialhaskell/intero/issues/243","id":173607415,"number":243,"title":"\"/usr/bin/ld: cannot find -ltinfo\" on first run instead of helpful message","user":{"login":"unhammer","id":56868,"avatar_url":"https://avatars.githubusercontent.com/u/56868?v=3","gravatar_id":"","url":"https://api.github.com/users/unhammer","html_url":"https://github.com/unhammer","followers_url":"https://api.github.com/users/unhammer/followers","following_url":"https://api.github.com/users/unhammer/following{/other_user}","gists_url":"https://api.github.com/users/unhammer/gists{/gist_id}","starred_url":"https://api.github.com/users/unhammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unhammer/subscriptions","organizations_url":"https://api.github.com/users/unhammer/orgs","repos_url":"https://api.github.com/users/unhammer/repos","events_url":"https://api.github.com/users/unhammer/events{/privacy}","received_events_url":"https://api.github.com/users/unhammer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/intero/labels/component:%20emacs","name":"component: emacs","color":"bfdadc"},{"url":"https://api.github.com/repos/commercialhaskell/intero/labels/priority:%20medium","name":"priority: medium","color":"fbca04"},{"url":"https://api.github.com/repos/commercialhaskell/intero/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-27T17:55:09Z","updated_at":"2016-09-23T11:11:31Z","closed_at":null,"body":"Setting up my project on a previously unused computer running Ubuntu 15.10 I get this:\r\n```\r\nIntero is not installed in the Stack environment.\r\n\r\nInstalling intero-0.1.18 automatically ...\r\n\r\nintero-0.1.18: configure\r\nintero-0.1.18: build\r\n\r\n--  While building package intero-0.1.18 using:\r\n      /home/unhammer/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.18.1.5-ghc-7.8.4 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.18.1.5 build --ghc-options \" -ddump-h\\\r\ni -ddump-to-file\"\r\n    Process exited with code: ExitFailure 1\r\n    Logs have been written to: /home/unhammer/src/foo/.stack-work/logs/intero-0.1.18.log\r\n\r\n    Configuring intero-0.1.18...\r\n    Building intero-0.1.18...\r\n    Preprocessing executable 'intero' for intero-0.1.18...\r\n    [1 of 8] Compiling GhciTypes        ( src/GhciTypes.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/GhciTypes.o )\r\n    [2 of 8] Compiling GhciMonad        ( src/GhciMonad.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/GhciMonad.o )\r\n    [3 of 8] Compiling GhciTags         ( src/GhciTags.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/GhciTags.o )\r\n    [4 of 8] Compiling GhciInfo         ( src/GhciInfo.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/GhciInfo.o )\r\n    [5 of 8] Compiling GhciFind         ( src/GhciFind.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/GhciFind.o )\r\n    [6 of 8] Compiling Paths_intero     ( .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen/Paths_intero.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/inter\\\r\no-tmp/Paths_intero.o )\r\n    [7 of 8] Compiling InteractiveUI    ( src/InteractiveUI.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/InteractiveUI.o )\r\n    [8 of 8] Compiling Main             ( src/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero-tmp/Main.o )\r\n    Linking .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/intero/intero ...\r\n    /usr/bin/ld: cannot find -ltinfo\r\n    collect2: error: ld returned 1 exit status\r\nCould not install Intero!\r\n```\r\n\r\nApparantly I had to `sudo apt-get install libtinfo-dev`. Could this solution maybe go in the error message?"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/intero/issues/comments/249164957","html_url":"https://github.com/commercialhaskell/intero/issues/243#issuecomment-249164957","issue_url":"https://api.github.com/repos/commercialhaskell/intero/issues/243","id":249164957,"user":{"login":"Blaisorblade","id":289960,"avatar_url":"https://avatars.githubusercontent.com/u/289960?v=3","gravatar_id":"","url":"https://api.github.com/users/Blaisorblade","html_url":"https://github.com/Blaisorblade","followers_url":"https://api.github.com/users/Blaisorblade/followers","following_url":"https://api.github.com/users/Blaisorblade/following{/other_user}","gists_url":"https://api.github.com/users/Blaisorblade/gists{/gist_id}","starred_url":"https://api.github.com/users/Blaisorblade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blaisorblade/subscriptions","organizations_url":"https://api.github.com/users/Blaisorblade/orgs","repos_url":"https://api.github.com/users/Blaisorblade/repos","events_url":"https://api.github.com/users/Blaisorblade/events{/privacy}","received_events_url":"https://api.github.com/users/Blaisorblade/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T11:11:31Z","updated_at":"2016-09-23T11:11:31Z","body":"This could also be useful in stack BTW."}}
{"actor":{"display_login":"Blaisorblade"}}