BurntSushi / erd

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

Error Install on 64-bit ArchLinux #20

Closed kokizzu closed 8 years ago

kokizzu commented 8 years ago
$ 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.9.0.0/installed-4.9... (conflict: erd => base==4.7.*)
rejecting: base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0,
base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0,
base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0,
base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0,
base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable
package requires installed instance)
Dependency tree exhaustively searched.

installed archlinux package:

gts-0.7.6-3  ghc-8.0.1-1  graphviz-2.38.0-13
cabal-install-1.24.0.0-2

the same with second method

$ cabal configure
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: erd-0.1.3.0 (user goal)
next goal: parsec (dependency of erd-0.1.3.0)
Dependency tree exhaustively searched.
Trying configure anyway.
Configuring erd-0.1.3.0...
cabal: Encountered missing dependencies:
graphviz ==2999.*, parsec ==3.1.*, text ==1.*
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: erd-0.1.3.0 (user goal)
next goal: parsec (dependency of erd-0.1.3.0)
Dependency tree exhaustively searched.
Trying configure anyway.
Configuring erd-0.1.3.0...
cabal: Encountered missing dependencies:
graphviz ==2999.*, parsec ==3.1.*, text ==1.*
kokizzu commented 8 years ago

nevermind, got it working

cabal install graphviz
cabal install parsec
cabal configure
cabal build
Yoolee-Song commented 6 years ago

thank you....:)