开发者

Package build failure on Hackage

开发者 https://www.devze.com 2023-03-13 20:36 出处:网络
I uploaded my first package to Hackage ( http://hackage.haskell.org/package/groundhog-0.0.1) and it failed to build with error:

I uploaded my first package to Hackage ( http://hackage.haskell.org/package/groundhog-0.0.1) and it failed to build with error:

*** setup configure

Configuring groundhog-0.0.1...
cabal-setup: At least the following dependencies are missing:
monad-control ==0.2.*, pool ==0.1.*

This package builds fine on my machine and in a test environment which had only Haskell Platform installed. I tried to ensure that the latest cabal is used and uploaded another version with d开发者_C百科ependency on Cabal 1.10. Later I found In Cabal FAQ that this error can arise if the packages our package depends on were build with --user and configure is run with --global. However many other packages depend on monad-control and pool and they are ok. Hackage should apply the same flags to all packages so I don't think it is the same issue as in the FAQ.

I think I missed something. Could you help me with the build?

I want to announce Groundhog persistence library when the documentation on Hackage is generated.


I see no obvious reason for the failure. Here's the package. The likely reason is that for one reason or another those packages aren't exposed on Hackage at the moment.

You should contact the libraries mailing list to ask about the state of those libraries on Hackage.


As far as I understand it, packages that introduce executables (like monad-control, judging form its .cabal file) must be installed manually. Both groundhog and pool depends on monad-control. Simply install monad-control manually first (cabal install monad-control). Then it should work.

0

精彩评论

暂无评论...
验证码 换一张
取 消