[Timber] building from trunk
Peter A. Jonsson
pj at csee.ltu.se
Thu May 21 11:48:35 EDT 2009
> I grabbed the latest from darcs, and upon attempting to run
> runhaskell Setup.lhs configure
>
> I got the response:
> Setup.lhs: At least the following dependencies are missing:
> binary >=0.4.2, bzlib >=0.4.0.0
>
> But I have those particular libraries installed in cabal. Am I
> missing an additional parameter?
When you run "runhaskell Setup.lhs configure" cabal will try to
install it globally. I am guessing that your two libraries are
installed as a user (which is the default for cabal-install): run
"ghc-pkg list" and check if binary and bzlib are under the user
section. Cabal will not let you install global packages that depend
on user-local packages, and that's for a good reason. It is however
rather confusing.
You can either tack on "--global" when you run cabal-install if you
want bzlib and binary installed globally, or you can tack on "--user"
when you "runhaskell Setup.lhs configure" for the timber compiler.
/ Peter
More information about the Timber
mailing list