Closed archywillhe closed 9 years ago
I am pretty new to Haskell. After some read up I learnt that it was because I have a base-4.8 while bnfc-system-tests base>=4.5 && <4.8. My ghc is version 7.10.1. Looks like I would need to figure out how to run an older version of ghc for this.
It turns out we can cabal build with an older version of ghc by simply
cabal install -w ghc-7.8.4
where ghc-7.8.4
is in path
.
(as suggested by Daniel Wagner on stackoverflow)
Yes, I should update the dependencies. In the mean time, you can simply try to change the cabal file to allow base 4.8 (and then report whether or not it works here as I'd be interested ;-))
Note that the system tests assume that you have a lot of tools available on your machine (gcc, lex yacc, ocamlc, ocamllex, ocamlyacc, javac...)
alright; I just gave it a go, and immediately ran into this:
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: bnfc-system-tests-0.1.0.0 (user goal)
trying: HTF-0.13.1.0 (dependency of bnfc-system-tests-0.1.0.0)
trying: unix-2.7.1.0/installed-457... (dependency of HTF-0.13.1.0)
next goal: shelly (dependency of bnfc-system-tests-0.1.0.0)
rejecting: shelly-1.6.3.3, 1.6.3.2, 1.6.3.1, 1.6.3, 1.6.2.5, 1.6.2.4, 1.6.2.3,
1.6.2.2, 1.6.2.1, 1.6.2, 1.6.1.2, 1.6.1.1, 1.6.1, 1.6.0.1, 1.6.0, 1.5.7
(conflict: bnfc-system-tests => shelly==1.5.6)
rejecting: shelly-1.5.6 (conflict: unix => time==1.5.0.1/installed-30e...,
shelly => time>=1.3 && <1.5)
rejecting: shelly-1.5.5, 1.5.4.1, 1.5.4, 1.5.3.2, 1.5.3.1, 1.5.2, 1.5.1.1,
1.5.1, 1.5.0.1, 1.4.4.2, 1.4.4.1, 1.4.4, 1.4.3.1, 1.4.3, 1.4.2, 1.4.1,
1.4.0.2, 1.4.0.1, 1.3.2, 1.3.1, 1.3.0.7, 1.3.0.6, 1.3.0.5, 1.3.0.4, 1.3.0.3,
1.3.0.2, 1.3.0.1, 1.3.0.0, 1.2.0.0, 1.1.0.0, 1.0.0.0, 0.15.4.1, 0.15.4,
0.15.3.3, 0.15.3.2, 0.15.3.1, 0.15.3, 0.15.2, 0.15.1, 0.15.0, 0.14.3,
0.14.2.3, 0.14.2.2, 0.14.2.1, 0.14.2, 0.14.1, 0.14.0.1, 0.14, 0.13.5.1,
0.13.5, 0.13.4, 0.13.3, 0.13.2.1, 0.13.2, 0.13.1, 0.13.0.1, 0.13, 0.12.2,
0.12.1.1, 0.12.1, 0.12.0.2, 0.12.0.1, 0.12, 0.11, 0.10.0.1, 0.10, 0.9.7.3,
0.9.7.2, 0.9.7.1, 0.9.7, 0.9.6, 0.9.5.1, 0.9.5, 0.9.4.2, 0.9.4.1, 0.9.3,
0.9.2, 0.9.0, 0.8.0.2, 0.8.0.1, 0.7.1, 0.7, 0.6, 0.5.1, 0.5.0, 0.4.1, 0.4,
0.3.1, 0.3.0.2, 0.3.0.1, 0.3.0, 1.5.3, 1.5 (conflict: bnfc-system-tests =>
shelly==1.5.6)
Backjump limit reached (change with --max-backjumps).
shelly 1.5.6 can't take unix time of 1.5.0.1.
I init a cabal sandbox in /testing, but i encountered the following problem with
cabal install --only-dependencies --enable-tests