rupesh4514 / grammatical-framework

Automatically exported from code.google.com/p/grammatical-framework
0 stars 0 forks source link

build on Debian stable fails #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download code from github
2. cabal install                              

What do you see instead?

Resolving dependencies...
cabal: dependencies conflict: base-3.0.3.2 requires syb ==0.1.0.2 however
syb-0.1.0.2 was excluded because json-0.7 requires syb >=0.3.3

What version of the product are you using? On what operating system?

Debian stable

%  ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1

Please provide any additional information below.

Original issue reported on code.google.com by jeanmarc.vanel on 26 Oct 2012 at 8:33

GoogleCodeExporter commented 9 years ago
This is not directly a problem with GF, but a result of the Hackage "dependency 
hell", that can affect any software that depends on several packages from 
Hackage. As such, I don't think there is anything we can do to fix it in GF...

Debian stable comes with rather old versions of the Haskell tools 
(haskell-platform 2010.1.0.0.1, which is older than what we recommend on the GF 
download page), in particular Cabal 1.8 + cabal-install 0.8 are not good at 
dealing with "dependcy hell".

On Debian Stable, when you do "cabal update", it suggests that you upgrade to a 
newer version if cabal-install. After I did that, I was able to install GF with 
"cabal install --force-reinstalls". I was also able to build a .deb package, 
which is now available here:

   http://www.grammaticalframework.org/~hallgren/tmp/Debian-Stable/

Original comment by hallg...@chalmers.se on 26 Oct 2012 at 1:03

GoogleCodeExporter commented 9 years ago

Original comment by hallg...@chalmers.se on 29 Jan 2013 at 4:30