Skip to content

Can't install Happstack in Windows

Windows 7 Professional x64

During the failing install process, I see three popups about missing Cygwin dll's.

C:\>ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.3
C:\>cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library
C:\>cabal install happstack
Resolving dependencies...
Configuring network-2.2.1.10...
expr: not found
sed: not found
C:\Program Files (x86)\OpenSSH\bin\sh.exe (4704): *** couldn't allocate cygwin h
eap, Win32 error 0, base 0x910000, top 0x912000, reserve_size 8192, allocsize 81
92, page_const 4096
C:\Program Files (x86)\OpenSSH\bin\sh.exe (4704): *** couldn't allocate cygwin h
eap, Win32 error 0, base 0x910000, top 0x912000, reserve_size 8192, allocsize 81
92, page_const 4096
    141 [main] sh 2708 sync_with_child: child 4704(0x110) died before initializa
tion with status code 0x1
   9834 [main] sh 2708 sync_with_child: *** child state waiting for longjmp
configure: Cannot fork: Resource temporarily unavailable
cabal: Error: some packages failed to install:
MissingH-1.1.0.3 depends on network-2.2.1.10 which failed to install.
happstack-6.0.0 depends on network-2.2.1.10 which failed to install.
happstack-ixset-6.0.1 depends on network-2.2.1.10 which failed to install.
happstack-server-6.0.3 depends on network-2.2.1.10 which failed to install.
happstack-state-6.0.0 depends on network-2.2.1.10 which failed to install.
happstack-util-6.0.0 depends on network-2.2.1.10 which failed to install.
hslogger-1.1.4 depends on network-2.2.1.10 which failed to install.
network-2.2.1.10 failed during the configure step. The exception was:
ExitFailure 2
network-bytestring-0.1.3.4 depends on network-2.2.1.10 which failed to
install.
sendfile-0.7.3 depends on network-2.2.1.10 which failed to install.

I'm worried that various Cygwin/MinGW programs I use are interfering with Haskell/Cabal:

Trac metadata
Trac field Value
Version 7.0.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information