[Haskell-cafe] Installing wx via cabal

Dušan Kolář kolar at fit.vutbr.cz
Mon Feb 22 02:57:41 EST 2010


Dear all,

   Running cabal install --global wx stops very soon with the following 
error.

Building wxcore-0.12.1.2...
[ 1 of 22] Compiling Graphics.UI.WXCore.WxcObject ( 
src/haskell/Graphics/UI/WXCore/WxcObject.hs, 
dist/build/Graphics/UI/WXCore/WxcObject.o )
[ 2 of 22] Compiling Graphics.UI.WXCore.WxcDefs ( 
src/haskell/Graphics/UI/WXCore/WxcDefs.hs, 
dist/build/Graphics/UI/WXCore/WxcDefs.o )
[ 3 of 22] Compiling Graphics.UI.WXCore.WxcClassTypes ( 
src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs, 
dist/build/Graphics/UI/WXCore/WxcClassTypes.o )
[ 4 of 22] Compiling Graphics.UI.WXCore.WxcTypes ( 
src/haskell/Graphics/UI/WXCore/WxcTypes.hs, 
dist/build/Graphics/UI/WXCore/WxcTypes.o )
[ 5 of 22] Compiling Graphics.UI.WXCore.WxcClassesAL ( 
src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs, 
dist/build/Graphics/UI/WXCore/WxcClassesAL.o )
ghc: out of memory (requested 1048576 bytes)
cabal: Error: some packages failed to install:

It seems quite strange as the machine seems to have 16GB RAM and a free 
swap, can I somehow put options or so? I have ghc 10.4. installed.

Thanks

   Dusan



More information about the Haskell-Cafe mailing list