Unable to build lhc base

nml arumakanil at gmail.com
Tue Dec 2 04:50:37 EST 2008


The problem remains after modify the .cabal file.
Anyway, thanks for your reponse. :>

I'll go re-setup my whole haskell environment and try again.
Thanks to cabal, that's not too troublesome.


2008/12/1 Andrea Vezzosi <sanzhiyan at gmail.com>:
> 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
>>
>
>



More information about the Lhc mailing list