GithubHelp home page GithubHelp logo

Comments (7)

mmzx avatar mmzx commented on July 17, 2024

About maintenance, fortunately on the contrary. 👍

Could you please post here your ghc version that you've used to build? ghc -v

Also, there are build instructions in the readme, including running the tool via docker. First of all I highly recommend you to look at it. In case you get stuck, please ask ahead!

from erd.

mmzx avatar mmzx commented on July 17, 2024

Also, what is the command you use for building it?

from erd.

muraii avatar muraii commented on July 17, 2024

I'm installing with a simple cabal install erd. I also tried cabal install --allow-newer erd, not so much because I thought it would do the job, but just to try what had worked on slightly similar issues with other folks on other issues.

I'm running ghc v8.0.2.

I read through the build instructions and considered the Docker route but thought I'd get this going natively if I could.

from erd.

mmzx avatar mmzx commented on July 17, 2024

You do not need to know Haskell, but if you want to build it yourself a compatible environment is needed.

ghc-8.0.2 is "ancient" [3] and would not be supported, please find [1] the by default supported ones. - I wonder about your installation, but that's off-topic.

If you want to stick with cabal it is the v2 commands the way to go, as the readme says in the related cabal section.

If you want to stick with stack, please install stack itself [2] and do the following, which will give you a known working compiler and sandbox like environment to build a native package. My stack version right now is _2.1.3.1 x86_64 hpack-0.32.0
stack build --resolver=lts-14.27 this builds it nicely.

[1] https://travis-ci.org/github/BurntSushi/erd/builds/700673871
[2] https://docs.haskellstack.org/en/stable/README/
[3] https://downloads.haskell.org/ghc/8.0.2/

from erd.

muraii avatar muraii commented on July 17, 2024

This is probably down to my installing Haskell.Platform from the Ubuntu 18.04 repository and it being an older version, with older cabal, etc. I first tried cabal new-install erd as in the README and cabal belched at it.

I'll get back with results.

from erd.

mmzx avatar mmzx commented on July 17, 2024

I am sorry, but no personal experience with haskell-platform! Your cabal version shall be >= 3.x.

from erd.

muraii avatar muraii commented on July 17, 2024

Installed appropriate versions and erd works as advertised. Thank you for your help.

from erd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.