Comments (7)
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.
Also, what is the command you use for building it?
from erd.
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.
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.
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.
I am sorry, but no personal experience with haskell-platform! Your cabal version shall be >= 3.x.
from erd.
Installed appropriate versions and erd
works as advertised. Thank you for your help.
from erd.
Related Issues (20)
- Updating CI config
- Enhancement: Publish image on Docker Hub
- Option to resize generated ERD, change aspect ratio HOT 3
- different ways of distributing the models on the diagram HOT 4
- Please delete
- Add support of regular dot tables as output, apart from html. HOT 4
- Include stylish-haskell in CI script. HOT 1
- Building haddock documentaion for hackage fails. HOT 1
- Creating an extensive test suite. HOT 2
- Making package ghc-8.8.1 compatible. HOT 1
- Vim support for the ER file format
- Building docker image from scratch fails HOT 1
- ./build-static_by-nix.sh doesn't work HOT 1
- Add support for crow's foot notation HOT 1
- Make edges style (dashed/solid) customizable HOT 1
- Including NOT NULL, UNIQUE, types and comments in the syntax HOT 3
- Labels of ortho edges are misplaced
- Wrong png image of simple.er in the readme HOT 2
- Problem with non US-ASCII characters HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erd.