failed to install HTTP-4000.2.4 when executing `cabal install cabal-install`

Hi Friends, When I tried to update cabal-install today by doing `cabal install cabal-install`, I got the following message due to failure in compiling Network/HTTP/Auth.hs, here is a screenshot of the process I am using Mac OS 10.8.4, and I installed haskell from homebrew. Does this mean something might have went wrong when I installed haskell? I have Xcode 5.1.1 and the latest command line tools installed. Does anyone know what might be going wrong? Thank you so much for your help! Best, Hengchu

On Saturday 19 April 2014, 16:08:31, hengchu Zhang wrote:
I am using Mac OS 10.8.4, and I installed haskell from homebrew. Does this mean something might have went wrong when I installed haskell?
No, it means that the HTTP package has no upper bound on its dependency on the network package, and the type of Network.URI.relativeTo changed in network-2.4.0.0 versus network-2.3.* You can try either cabal install --constraint="HTTP >= 4000.2.5" cabal-install or cabal install --constraint="network < 2.4" cabal-install Either way, check with the --dry-run flag first whether cabal reports any problems.
participants (2)
-
Daniel Fischer
-
hengchu Zhang