While trying to compile the current master I run in the following error:

Utility/Yesod.hs:21:14:
    Couldn't match expected type `String'
                with actual type `WidgetFileSettings'
    Expected type: String -> Q Exp
      Actual type: WidgetFileSettings -> FilePath -> Q Exp
    In the expression: widgetFileNoReload
    In an equation for `widgetFile': widgetFile = widgetFileNoReload
make: *** [git-annex] Fehler 1

I installed all dependencies from the INSTALL document. What is wrong?

I think you're building with the Makefile, not with cabal, and have the recent yesod 1.1.0 release installed. The Makefile contains a -DWITH_OLD_YESOD that you need to remove in that situation.
Comment by http://joeyh.name/ Wed Aug 29 15:51:15 2012

That helped now the compile stops at:

Utility/WebApp.hs:106:9:
    Ambiguous occurrence `liftIO'
    It could refer to either `Yesod.liftIO',
                             imported from `Yesod' at Utility/WebApp.hs:14:1-12
                             (and originally defined in `transformers-0.2.2.0:Control.Monad.IO.Class')
                          or `Control.Monad.IO.Class.liftIO',
                             imported from `Control.Monad.IO.Class' at Utility/WebApp.hs:18:1-29
make: *** [git-annex] Fehler 1
I've fixed this.. I think. I don't have this problem with the version of yesod I have here.
Comment by http://joeyh.name/ Thu Aug 30 17:07:44 2012
Success! Now it compiles fine on Ubuntu 12.04 with make. Thank you.
Comments on this page are closed.