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

Installation issues #39

Closed
mcdejonge opened this issue Sep 17, 2018 · 6 comments
Closed

Installation issues #39

mcdejonge opened this issue Sep 17, 2018 · 6 comments
Assignees

Comments

@mcdejonge
Copy link

Hi,

Cool tool!

I did have some issues installing on OS X + Homebrew, though:

  • cabal install erd does not work at all
  • Installing manually fails as well:
    • base is set to be larger than 4.5, but the current version is 4.11 which for some reason is not seen as being larger than 4.5 (probably a cabal issue?). Workaround: set base >= 4.1
    • graphviz is not installed automatically, so you need to manually do cabal install graphviz

Once you've done this, however, building and running erd works fine.

I suspect both of these are cabal issues and not so much erd issues, but it might be nice to mention them in the installation instructions.

@rgoubet
Copy link

rgoubet commented Sep 26, 2018

Hi,

I'm trying to run erd, but have no knowledge whatsoever about Haskell and cabal. For your workaround on the first issue, how do you set base >= 4.1 ?

Thanks!

@mcdejonge
Copy link
Author

You can do this in the cabal file in the source directory (erd.cabal)

@mmzx
Copy link
Collaborator

mmzx commented Feb 11, 2019

Please let us know whether installation with cabal succeeds as mentioned in #27 .
The command would be cabal install --allow-newer erd.
Alternatively, you may use stack, the configuration has just been added.

@mmzx mmzx self-assigned this Feb 11, 2019
@zhujinxuan
Copy link
Collaborator

zhujinxuan commented Feb 26, 2019

Hi, I think it is due to, when @BurntSushi publishing the package last time, the cabal file is base == 4.7.* (http://hackage.haskell.org/package/erd-0.1.3.0/src/erd.cabal)

Hi, @BurntSushi, can you republish with current cabal? (where base is an range)

As a temporary solution, cabal install --allow-newer erd.

@mmzx
Copy link
Collaborator

mmzx commented Mar 9, 2019

In order to publish erd on hackage the version has to be increased ( #52 ). Once the PRs are all reviewed would be nice to do this.

@mmzx
Copy link
Collaborator

mmzx commented Mar 9, 2019

However, the request in this ticket: increasing version of base, has already been done.

@mmzx mmzx closed this as completed Mar 9, 2019
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

4 participants