Skip to content
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

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

Open
t-8ch opened this issue Aug 10, 2015 · 9 comments
Open

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

t-8ch opened this issue Aug 10, 2015 · 9 comments

Comments

@t-8ch
Copy link

t-8ch commented Aug 10, 2015

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

@andruby
Copy link

andruby commented Sep 7, 2015

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
Copy link

zires commented Oct 19, 2015

@andruby did you find any solution?

@BurntSushi
Copy link
Owner

This is where I got stuck last time: #8 (comment)

@andruby
Copy link

andruby commented Oct 19, 2015

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
Copy link

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
Copy link
Author

t-8ch commented Dec 10, 2015

@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
Copy link

ottbot commented Mar 17, 2016

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
Copy link

ensonic commented Feb 16, 2018

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants