Thanks Michael. It is because of tagsoup version.<br>After I installed latest tagsoup, I have to &quot;cabal clean &amp;&amp; cabal configure &amp;&amp; cabal build&quot;.<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 &quot;bottom-up&quot; 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">&lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;</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>
&quot;cabal install tagsoup &amp;&amp; cabal install authenticate&quot;? 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 &lt;<a href="mailto:freizl@gmail.com">freizl@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;   Sorry if I supposed to post question to Google group which is not<br>
&gt; available at my current region unfortunately.<br>
&gt;   My question comes I failed to compile package authenticate-0.9.1.7 with<br>
&gt; error below.<br>
&gt;   Do you have any ideas about fixing it?<br>
&gt;   Please let me if you need further environment information.<br>
&gt; Thanks!<br>
&gt; simonwu@ubuntu:~/haskell/authenticate$ cabal build<br>
&gt; Preprocessing library authenticate-0.9.1.7...<br>
&gt; Building authenticate-0.9.1.7...<br>
&gt; [ 8 of 10] Compiling OpenId2.Discovery ( OpenId2/Discovery.hs,<br>
&gt; dist/build/OpenId2/Discovery.o )<br>
&gt; OpenId2/Discovery.hs:137:18:<br>
&gt;     No instance for (Text.StringLike.StringLike Text)<br>
&gt;       arising from a use of `parseTags&#39; at OpenId2/Discovery.hs:137:18-26<br>
&gt;     Possible fix:<br>
&gt;       add an instance declaration for (Text.StringLike.StringLike Text)<br>
&gt;     In the second argument of `(.)&#39;, namely `parseTags&#39;<br>
&gt;     In the second argument of `(.)&#39;, namely<br>
&gt;         `mapMaybe linkTag . parseTags&#39;<br>
&gt;     In the second argument of `(.)&#39;, namely<br>
&gt;         `filter isOpenId . mapMaybe linkTag . parseTags&#39;<br>
&gt; simonwu@ubuntu:~/haskell/authenticate$ ghci --version<br>
&gt; The Glorious Glasgow Haskell Compilation System, version 6.12.3<br>
&gt; -Haisheng<br>
</div></div>&gt; _______________________________________________<br>
&gt; web-devel mailing list<br>
&gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>