<br><div><br><div class="gmail_quote">On Fri, Jun 18, 2010 at 4:48 PM, Daniel Kahlenberg <span dir="ltr">&lt;<a href="mailto:d.kahlenberg@googlemail.com">d.kahlenberg@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;">
Hello,<br>
<br>
I recently installed HP 2010.1.0.0 within Windows 7 and wanted to<br>
upgrade the Cabal package to 1.8.0.6 today, sadly I got stuck on a<br>
failure building the &quot;directory&quot; package.<br>
<br>
So I tried to isolate the messages a bit and gave the following a try in<br>
a ghci session (1st time only with path to cygwin binaries/2nd time only<br>
with path to msys binaries added on my path variable, for both times I<br>
append the logging output):<br>
<br>
Prelude System.Cmd&gt;<br>
&gt; rawSystem &quot;cabal&quot; [&quot;upgrade&quot;, &quot;--constraint=base==4.*&quot;, &quot;directory&quot;,<br>
&gt; &quot;-v3&quot;, &quot;--user&quot;,<br>
&gt; &quot;--build-log=d:/temp/log/build-$$pkgid-$$compiler.log&quot;]<br>
<br>
Maybe we can find the cause?!<br>
<br>
Greetz<br>
<font color="#888888">Daniel<br>
</font><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br>I see on the gcc command line:<div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">
-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include</pre><pre style="word-wrap: break-word; white-space: pre-wrap; ">On my machine, HsFFI.h is in lib/include, so maybe try with --extra-include-dirs=<span class="Apple-style-span" style="font-size: small; ">-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\include</span></pre>
</span><div><br></div><div>I also ran into problems with the directory package on windows, that I got around by making sure every thing was installed with --global</div></div><br>-- <br>JP Moresmau<br><a href="http://jpmoresmau.blogspot.com/">http://jpmoresmau.blogspot.com/</a><br>

</div>