Really appreciate your time Michael!<br>It got fixed.<br><br>Now I'm able to focus on my "really" 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"><<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'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 <<a href="mailto:freizl@gmail.com">freizl@gmail.com</a>> wrote:<br>
> Thanks Michael. It is because of tagsoup version.<br>
> After I installed latest tagsoup, I have to "cabal clean && cabal configure<br>
> && cabal build".<br>
><br>
> However another error came to me after I re-compile authenticate to version<br>
> 0.9.1.8 successfully.<br>
><br>
> simonwu@ubuntu:~/haskell/authenticate$ cabal install yesod-0.8.2.1<br>
> --reinstall<br>
> Resolving dependencies...<br>
> cabal: dependencies conflict: authenticate-0.9.1.8 requires bytestring<br>
> ==0.9.1.7 however<br>
> bytestring-0.9.1.7 was excluded because authenticate-0.9.1.8 requires<br>
> bytestring ==0.9.1.10<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<br>
> 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<br>
> nightmare.<br>
> The dependencies dried me crazy thus I gave up.<br>
><br>
> Appreciate your help!<br>
><br>
> -Haisheng<br>
><br>
><br>
> On Sun, Jul 24, 2011 at 2:30 AM, Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>><br>
> wrote:<br>
>><br>
>> 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>
>><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<br>
>> > 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<br>
>> > 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>
>> > _______________________________________________<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>
><br>
><br>
</div></div></blockquote></div><br>