<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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The hake on the Haskell website is not the same hake as the hake which builds Barrelfish. They are completely different programs with the same name. Barrelfish
hake.sh relies on using Barrelfish hake. Can you try again without any references to the hake from the Haskell website?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Konstantin Zertsekel [mailto:zertsekel@gmail.com]
<br>
<b>Sent:</b> 23 July 2011 20:30<br>
<b>To:</b> barrelfish-users@lists.inf.ethz.ch<br>
<b>Subject:</b> [Barrelfish] [Barrelfish-users] Compiling barrelfish for ARM<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">please help to compile barrelfish for ARM on Ubuntu 10.04 x86 machine.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">What I've done:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">* installed haskell using apt-get<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">* downloaded hake-1.3.4 from haskell website to ~/dev/hake<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">* downloaded barrelfish source code to ~/dev/<a href="http://hg.barrelfish.org">hg.barrelfish.org</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">* created ~/dev/<a href="http://hg.barrelfish.org/my_build">hg.barrelfish.org/my_build</a> and cd-ed into it<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">* run ../hake/hake.sh -s .. -i ~/dev/hake -a ARM with the next output:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">--------------------------------------------------------------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">konszert@kosta-ubuntu:~/dev/<a href="http://hg.barrelfish.org/my_build$">hg.barrelfish.org/my_build$</a> ../hake/hake.sh -s .. -i ~/dev/hake/ -a ARM<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">../hake/hake.sh: line 70: [: missing `]'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Install directory is /home/konszert/dev/hake/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Source directory is ..<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Architectures to build: "ARM"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Setting up hake build directory...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">You already have Config.hs, leaving it as-is.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Creating new <a href="http://symbolic_targets.mk">symbolic_targets.mk</a> file.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cp: cannot stat `../hake/<a href="http://symbolic_targets.mk">symbolic_targets.mk</a>': No such file or directory<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Building hake...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><command line>: cannot satisfy -package ghc-paths<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> (use -v for more information)<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">--------------------------------------------------------------------------------<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">So, this fails with "cannot satisfy -package ghc-paths"...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Can anybody provide some tips? ... <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Note: of course I played with various parameters for ../hake/hake.sh and tried to fix PATH variable - in vail :-(<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--- Kosta<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>