[Haskell-cafe] help with cabal; trying to escape from configuration hell

Anton van Straaten anton at appsolutions.com
Tue Sep 22 11:42:41 EDT 2009

S. Doaitse Swierstra wrote:
> I am trying to run happstack on my Mac, but unfortunately I am getting 
> error messages as described in:
> http://code.google.com/p/happstack/issues/detail?id=88
> The cure seems to be to downgrade to network-, but unfortunately 
> my installed cabal depends on network-

There's a better cure if you're willing to modify & build Happstack. 
Gregory Collins describes it in this message:


It needs to be applied in the following file:


Replace the definition of acceptLite with the one in the above email,
and rebuild happstack-server.

The problem seems to be that on OS X, the Template Haskell code to 
detect at compile time whether IPv6 support is available is failing and 
causing the wrong code to get compiled in.


More information about the Haskell-Cafe mailing list