[Haskell-cafe] unix-compat and GHC 7.0.2
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
Re: [Haskell-cafe] unix-compat and GHC 7.0.2
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 mich...@snoyman.comwrote: 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 pie...@laeremans.org The future is here. It's just not evenly distributed yet. W. Gibson ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] unix-compat and GHC 7.0.2
On Tue, Mar 15, 2011 at 1:34 PM, Pieter Laeremans pie...@laeremans.org wrote: 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 mich...@snoyman.com wrote: 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 I had the same problem and used the same solution. On Ubuntu, install 'libbsd-dev'. This was the ticket opened by Bas: http://hackage.haskell.org/trac/ghc/ticket/4974 Perhaps we should add a note about this in the GHC download page? Paulo ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] unix-compat and GHC 7.0.2
Thanks Pieter and Paulo, that solved the problem perfectly. And I'm not surprised you stumbled upon this while installing Yesod, that's what I was doing too ;). Michael On Tue, Mar 15, 2011 at 8:41 PM, Paulo Tanimoto ptanim...@gmail.com wrote: On Tue, Mar 15, 2011 at 1:34 PM, Pieter Laeremans pie...@laeremans.org wrote: 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 mich...@snoyman.com wrote: 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 I had the same problem and used the same solution. On Ubuntu, install 'libbsd-dev'. This was the ticket opened by Bas: http://hackage.haskell.org/trac/ghc/ticket/4974 Perhaps we should add a note about this in the GHC download page? Paulo ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe