<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">Hello Haskell
people,<br>&nbsp;</span></p>



<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">I have been
trying to build hmake 3.12 using ghc-6.6 on a Fedora Core Linux running on a
dual 64-bit Opteron machine. However, I had the following error related to the
readline library:<br>&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">----</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">/home/t-alexer/packages/hmake-3.12/script/hmake
-hc=ghc HInteractive
-d/home/t-alexer/packages/hmake-3.12/targets/x86_64-Linux/obj/interpreter \</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>-i../hmake<span style="">&nbsp; </span>-package util -package base -DUSE_READLINE=1
-lreadline -lncurses</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">Warning:
package(s) util not available (according to ghc-pkg)</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">MkProg:
Can't find module Readline in user directories</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>../hmake</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp; </span>Or in installed libraries/packages at</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>/home/simonmar/fp/lib/x86_64-unknown-linux/ghc-6.6/imports</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>/home/simonmar/fp/lib/x86_64-unknown-linux/ghc-6.6/imports</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp; </span>Asked for by: SimpleLineEditor.hs</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><span style="">&nbsp; </span>Fix using the -I, -P, or -package flags.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0cm 0cm 1pt;">

<p class="MsoNormal" style="border: medium none ; padding: 0cm;"><span style="font-size: 10pt; font-family: Arial;">Stop - hmake dependency error.</span></p>----<br><br>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">I googled
for this error and I saw the following thread in which Malcolm suggested
having a fix.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"><a href="http://www.nabble.com/hmake-and-GHC-6.6-t2531880.html">http://www.nabble.com/hmake-and-GHC-6.6-t2531880.html</a></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">I tried to
locate hmake's repository but to no avail. There is no link to it from <a href="http://www.haskell.org/hmake">www.haskell.org/hmake</a> and the hmake in
the nhc repository is the same as the hmake I downloaded.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">I will appreciate any help you can offer.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">Cheers,</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;">Alexey</span></p>

P.S. A related question, has any of you tried to build ghc using hat? I am trying to do this to study ghc's internals<br><br><br></div>