<div dir="ltr"><div>Firstly, thanks to all who helped. </div><div><br></div>apt-get install -f doesn't help. I solved the problem using the answer in this link:<div><br></div><div><a href="http://askubuntu.com/questions/588695/cant-install-libglew-dev-because-libcheese-and-libclutter-dont-have-the-requir">http://askubuntu.com/questions/588695/cant-install-libglew-dev-because-libcheese-and-libclutter-dont-have-the-requir</a><br></div><div><br></div><div><br></div><div>which is to do <br><div><br></div><div>sudo apt-get install  libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0  xserver-xorg-input-all<br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 8:54 AM, Dario Bertini <span dir="ltr"><<a href="mailto:berdario@gmail.com" target="_blank">berdario@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Ubuntu I usually rely on hvr's ppa to install ghc and cabal<br>
<br>
<a href="https://launchpad.net/~hvr/+archive/ubuntu/ghc" target="_blank">https://launchpad.net/~hvr/+archive/ubuntu/ghc</a><br>
<br>
and then I'd use stackage to have a set of libraries you can rely on install<br>
<br>
<a href="http://www.stackage.org/lts" target="_blank">http://www.stackage.org/lts</a><br>
<br>
sorry if this is a non-answer, anyhow if your error is the same as on<br>
that askubuntu question it seems unrelated to Haskell, have you tried<br>
`apt-get install -f` like mentioned in the comment?<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>