[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-c2hs
Subject:    Re: [C2hs] Subject: Problem configuring c2hs with Cabal-1.2
From:       Duncan Coutts <duncan.coutts () worc ! ox ! ac ! uk>
Date:       2007-10-14 22:17:07
Message-ID: 1192400227.9844.132.camel () localhost
[Download RAW message or body]

On Thu, 2007-09-13 at 15:17 -0700, Judah Jacobson wrote:
> I just downloaded c2hs (HEAD version) and tried to run "runhaskell
> Setup.hs configure" using the ghc 6.8 release candidate (i.e., Cabal
> 1.2), and got the following error:
> 
> > Configuring c2hs-0.15.0...
> > Setup.hs: Error: Non-empty library, but empty exposed modules list. Cabal may not \
> > build this library correctly
> 
> The .cabal file is parseable by ghc-6.6.1 (with Cabal 1.1.6.2).  It's
> unclear to me whether this counts as a c2hs bug or a Cabal bug (maybe
> the above message should only be a warning?), so I'm cc'ing both
> lists.

We debated for a while whether this was a cabal or c2hs bug. In the end
we decided that Cabal was right, though in current Cabal versions the
error message explaining why it's wrong has been improved.

> Also note that regardless, c2hs will need to be updated to work with
> base-2.0

Yes, I'll do an updated release that's compatible with 6.8 and also
addresses some other packaging complaints.

Duncan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic