I&#39;ve got the same problem.<div><br></div><div>I don&#39;t have acces to the computer where I&#39;ve go the  problem (my home mac).</div><div>But if I remember correctly </div><div><br></div><div>cabal install unix-compat -V3  yielded more output, the problem </div>
<div>was due to lbutil.h, that was not present. I&#39;ve experienced the same problem on an EC2, with  a redhat fedora, by amazon.</div><div><br></div><div>On ubuntu I got it working by installing libbsd-dev or something like that.</div>
<div><br></div><div>kind regards,</div><div><br></div><div>Pieter</div><div><br></div><div>PS : funny thing is, I&#39;ve stumbled upon the problem when trying to install yesod ;-).</div><div><br></div><div><br><div class="gmail_quote">
On Tue, Mar 15, 2011 at 7:13 PM, Michael Snoyman <span dir="ltr">&lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I&#39;m having trouble compiling unix-compat with GHC 7.0.2. I&#39;m fairly<br>
certain that other users are not running into this, but I&#39;m not sure<br>
what would be wrong on my system. Here&#39;s the error I&#39;m getting:<br>
<br>
Resolving dependencies...<br>
Configuring unix-compat-0.2.1.1...<br>
cabal: Missing dependency on a foreign library:<br>
* Missing header file: HsUnixCompat.h<br>
This problem can usually be solved by installing the system package that<br>
provides this library (you may need the &quot;-dev&quot; version). If the library is<br>
already installed but in a non-standard location then you can use the flags<br>
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.<br>
cabal: Error: some packages failed to install:<br>
unix-compat-0.2.1.1 failed during the configure step. The exception was:<br>
ExitFailure 1<br>
<br>
Any ideas?<br>
<br>
Thanks,<br>
Michael<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Pieter Laeremans &lt;<a href="mailto:pieter@laeremans.org">pieter@laeremans.org</a>&gt;<br><br>&quot;The future is here. It&#39;s just not evenly distributed yet.&quot;  W. Gibson<br>

</div>