<div class="gmail_quote">On 22 January 2011 17:04, Daniel Fischer <span dir="ltr">&lt;<a href="mailto:daniel.is.fischer@googlemail.com">daniel.is.fischer@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Saturday 22 January 2011 17:42:39, Aaron Gray wrote:<br>
&gt; &gt; What&#39;s your locale?<br>
&gt; &gt; Could also be that GHC tries to interpret UTF-8 in your locale and<br>
&gt; &gt; barfs on that.<br>
&gt;<br>
&gt; Not sure ? Vista&#39;s default.<br>
&gt;<br>
<br>
</div>Which probably isn&#39;t UTF-8. There must be an analogue of locale on Windows<br>
to check.</blockquote><div><br></div><div>Not sure I thought it was UTF-8.</div><div> </div><div>Its behaving differently on different Vista machines.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">
&gt; &gt; &gt; Are you on Windows ?<br>
&gt; &gt;<br>
&gt; &gt; No, linux.<br>
&gt;<br>
&gt; Ah<br>
&gt;<br>
&gt; How do I get Cabal to install a package from disk rather than from the<br>
&gt; internet ?<br>
<br>
</div>If it&#39;s unpacked, just cd into the package directory and do a<br>
<br>
$ cabal install<br>
<br>
there (optionally provide further command line args, but not the package<br>
name)<br>
<br>
or<br>
<br>
$ runghc ./Setup.hs configure --user<br>
$ runghc ./Setup.hs build<br>
$ runghc ./Setup.hs install<br>
<br>
If it&#39;s a .tar.gz, I don&#39;t know if cabal already supports installing those<br>
from a specified location (i.e., not from hackage or its cache).<br><br></blockquote><div><br></div><div>Thanks,</div><div><br></div><div>Aaron</div><div> </div></div>