building haddock?

Simon Marlow simonmarhaskell at gmail.com
Tue Jan 31 08:54:10 EST 2006


Duncan Coutts wrote:
> On Tue, 2006-01-31 at 12:17 +0000, Malcolm Wallace wrote:
> 
>>Quick question:  how do I build Haddock from the darcs repo?
> 
> 
> You need a later version of Cabal. Later than 1.1.3.
> 
> 
>>    Could not find module `Paths_Haddock':
>>      use -v to see a list of the files searched for
>>      (imported from Main.hs)
>>
>>And now I'm stuck.  There genuinely is no module called Paths_Haddock.
> 
> 
> This module is generated by Cabal. But not in Cabal 1.1.3, a later
> version.
> 
> 
> We really need a field:
> 
> cabal-depends: 1.1.4
> 
> So that older versions of Cabal can say "you need version
> ${cabal-depends} of Cabal to build this package".

There is such a field:

   cabal-version: >=1.1.4

but I didn't use it in Haddock (now fixed).  This field doesn't help 
with all the backwards compatibility issues, particularly API changes in 
the Cabal libraries, as we know (see previous discussions).

Cheers,
	Simon


More information about the Libraries mailing list