[Haskell-cafe] Build error with network/snap w/win7 haskell platform
adam.turoff at gmail.com
Wed Nov 16 00:38:05 CET 2011
I'm trying to build snap-0.6 on win7/x64 with the current 64-bit
I have the mingw compilers from the platform in $PATH, and I can get
the network and snap-server modules to build. But snap-0.6 fails:
[18 of 31] Compiling Snap.Snaplet.Internal.Types (
Loading package ghc-prim ... linking ... done.
Loading package murmur-hash-0.1.0.4 ... linking ... done.
Loading package parsec-3.1.2 ... linking ... done.
Loading package network-188.8.131.52 ... linking ... ghc.exe: unable to
load package `network-184.108.40.206'
unknown symbol `_acceptNewSock'
cabal.exe: Error: some packages failed to install:
snap-0.6.0.2 failed during the building phase. The exception was:
Any ideas? The platform comes with network-220.127.116.11, but cabal insists
on upgrading it. Is there some way to force cabal to use the version
that came with the platform instead? Specifying network==18.104.22.168 as a
dependency just rebuilds it as a user package.
More information about the Haskell-Cafe