Skip to content

Instantly share code, notes, and snippets.

@seckcoder
Last active August 29, 2015 14:09
Embed
What would you like to do?
cabal install stm

ghc: 7.8.3

cabal-install version 1.20.0.3

using version 1.20.0.2 of the Cabal library

OS: Mac OS X Lion 10.7.5

After running cabal install stm:

~/code/lang-learn/haskell@seckcoder$ cabal install stm
Resolving dependencies...
Notice: installing into a sandbox located at
/Users/seckcoder/code/lang-learn/haskell/.cabal-sandbox
Configuring stm-2.4.3...
Building stm-2.4.3...
Failed to install stm-2.4.3
Build log ( /Users/seckcoder/code/lang-learn/haskell/.cabal-sandbox/logs/stm-2.4.3.log ):
Configuring stm-2.4.3...
Building stm-2.4.3...
Preprocessing library stm-2.4.3...
[ 1 of 10] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs, dist/dist-sandbox-80b25535/build/Control/Sequential/STM.o )

Control/Sequential/STM.hs:40:2: parse error on input ‘x’
cabal: Error: some packages failed to install:
stm-2.4.3 failed during the building phase. The exception was:
ExitFailure 1

ghc-pkg list

/usr/local/Cellar/ghc/7.8.3/lib/ghc-7.8.3/package.conf.d
   Cabal-1.18.1.4
   array-0.5.0.0
   base-4.7.0.1
   bin-package-db-0.0.0.0
   binary-0.7.1.0
   bytestring-0.10.4.0
   containers-0.5.5.1
   deepseq-1.3.0.2
   directory-1.2.1.0
   filepath-1.3.0.2
   ghc-7.8.3
   ghc-prim-0.3.1.0
   haskeline-0.7.1.2
   haskell2010-1.1.2.0
   haskell98-2.0.0.3
   hoopl-3.10.0.1
   hpc-0.6.0.1
   integer-gmp-0.5.1.0
   old-locale-1.0.0.6
   old-time-1.1.0.2
   pretty-1.1.1.1
   process-1.2.0.0
   rts-1.0
   template-haskell-2.9.0.0
   terminfo-0.4.0.0
   time-1.4.2
   transformers-0.3.0.0
   unix-2.7.0.1
   xhtml-3000.2.1
/Users/seckcoder/.ghc/x86_64-darwin-7.8.3/package.conf.d
   Boolean-0.2.3
   MonadPrompt-1.0.0.5
   NumInstances-1.4
   auto-update-0.1.2
   brainfuck-0.1
   cmdargs-0.10.12
   data-inttrie-0.1.0
   data-memocombinators-0.5.1
   dependent-map-0.1.1.2
   dependent-sum-0.2.1.0
   dependent-sum-template-0.0.0.1
   dlist-0.7.1
   erf-2.0.0.0
   exceptions-0.6.1
   extensible-exceptions-0.1.1.4
   flexible-defaults-0.0.1.1
   ghc-mtl-1.2.1.0
   ghc-paths-0.1.0.9
   knob-0.1.1
   lazysmallcheck-0.6
   logfloat-0.12.1
   logict-0.6.0.2
   mmorph-1.0.4
   mtl-2.1.3.1
   network-2.6.0.2
   numbers-3000.2.0.1
   regex-base-0.93.2
   regex-pcre-0.94.4
   safe-0.3.8
   show-0.6
   simple-reflect-0.3.2
   simple-sendfile-0.2.18
   split-0.2.2
   syb-0.4.2
   th-extras-0.0.0.2
   unix-compat-0.4.1.3
   unlambda-0.1.3
   zlib-0.5.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment