On Sun, 2008-01-20 at 16:08 +0000, Frederik Eaton wrote:
> Hello,
> 
> I can't use Cabal on some of my projects, for various reasons that
> I've discussed here earlier... 

BTW, just so we do not loose track of those reasons could you double
check that all the problems and limitations you reported are described
accurately in the hackage trac. That'd be great.

http://hackage.haskell.org/trac/hackage/

In the cases where what you're trying to do does not quite chime with
the way Cabal works now it's probably best to describe what you're
actually trying to achieve as well as the immediate problem.

> However, I can have a cabal file to
> describe the dependencies and so forth. Is there a way to generate a
> proper package config using a cabal file? Or is there some other way
> to do it so I get the right versions? I am now seeing the warning
> message which was introduced by this bug fix, but don't know what to
> do about it.

Yes, you can:

cabal configure
cabal register --gen-pkg-config=foo.pkg
ghc-pkg register foo.pkg

So that does depend on being able to configure the package successfully.

If you don't use cabal-install yet replace "cabal" with "runghc
Setup.hs" in the above commands.

Duncan

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to