haskell-hvr / uhttpc

`uhttpc` - µHTTP client library
http://hackage.haskell.org/package/uhttpc
GNU General Public License v3.0
27 stars 5 forks source link

Not able to be built due to dependency bounds #4

Closed chrissound closed 6 years ago

chrissound commented 6 years ago

I've just tried to build this but I've run into some dependency issues:

cabal build
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: uhttpc-0.1.1.0 (user goal)
next goal: base (dependency of uhttpc-0.1.1.0)
rejecting: base-4.10.1.0/installed-4.1... (conflict: uhttpc => base>=4.6 &&
<4.10)
Dependency tree exhaustively searched.
Trying configure anyway.
Configuring uhttpc-0.1.1.0...
cabal: Encountered missing dependencies:
base >=4.6 && <4.10,
bytestring-lexing >=0.4 && <0.6,
optparse-applicative >=0.11 && <0.14
hvr commented 6 years ago

@chrissound this is because http://hackage.haskell.org/package/uhttpc-0.1.1.0/revisions/ isn't reflected in the Git repo. Do you really need to build this from the Git repo rather than from Hackage?

chrissound commented 6 years ago

Thanks, cabal install worked successfully!