[Haskell-cafe] Re: Fwd: installing happy 1.17

2008-06-07 Thread Duncan Coutts
On Sat, 2008-06-07 at 09:36 -0700, Thomas Hartman wrote: cabal issue? Yes and no. What is happening is that there are several versions of the Cabal library installed. In particular Cabal-1.3.12 and Cabal-1.5.2. The happy package uses build-type Custom so cabal-install compiles the Setup.lhs

[Haskell-cafe] Re: Fwd: installing happy 1.17

2008-06-07 Thread Duncan Coutts
On Sat, 2008-06-07 at 18:44 +0100, Duncan Coutts wrote: Perhaps a better solution is for cabal-install to choose the version of the Cabal library differently. Of course it has to be within the hard constraints specified in the .cabal file and on the command line. But after that perhaps it

Re: [Haskell-cafe] Re: Fwd: installing happy 1.17

2008-06-07 Thread Bertram Felgenhauer
Duncan Coutts wrote: The immediate workarounds are: * unregister Cabal-1.5.2 Better, hide it (that's reversible) - or does that not work with cabal-install? Bertram ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Re: Fwd: installing happy 1.17

2008-06-07 Thread Duncan Coutts
On Sat, 2008-06-07 at 21:20 +0200, Bertram Felgenhauer wrote: Duncan Coutts wrote: The immediate workarounds are: * unregister Cabal-1.5.2 Better, hide it (that's reversible) - or does that not work with cabal-install? If Cabal ignored hidden packages then you could never install

Re: [Haskell-cafe] Re: Fwd: installing happy 1.17

2008-06-07 Thread Thomas Hartman
great, sudo cabal install from inside 1.17 distribution dir now seems to do the right thing. however, after it's done installing (apparently without error) the happy version is still 1.16 and the happy executable is from 2006. This means that I still can't install other packages that rely on

Re: [Haskell-cafe] Re: Fwd: installing happy 1.17

2008-06-07 Thread Duncan Coutts
On Sat, 2008-06-07 at 14:46 -0700, Thomas Hartman wrote: great, sudo cabal install from inside 1.17 distribution dir now seems to do the right thing. however, after it's done installing (apparently without error) the happy version is still 1.16 and the happy executable is from 2006. This