[Haskell-cafe] Build error with network/snap w/win7 haskell platform
Adam Turoff
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
haskell platform.
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 (
src\Snap\Snaplet\Internal\Types.hs,
dist\build\Snap\Snaplet\Internal\Types.o )
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-2.3.0.7 ... linking ... ghc.exe: unable to
load package `network-2.3.0.7'
ghc.exe: C:\Users\aturoff\AppData\Roaming\cabal\network-2.3.0.7\ghc-7.0.3\HSnetwork-2.3.0.7.o:
unknown symbol `_acceptNewSock'
cabal.exe: Error: some packages failed to install:
snap-0.6.0.2 failed during the building phase. The exception was:
ExitFailure 1
Any ideas? The platform comes with network-2.3.0.2, 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==2.3.0.2 as a
dependency just rebuilds it as a user package.
Thanks,
-- Adam
More information about the Haskell-Cafe
mailing list