<DIV><BR><BR>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman">I am sorry to trouble you but I have problems to install Haskell.</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman">Things run smoothly when I do the command ¡®./configure¡¯, But some errors appeared when I</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman">run the command ¡®make¡¯. The details are as follows(in red font):</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">Distribution/Client/HttpUtils.hs:127:49:</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>Couldn't match expected type `network-<st1:chsdate w:st="on" IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899">2.2.1</st1:chsdate>.2:Network.URI.URI'</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>against inferred type `URI'</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>In the fourth argument of `AuthBasic', namely `uri'</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>In the first argument of `Just', namely</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>`(AuthBasic "" usr pwd uri)'</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>In the expression: Just (AuthBasic "" usr pwd uri)</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><o:p><FONT face="Times New Roman" color="#f00000">&nbsp;</FONT></o:p></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">Distribution/Client/HttpUtils.hs:135:37:</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>Couldn't match expected type `network-<st1:chsdate w:st="on" IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899">2.2.1</st1:chsdate>.2:Network.URI.URI'</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>against inferred type `URI'</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>In the `rqURI' field of a record</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>In the expression:</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>Request</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>{rqURI = uri, rqMethod = GET,</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>rqHeaders = [Header HdrUserAgent userAgent],</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>rqBody = ByteString.empty}</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>In the definition of `mkRequest':</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>mkRequest uri</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>= Request</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>{rqURI = uri, rqMethod = GET,</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>rqHeaders = [Header HdrUserAgent userAgent],</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>rqBody = ByteString.empty}</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>where</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman"><FONT color="#f00000"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>userAgent = "cabal-install/" ++ display Paths_cabal_install.version</FONT></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><o:p><FONT face="Times New Roman" color="#f00000">&nbsp;</FONT></o:p></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">Error:</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">Building the cabal-install-<st1:chsdate w:st="on" IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899">0.6.2 p</st1:chsdate>ackage failed</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">make: *** [build.stamp] Error 2</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman">If I install cabal-install manually, the errors will be:</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000"># /usr/bin/runhaskell Setup configure</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">Configuring cabal-install-<st1:chsdate w:st="on" IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899">0.6.2</st1:chsdate>...</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">Warning: This package indirectly depends on multiple versions of the same</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">package. This is highly likely to cause a compile failure.</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">package HTTP-4000.0.6 requires network-<st1:chsdate w:st="on" IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899">2.2.1</st1:chsdate>.2</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US"><FONT face="Times New Roman" color="#f00000">package cabal-install-<st1:chsdate w:st="on" IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899">0.6.2</st1:chsdate>requires network-2.2.1.4</FONT></SPAN></P></DIV>