[Haskell-cafe] Installing wx via cabal

Jeremy O'Donoghue jeremy.odonoghue at gmail.com
Mon Feb 22 05:32:11 EST 2010


Hi Dusan,

I've never seen this problem, and I have far less than 16GB (it works
for me on a 2MB Windows XP laptop). One thing I have never tried is
compiling on a 64 bit system.

Can you tell me any more about your system (Windows/Mac/Linux, 32 or 64
bit OS). GHC 6.10.4 (which is the version I assume you mean) is supposed
to be supported.

You can mail me off-list to investigate further, as details may not be
so interesting to list subscribers. If we find anything significant, we
can post this to list later.

Regards
Jeremy

On Mon, 22 Feb 2010 08:57 +0100, "Dušan Kolář" <kolar at fit.vutbr.cz>
wrote:
> 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
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-- 
  Jeremy O'Donoghue
  jeremy.odonoghue at gmail.com



More information about the Haskell-Cafe mailing list