Unable to build lhc base

Andrea Vezzosi sanzhiyan at gmail.com
Sun Nov 30 20:22:59 EST 2008


You can have multiple versions of a package installed without problems, so
you don't need to unregister Cabal-1.6.0.1.
Once you've installed the newer Cabal you only need to change the version
constraint in cabal-install.cabal to something like "Cabal == 1.7.*" and
build it again.


On Sat, Nov 29, 2008 at 8:24 AM, nml <arumakanil at gmail.com> wrote:

> Hi,
>
> I've followed the steps described on http://lhc.seize.it/
>
> i.e.,
> ---
> *darcs get --partial http://darcs.haskell.org/cabal/
> darcs get --partial http://darcs.haskell.org/cabal-install/
>
> After you install the latest cabal and cabal install, you can do
>
> cd lhc/lib/base
> cabal install --lhc*
> ---
>
> But then it said:
> * $ unrecognized option `--lhc'*
>
> It seems that the Cabal-install package from *
> http://darcs.haskell.org/cabal-install/
> *uses Cabal-1.6.0.1 shipped with ghc-6.10.1 rather than the newer one
> (v1.7.0).
>
> And in *cabal-install.cabal*, the *build-depends *is "Cabal >= 1.6 && <
> 1.7",  it's confusing.
>
> I've tried to replace the original cabal with newer one and modified the
> build-depends above, but ghc-pkg replied the threatening message:
>     *$ ghc-pkg: unregistering Cabal-1.6.0.1 would break the following
> packages: haddock-2.3.0 ghc-6.10.1 (use --force to override)
>
> *Any hints?*
>
> *Thanks,
> Mura *
> *
> _______________________________________________
> Lhc mailing list
> Lhc at projects.haskell.org
> http://projects.haskell.org/cgi-bin/mailman/listinfo/lhc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.haskell.org/pipermail/lhc/attachments/20081201/737a3683/attachment.htm 


More information about the Lhc mailing list