Really appreciate your time Michael!<br>It got fixed.<br><br>Now I&#39;m able to focus on my &quot;really&quot; problem!<br><br clear="all">-Haisheng<br>
<br><br><div class="gmail_quote">On Sun, Jul 24, 2011 at 8:44 PM, 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&#39;re running into a lot of the problems people have with<br>
cabal fairly frequently. Your best bet is likely:<br>
<br>
* Kill your .ghc folder (not necessarily required)<br>
* cabal update<br>
* cabal install yesod<br>
<br>
That *should* solve it, let me know if you still have problems.<br>
<font color="#888888"><br>
Michael<br>
</font><div><div></div><div class="h5"><br>
On Sun, Jul 24, 2011 at 2:46 PM, Haisheng Wu &lt;<a href="mailto:freizl@gmail.com">freizl@gmail.com</a>&gt; wrote:<br>
&gt; Thanks Michael. It is because of tagsoup version.<br>
&gt; After I installed latest tagsoup, I have to &quot;cabal clean &amp;&amp; cabal configure<br>
&gt; &amp;&amp; cabal build&quot;.<br>
&gt;<br>
&gt; However another error came to me after I re-compile authenticate to version<br>
&gt; 0.9.1.8 successfully.<br>
&gt;<br>
&gt; simonwu@ubuntu:~/haskell/authenticate$ cabal install yesod-0.8.2.1<br>
&gt; --reinstall<br>
&gt; Resolving dependencies...<br>
&gt; cabal: dependencies conflict: authenticate-0.9.1.8 requires bytestring<br>
&gt; ==0.9.1.7 however<br>
&gt; bytestring-0.9.1.7 was excluded because authenticate-0.9.1.8 requires<br>
&gt; bytestring ==0.9.1.10<br>
&gt;<br>
&gt; I have both bytestring-0.9.1.7 and bytestring-0.9.1.10 installed.<br>
&gt; The error turns out to be really wired to me and I have no idea how to fix<br>
&gt; it yet.<br>
&gt;<br>
&gt; Also I tried &quot;bottom-up&quot; re-build yesod.<br>
&gt; recompile yesod-auth, yesod-form then recompile but this way is really a<br>
&gt; nightmare.<br>
&gt; The dependencies dried me crazy thus I gave up.<br>
&gt;<br>
&gt; Appreciate your help!<br>
&gt;<br>
&gt; -Haisheng<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Jul 24, 2011 at 2:30 AM, Michael Snoyman &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Looks like you have an old version of tagsoup. Can you try running<br>
&gt;&gt; &quot;cabal install tagsoup &amp;&amp; cabal install authenticate&quot;? If that solves<br>
&gt;&gt; the problem, I fix the authenticate cabal file to require a newer<br>
&gt;&gt; tagsoup.<br>
&gt;&gt;<br>
&gt;&gt; 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;&gt; &gt; Hello,<br>
&gt;&gt; &gt;   Sorry if I supposed to post question to Google group which is not<br>
&gt;&gt; &gt; available at my current region unfortunately.<br>
&gt;&gt; &gt;   My question comes I failed to compile package authenticate-0.9.1.7<br>
&gt;&gt; &gt; with<br>
&gt;&gt; &gt; error below.<br>
&gt;&gt; &gt;   Do you have any ideas about fixing it?<br>
&gt;&gt; &gt;   Please let me if you need further environment information.<br>
&gt;&gt; &gt; Thanks!<br>
&gt;&gt; &gt; simonwu@ubuntu:~/haskell/authenticate$ cabal build<br>
&gt;&gt; &gt; Preprocessing library authenticate-0.9.1.7...<br>
&gt;&gt; &gt; Building authenticate-0.9.1.7...<br>
&gt;&gt; &gt; [ 8 of 10] Compiling OpenId2.Discovery ( OpenId2/Discovery.hs,<br>
&gt;&gt; &gt; dist/build/OpenId2/Discovery.o )<br>
&gt;&gt; &gt; OpenId2/Discovery.hs:137:18:<br>
&gt;&gt; &gt;     No instance for (Text.StringLike.StringLike Text)<br>
&gt;&gt; &gt;       arising from a use of `parseTags&#39; at<br>
&gt;&gt; &gt; OpenId2/Discovery.hs:137:18-26<br>
&gt;&gt; &gt;     Possible fix:<br>
&gt;&gt; &gt;       add an instance declaration for (Text.StringLike.StringLike Text)<br>
&gt;&gt; &gt;     In the second argument of `(.)&#39;, namely `parseTags&#39;<br>
&gt;&gt; &gt;     In the second argument of `(.)&#39;, namely<br>
&gt;&gt; &gt;         `mapMaybe linkTag . parseTags&#39;<br>
&gt;&gt; &gt;     In the second argument of `(.)&#39;, namely<br>
&gt;&gt; &gt;         `filter isOpenId . mapMaybe linkTag . parseTags&#39;<br>
&gt;&gt; &gt; simonwu@ubuntu:~/haskell/authenticate$ ghci --version<br>
&gt;&gt; &gt; The Glorious Glasgow Haskell Compilation System, version 6.12.3<br>
&gt;&gt; &gt; -Haisheng<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; web-devel mailing list<br>
&gt;&gt; &gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt;&gt; &gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>