
I've got the same problem.
I don't have acces to the computer where I've go the problem (my home mac).
But if I remember correctly
cabal install unix-compat -V3 yielded more output, the problem
was due to lbutil.h, that was not present. I've experienced the same problem
on an EC2, with a redhat fedora, by amazon.
On ubuntu I got it working by installing libbsd-dev or something like that.
kind regards,
Pieter
PS : funny thing is, I've stumbled upon the problem when trying to install
yesod ;-).
On Tue, Mar 15, 2011 at 7:13 PM, Michael Snoyman
Hi all,
I'm having trouble compiling unix-compat with GHC 7.0.2. I'm fairly certain that other users are not running into this, but I'm not sure what would be wrong on my system. Here's the error I'm getting:
Resolving dependencies... Configuring unix-compat-0.2.1.1... cabal: Missing dependency on a foreign library: * Missing header file: HsUnixCompat.h This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. cabal: Error: some packages failed to install: unix-compat-0.2.1.1 failed during the configure step. The exception was: ExitFailure 1
Any ideas?
Thanks, Michael
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Pieter Laeremans