michaelmelanson / network-websocket

Websocket library for Haskell
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Build failure on Ubuntu 10.04 #2

Open fokenrute opened 14 years ago

fokenrute commented 14 years ago

On Uubuntu 10.04 when installing with ; cabal install --global network-socket, I get the following error:

Building network-websocket-0.3... [1 of 1] Compiling Network.Websocket ( Network/Websocket.hs, dist/build/Network/Websocket.o )

Network/Websocket.hs:23:13: Duplicate instance declarations: instance Show Request -- Defined at Network/Websocket.hs:23:13-24 instance Show Request -- Defined in Network.Web.HTTP cabal: Error: some packages failed to install: network-websocket-0.3 failed during the building phase. The exception was: ExitFailure 1

michaelmelanson commented 14 years ago

Thanks for the bug report. I have encountered this error before, and I believe it is fixed in master... but I haven't released it to Hackage yet. You can try checking out the source directly and building that:

git clone git://github.com/michaelmelanson/network-websocket.git
cd network-websocket
cabal configure
cabal build
cabal install --global

Unfortunately, I don't have much time to devote to this project anymore, and both the WebSocket protocol and the libraries this package depends on are moving targets. I can't be sure when I'll get around to fixing this and other problems with this package.