Closed astanin closed 14 years ago
Thank you. I have released 1.0.3 with this fix. I haven't added the newer hoauth locally yet, so please test and let me know if it works.
Thank you. I tried to build against newer hoauth, but it was not enough. oauthRequest
changed in hoauth-0.2.4 too.
See my patch, with it twidge builds agains 0.2.4, but I am not sure it works with identi.ca (couldn't setup twidge for identi.ca and didn't test it):
Additional changes: sergeyastanin@42affdcf5fa00fa5fe24b63a3e476e89e97b138f
Thank you. Merged and 1.0.4 release.
This is also happening with 1.0.6 release:
hysteresis:iird wires$ cabal install twidge Resolving dependencies... Configuring twidge-1.0.6... Preprocessing executables for twidge-1.0.6... Building twidge-1.0.6... [ 1 of 15] Compiling TwidgeHttpClient ( TwidgeHttpClient.hs, dist/build/twidge/twidge-tmp/TwidgeHttpClient.o )
TwidgeHttpClient.hs:52:2:
unpack' is not a (visible) method of class
Network.OAuth.Http.HttpClient.HttpClient'
TwidgeHttpClient.hs:57:2:
request' is not a (visible) method of class
Network.OAuth.Http.HttpClient.HttpClient'
hysteresis:iird wires$ ghc-pkg list network /Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.3/package.conf.d network-2.2.1.7 /Users/wires/.ghc/i386-darwin-6.12.3/package.conf.d network-2.2.1.9 hysteresis:iird wires$ ghc-pkg list hoauth /Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.3/package.conf.d /Users/wires/.ghc/i386-darwin-6.12.3/package.conf.d hoauth-0.3.2.1
But maybe I'm doing something weird?
I applied a workaround for 1.0.6.1. I'm not sure what happened with your patch! I'll look into it when I've got some more time. (this was sort of an emergency release)
Thanks, 1.0.6.1 works! :-D
Twidge doesn't build against the latest hoauth 0.2.4, where
unlift
method of 0.2.3 has been renamed tounpack
in 0.2.4.http://hackage.haskell.org/packages/archive/hoauth/0.2.3/doc/html/Network-OAuth-Http-HttpClient.html#v%3Aunlift http://hackage.haskell.org/packages/archive/hoauth/0.2.4/doc/html/Network-OAuth-Http-HttpClient.html#v%3Aunpack
Hence, the build error,