BurntSushi / erd

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.
The Unlicense
1.8k stars 156 forks source link

Release new version with relaxed requirement on `base` to hackage #14

Open t-8ch opened 9 years ago

t-8ch commented 9 years ago

Currently erd as published to hackage (version 0.1.3.0) can not be installed out of the box on 7.10.

andruby commented 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.
zires commented 9 years ago

@andruby did you find any solution?

BurntSushi commented 9 years ago

This is where I got stuck last time: https://github.com/BurntSushi/erd/pull/8#issuecomment-94173031

andruby commented 9 years ago

I cloned the repo and built it from source as explained on the readme. Then copied dist/build/erd/erd to /usr/local/bin

supernoveau commented 8 years ago

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).

t-8ch commented 8 years ago

@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

ottbot commented 8 years ago

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?

ensonic commented 6 years ago

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
drjonnicholson commented 6 years ago

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...