Ah! I now remember that option. I knew there was something relating to location of libs. I'll apply that when I get back to my computer.

On Thu, May 21, 2009 at 11:48 AM, Peter A. Jonsson <pj@csee.ltu.se> wrote:

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


_______________________________________________
Timber mailing list
Timber@haskell.org
http://www.haskell.org/mailman/listinfo/timber



--
We can't solve problems by using the same kind of thinking we used when we created them.
   - A. Einstein