Hi Duncan,

Thanks, --gen-pkg-config works.

I don't know if Cabal will ever be suitable for me - I prefer to be
able to build specific targets, and to track dependencies to minimize
build time, and there is a tool for this called 'make' which is a lot
older, faster, and more stable which I prefer to use. Cabal does these
things well if one is not using too many derived files, or too many
languages other than Haskell, but those restrictions aren't compatible
with many of my projects (although for some it is fine!).

Best wishes,

Frederik

On Sun, Jan 20, 2008 at 05:06:10PM +0000, Duncan Coutts wrote:
> 
> 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
> 

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

Reply via email to