Sorry, things are still in a little bit of flux as I change underlying libraries. The only suggestion I've got is to retry with a "git pull && cabal update && cabal install". When the final version is actually released, it will be well-tested first.

Note: right now it depends on web-routes-quasi 0.3.0, which has not yet been released, so you'll have to pull that from the github repo.

Michael

On Sat, May 22, 2010 at 7:32 AM, James Britt <james@neurogami.com> wrote:
Michael Snoyman wrote:
Hi all,

I believe my 0.2 branch of Yesod[1] is feature-complete for this release, and it seems to be fairly stable. The documentation on it[2] give a good introduction, and hopefully the haddocks will fill in the gaps.

james@james06:~/data/vendor/yesod$ runhaskell Setup.lhs configure --user
Configuring yesod-0.2.0...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package http-wget-0.6.2 requires transformers-0.1.4.0
package control-monad-attempt-0.3.0 requires transformers-0.1.4.0
package authenticate-0.6.2 requires transformers-0.1.4.0
package yesod-0.2.0 requires transformers-0.2.1.0
package MonadCatchIO-transformers-0.2.2.0 requires transformers-0.2.1.0


$ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1

This on Ubuntu 8.04



Running

 $ runhaskell Setup.lhs build

fails:


[12 of 14] Compiling Yesod.Helpers.Auth ( Yesod/Helpers/Auth.hs, dist/build/Yesod/Helpers/Auth.o )

Yesod/Helpers/Auth.hs:187:25:
   Could not deduce (transformers-0.1.4.0:Control.Monad.Trans.MonadIO
                       (GHandler Auth master))
     from the context ()
     arising from a use of `OpenId.getForwardUrl'
                  at Yesod/Helpers/Auth.hs:187:25-57
   Possible fix:
     add (transformers-0.1.4.0:Control.Monad.Trans.MonadIO
            (GHandler Auth master)) to the context of
       the type signature for `getOpenIdForward'
     or add an instance declaration for
        (transformers-0.1.4.0:Control.Monad.Trans.MonadIO
           (GHandler Auth master))
   In the second argument of `($)', namely
       `OpenId.getForwardUrl oid complete'
   In a stmt of a 'do' expression:
       res <- runAttemptT $ OpenId.getForwardUrl oid complete
   In the expression:
       do { testOpenId;
            rr <- getRequest;
            oid <- case getParams rr "openid" of {
                     [x] -> return x
                     _ -> invalidArgs [...] };
            render <- getUrlRender;
            .... }

Yesod/Helpers/Auth.hs:200:25:
   Could not deduce (transformers-0.1.4.0:Control.Monad.Trans.MonadIO
                       (GHandler Auth master))
     from the context (YesodAuth master)
     arising from a use of `OpenId.authenticate'
                  at Yesod/Helpers/Auth.hs:200:25-49
   Possible fix:
     add (transformers-0.1.4.0:Control.Monad.Trans.MonadIO
            (GHandler Auth master)) to the context of
       the type signature for `getOpenIdComplete'
     or add an instance declaration for
        (transformers-0.1.4.0:Control.Monad.Trans.MonadIO
           (GHandler Auth master))
   In the second argument of `($)', namely `OpenId.authenticate gets''
   In a stmt of a 'do' expression:
       res <- runAttemptT $ OpenId.authenticate gets'
   In the expression:
       do { testOpenId;
            rr <- getRequest;
            let gets' = reqGetParams rr;
            res <- runAttemptT $ OpenId.authenticate gets';
            .... }



Suggestions?


Thanks,

James

--

Neurogami - Smart application development

http://www.neurogami.com

james@neurogami.com





_______________________________________________
web-devel mailing list
web-devel@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel