Paczesiowa / virthualenv

Virtual Haskell Environment builder
BSD 3-Clause "New" or "Revised" License
69 stars 7 forks source link

ExitFailure 11 with GHC 7.4 #40

Closed egonSchiele closed 12 years ago

egonSchiele commented 12 years ago

Trying to build from source:

virthualenv (master) $ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1

Backtrace:

virthualenv (master) $ cabal install
Resolving dependencies...
Configuring virthualenv-0.2.1...
Building virthualenv-0.2.1...
Preprocessing executable 'virthualenv' for virthualenv-0.2.1...
[ 1 of 13] Compiling Util.Cabal       ( src/Util/Cabal.hs, dist/build/virthualenv/virthualenv-tmp/Util/Cabal.o )
[ 2 of 13] Compiling Skeletons        ( src/Skeletons.hs, dist/build/virthualenv/virthualenv-tmp/Skeletons.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package split-0.1.4.2 ... linking ... done.
Loading package safe-0.3.3 ... linking ... done.
Loading package transformers-0.2.2.0 ... linking ... done.
Loading package mtl-2.0.1.0 ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.4 ... linking ... done.
Loading package old-time-1.1.0.0 ... linking ... done.
Loading package unix-2.5.1.0 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.4.2.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package file-embed-0.0.4.3 ... linking ... done.
Loading package process-1.1.0.1 ... linking ... done.
Loading package Cabal-1.14.0 ... linking ... done.
cabal: Error: some packages failed to install:
virthualenv-0.2.1 failed during the building phase. The exception was:
ExitFailure 11

Just wondering if anyone else is seeing this? On OS X 10.6.8, 64 bit. Haskell installed via the June '12 Haskell platform.

egonSchiele commented 12 years ago

Update: limiting the memory ghc uses worked for me:

cabal install --ghc-options '+RTS -M400m'