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 happy >=1.17 sudo cabal install haskell-src-exts Resolving dependencies... 'haskell-src-exts-0.3.4' is cached. Configuring haskell-src-exts-0.3.4... cabal: happy version >=1.17 is required but the version found at /usr/bin/happy is version 1.16 cabal: Error: some packages failed to install: haskell-src-exts-0.3.4 failed during the configure step. The exception was: exit: ExitFailure 1 happy-1.17>sudo cabal install Resolving dependencies... Warning: defaultUserHooks in Setup script is deprecated. Configuring happy-1.17... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Preprocessing executables for happy-1.17... Building happy-1.17... [ 1 of 18] Compiling Paths_happy ( dist/build/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o ) Linking dist/build/happy/happy ... Installing: /home/thartman/.cabal/bin [EMAIL PROTECTED]:~/haskellInstalls/smallInstalls/happy-1.17>happy --version Happy Version 1.16 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c) 1997-2005 Simon Marlow Happy is a Yacc for Haskell, and comes with ABSOLUTELY NO WARRANTY. This program is free software; you can redistribute it and/or modify it under the terms given in the file 'LICENSE' distributed with the Happy sources. [EMAIL PROTECTED]:~/haskellInstalls/smallInstalls/happy-1.17>ls -l `which happy` -rwxr-xr-x 1 root root 941968 2006-11-23 21:34 /usr/bin/happy [EMAIL PROTECTED]:~/haskellInstalls/smallInstalls/happy-1.17> 2008/6/7 Duncan Coutts <[EMAIL PROTECTED]>: > > 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 packages > that depend on the ghc package since that's always hidden. > > Though again we could use that as a preference rather than a hard > constraint. > > Duncan > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
