<div dir="ltr"><div><div>It looks like the "readline" library(the C one, not the Haskell one) is missing on your system. Can you install it via your distributions package manager (assuming you're using Linux)?<br><br></div>Like;<br> <br></div> $ sudo apt-get install libreadline-dev # could be libreadline6-dev<code></code></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 25 Jan 2016 at 09:22 Vasili I. Galchin <<a href="mailto:vigalchin@gmail.com">vigalchin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">1) ghc version 7.6.3<br>
<br>
2) cabal version 1.16.0.2<br>
<br>
3) when i run "cabal install",<br>
<br>
I receive on stdout :<br>
<br>
Resolving dependencies...<br>
Configuring readline-1.0.3.0...<br>
checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>
checking for suffix of executables...<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking for GNUreadline.framework... checking for readline... no<br>
checking for tputs in -lncurses... no<br>
checking for tputs in -ltermcap... no<br>
checking for tputs in -lcurses... no<br>
checking for rl_readline_version... no<br>
configure: error: readline not found, so this package cannot be built<br>
See `config.log' for more details.<br>
Failed to install readline-1.0.3.0<br>
cabal: Error: some packages failed to install:<br>
hoq-0.3 depends on readline-1.0.3.0 which failed to install.<br>
readline-1.0.3.0 failed during the configure step. The exception was:<br>
ExitFailure 1<br>
<br>
4) I googled Haskell and readline and I found the same error with<br>
other Haskell packages like Twitter.<br>
<br>
<br>
How do I resolve my build readline problem?<br>
<br>
Vasya<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>