Open t-8ch opened 9 years ago
I'm also bumping into this issue:
$ brew install install ghc cabal-install
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.2
$ cabal update
$ cabal install erd
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: erd-0.1.3.0 (user goal)
next goal: base (dependency of erd-0.1.3.0)
rejecting: base-4.8.1.0/installed-075... (conflict: erd => base==4.7.*)
rejecting: base-4.8.1.0, 4.8.0.0, 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0,
4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1,
4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global constraint requires
installed instance)
Dependency tree exhaustively searched.
@andruby did you find any solution?
This is where I got stuck last time: https://github.com/BurntSushi/erd/pull/8#issuecomment-94173031
I cloned the repo and built it from source as explained on the readme. Then copied dist/build/erd/erd
to /usr/local/bin
Hi. I'm also getting this same issue with ghc 7.10.1. What is the correct version of ghc to use?
Also, I don't have the option to configure and make, because that's suggesting the dependencies are missing (following the directions in the readme to clone from git).
@BurntSushi I didn't test it but the changelog of Graphviz says, it is now compatible to 7.10.* http://projects.haskell.org/graphviz/changelog.html
Both installing erd
from source and cabal install erd --allow-newer
seem to able to build the simple.rd
file. Is the issue with graphviz resolved?
Confirming that cabal install erd --allow-newer
works too. When installing from the sources this worked for me:
git clone https://github.com/BurntSushi/erd
cd erd
cabal sandbox init
cabal install
cabal build
I can confirm that cabal install erd --allow-newer
installed erd
for me. Can an update be made to the read me to suggest this fix if cabal install erd
doesn't work at first? Would save people time trying to find a solution...
Currently
erd
as published to hackage (version 0.1.3.0) can not be installed out of the box on 7.10.