conal: > Fails during configuration: > > bash-3.2$ cabal install lhs2tex > Resolving dependencies... > [1 of 1] Compiling Main ( /tmp/lhs2tex-1.1423397/lhs2tex-1.14/ > Setup.hs, /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/Main.o ) > Linking /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/setup ... > Configuring lhs2tex-1.14... > cabal: Error: some packages failed to install: > lhs2tex-1.14 failed during the configure step. The exception was: > exit: ExitFailure 11 > > Note that the the first module to be compiled is Main. On my linux machine, > Main is the *last* of several modules to be compiled. > > Here's my failure log: http://moonpatio.com/fastcgi/hpaste.fcgi/view?id=3096# > a3096 . > > If instead I use ./configure and make, i get errors due to use of the old > Exception API: > > ... > [17 of 19] Compiling FileNameUtils ( FileNameUtils.lhs, FileNameUtils.o > ) > > FileNameUtils.lhs:81:35: > Ambiguous type variable `b' in the constraint: > `GHC.Exception.Exception b' > arising from a use of `catch' at FileNameUtils.lhs:(81,35)-(89,60) > Probable fix: add a type signature that fixes these type variable(s) > ... > > Suggestions greatly appreciated!
Via cabal: --constraint='base<4' or replace Control.Exception with Control.OldException or add 'base < 4' to the depends in the .cabal file. -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe