-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build cabal-dev-0.9.2 #99
Comments
I'm posting here because I have the same versions of cabal and ghc, but a different error after line
|
In my case, I had both Did the following to get
Seems to have worked in my case. |
That was it for me too, I had both of those versions of template-haskell installed. Thanks, Mark. I'll leave this issue open in case you all want to do anything with it, but things are working for me. |
In my case the log is the same, but at the end: src\Distribution\Dev\CabalInstall.hs:118:3:Segmentation fault/access violation i I use ghc-7.4.2 It seems a problem in the compiler with the template Haskell version. The cabal-dev.cabal file warn about the problem:
the markandrus solution works for me too. |
I had the same problem as markandrus, and managed to solve it using
|
Hi, I'm unable to build cabal-dev (or install it via cabal). Here's my system details:
$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0.3 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.2
And the error:
$ cabal build
Building cabal-dev-0.9.2...
Preprocessing executable 'ghc-pkg-6_8-compat' for cabal-dev-0.9.2...
Preprocessing executable 'fake-ghc-cabal-dev' for cabal-dev-0.9.2...
Preprocessing executable 'cabal-dev' for cabal-dev-0.9.2...
[ 8 of 19] Compiling Distribution.Dev.CabalInstall ( src/Distribution/Dev/CabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/CabalInstall.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package zlib-0.5.4.0 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.5.2.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... 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.1 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package time-1.4 ... linking ... done.
Loading package tar-0.4.0.1 ... linking ... done.
Loading package setenv-0.1.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package text-0.11.2.3 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package network-2.3.1.0 ... linking ... done.
Loading package HTTP-4000.2.5 ... linking ... done.
Loading package process-1.1.0.1 ... linking ... done.
Loading package Cabal-1.16.0.3 ... linking ... done.
cabal --help
Interrogating cabal-install executable:
cabal install --help
cabal install --help
cabal update --help
cabal list --help
cabal info --help
cabal fetch --help
cabal unpack --help
cabal check --help
cabal sdist --help
cabal upload --help
cabal report --help
cabal init --help
cabal configure --help
cabal build --help
cabal copy --help
cabal haddock --help
cabal clean --help
cabal hscolour --help
cabal register --help
cabal test --help
cabal bench --help
cabal upgrade --help
cabal help --help
src/Distribution/Dev/CabalInstall.hs:118:3:
Illegal type variable name: `'
When splicing a TH declaration: stringToCommand ::
I'm just learning Haskell so I'm not having too much success debugging this myself, but am happy to help if you need other information.
The text was updated successfully, but these errors were encountered: