[web-devel] Failed to compile authenticate
Michael Snoyman
michael at snoyman.com
Sat Jul 23 20:30:50 CEST 2011
Looks like you have an old version of tagsoup. Can you try running
"cabal install tagsoup && cabal install authenticate"? If that solves
the problem, I fix the authenticate cabal file to require a newer
tagsoup.
On Sat, Jul 23, 2011 at 5:44 AM, Haisheng Wu <freizl at gmail.com> wrote:
> Hello,
> Sorry if I supposed to post question to Google group which is not
> available at my current region unfortunately.
> My question comes I failed to compile package authenticate-0.9.1.7 with
> error below.
> Do you have any ideas about fixing it?
> Please let me if you need further environment information.
> Thanks!
> simonwu at ubuntu:~/haskell/authenticate$ cabal build
> Preprocessing library authenticate-0.9.1.7...
> Building authenticate-0.9.1.7...
> [ 8 of 10] Compiling OpenId2.Discovery ( OpenId2/Discovery.hs,
> dist/build/OpenId2/Discovery.o )
> OpenId2/Discovery.hs:137:18:
> No instance for (Text.StringLike.StringLike Text)
> arising from a use of `parseTags' at OpenId2/Discovery.hs:137:18-26
> Possible fix:
> add an instance declaration for (Text.StringLike.StringLike Text)
> In the second argument of `(.)', namely `parseTags'
> In the second argument of `(.)', namely
> `mapMaybe linkTag . parseTags'
> In the second argument of `(.)', namely
> `filter isOpenId . mapMaybe linkTag . parseTags'
> simonwu at ubuntu:~/haskell/authenticate$ ghci --version
> The Glorious Glasgow Haskell Compilation System, version 6.12.3
> -Haisheng
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
>
More information about the web-devel
mailing list