<br><br><div class="gmail_quote">On Mon, Jun 29, 2009 at 11:57 AM, Andrew Coppin <span dir="ltr">&lt;<a href="mailto:andrewcoppin@btinternet.com">andrewcoppin@btinternet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Andrew Coppin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Indeed. I&#39;ve heard a few people claim that cabal-install is the best thing since sliced bread, but I&#39;ve never touched it. I don&#39;t even know where to get it. (Presumably this will become fairly obvious once I go look for it...)<br>

</blockquote>
<br></div>
Fortunately, it turns out that a trivial Google search is all that is required to locate cabal-install. (Assuming you already know it exists.) Unfortunately I got as far as actually downloading the sources from Hackage before discovering that on Windows you actually need to download the pre-build binary. (Couldn&#39;t you mention this on the Hackage download page?)<br>

<br>
Also fortunately, it appears to be pretty trivial to operate cabal-install. I didn&#39;t bother reading any instructions, just cabal --help. (Not sure why it needs to download the package list from Hackage - or where it puts it. But I&#39;m sure there&#39;s a good reason.)<br>

<br>
Rather less fortunately, it still doesn&#39;t actually fix my problem:<br>
<br>
E:\Haskell\AOC-HalfInteger&gt;cabal configure<br>
Resolving dependencies...<br>
Configuring AOC-HalfInteger-1.0...<br>
<br>
E:\Haskell\AOC-HalfInteger&gt;cabal sdist<div class="im"><br>
Building source dist for AOC-HalfInteger-1.0...<br>
Preprocessing library AOC-HalfInteger-1.0...<br></div>
Source tarball created: dist\AOC-HalfInteger-1.0.tar.gz<br>
cabal: dist\src\sdist.1288\AOC-HalfInteger-1.0\Data\HalfInteger.hs: removeFile: permission denied (Permission denied)<br>
<br>
I have no idea what the hell it&#39;s upset about now... I&#39;ve now been trying to create this damned tarball since 5PM yesterday, and I still haven&#39;t managed it. At this point I&#39;m losing the will to continue with this crazy project. Clearly this is way too much effort to expend just to upload 50 lines of code.</blockquote>
<div><br>I can&#39;t say for certain, but just reading the output it looks like it created a tarball in a temporary folder (that worked) and then when it tried to clean it up it failed.  Sounds like a bug report is in order.<br>
<br>Jason<br></div></div><br>