Thanks Michael. It is because of tagsoup version.<br>After I installed latest tagsoup, I have to "cabal clean && cabal configure && cabal build".<br><br>However another error came to me after I re-compile authenticate to version 0.9.1.8 successfully.<br>
<br><span style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">simonwu@ubuntu:~/haskell/authenticate$ cabal install yesod-0.8.2.1 --reinstall</span><br style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">
<span style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">Resolving dependencies...</span><br style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">
<span style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">cabal: dependencies conflict: authenticate-0.9.1.8 requires bytestring</span><br style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">
<span style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">==0.9.1.7 however</span><br style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">
<span style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">bytestring-0.9.1.7 was excluded because authenticate-0.9.1.8 requires</span><br style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">
<span style="font-family: courier new,monospace; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">bytestring ==0.9.1.10</span><br><br>I have both bytestring-0.9.1.7 and bytestring-0.9.1.10 installed.<br>The error turns out to be really wired to me and I have no idea how to fix it yet.<br>
<br>Also I tried "bottom-up" re-build yesod.<br>recompile yesod-auth, yesod-form then recompile but this way is really a nightmare.<br>The dependencies dried me crazy thus I gave up.<br><br>Appreciate your help!<br>
<br clear="all">-Haisheng<br>
<br><br><div class="gmail_quote">On Sun, Jul 24, 2011 at 2:30 AM, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Looks like you have an old version of tagsoup. Can you try running<br>
"cabal install tagsoup && cabal install authenticate"? If that solves<br>
the problem, I fix the authenticate cabal file to require a newer<br>
tagsoup.<br>
<div><div></div><div class="h5"><br>
On Sat, Jul 23, 2011 at 5:44 AM, Haisheng Wu <<a href="mailto:freizl@gmail.com">freizl@gmail.com</a>> wrote:<br>
> Hello,<br>
> Sorry if I supposed to post question to Google group which is not<br>
> available at my current region unfortunately.<br>
> My question comes I failed to compile package authenticate-0.9.1.7 with<br>
> error below.<br>
> Do you have any ideas about fixing it?<br>
> Please let me if you need further environment information.<br>
> Thanks!<br>
> simonwu@ubuntu:~/haskell/authenticate$ cabal build<br>
> Preprocessing library authenticate-0.9.1.7...<br>
> Building authenticate-0.9.1.7...<br>
> [ 8 of 10] Compiling OpenId2.Discovery ( OpenId2/Discovery.hs,<br>
> dist/build/OpenId2/Discovery.o )<br>
> OpenId2/Discovery.hs:137:18:<br>
> No instance for (Text.StringLike.StringLike Text)<br>
> arising from a use of `parseTags' at OpenId2/Discovery.hs:137:18-26<br>
> Possible fix:<br>
> add an instance declaration for (Text.StringLike.StringLike Text)<br>
> In the second argument of `(.)', namely `parseTags'<br>
> In the second argument of `(.)', namely<br>
> `mapMaybe linkTag . parseTags'<br>
> In the second argument of `(.)', namely<br>
> `filter isOpenId . mapMaybe linkTag . parseTags'<br>
> simonwu@ubuntu:~/haskell/authenticate$ ghci --version<br>
> The Glorious Glasgow Haskell Compilation System, version 6.12.3<br>
> -Haisheng<br>
</div></div>> _______________________________________________<br>
> web-devel mailing list<br>
> <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
><br>
><br>
</blockquote></div><br>