<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am trying to install cabal-install 0.8.2 with GHC 6.12.1 on a CentOS 5.2 system and am running up against a &#8216;ExitFailure 127&#8217; error.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I can download the package and run &#8216;cabal install&#8217; inside the package directory and all will be fine, but if I let cabal download and install the package cabal runs into problems as soon as it tries to configure.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>For example, if I try &#8216;cabal install permutation --verbose=3&#8217; it finishes like this:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'>link: done<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>*** Deleting temp files:<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Deleting: /tmp/ghc1324_0/ghc1324_0.lpp<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>*** Deleting temp dirs:<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Deleting: /tmp/ghc1324_0<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>/tmp/permutation-0.4.132758/permutation-0.4.1/dist/setup/setup configure<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>--verbose=3 --ghc --prefix=/home/chris/.cabal --user --constraint=base<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>==3.0.3.2 --constraint=ghc-prim ==0.2.0.0<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>cabal: Error: some packages failed to install:<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>permutation-0.4.1 failed during the configure step. The exception was:<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>ExitFailure 127<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I have tried the same exercise with GHC 6.10.4 with cabal-install 0.8.0 the same results.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I have downloaded the Cabal sources to try and add some instrumentation to find out what is going wrong I have yet to succeed.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Does anybody have any suggestions? Is there an easier way of getting cabal-install working on CentOS?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Any help much appreciated!<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Chris<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>