blanu / Dust

A Polymorphic Engine for Filtering-Resistant Transport Protocols
286 stars 31 forks source link

Compilation Error in Ubuntu 13.10 #13

Closed nearsyh closed 10 years ago

nearsyh commented 10 years ago

At first, I try to install Dust 2.1 via running "cabal install dust" directly, but it said that the 'cons' and 'snoc' error. So I download the code and add some brackets. Then I run cabal build and get this error : Not in the scope "try" - Dust/Network/DustServer.hs

However, I tried to grep the "try" in the whole source tree and found there is also a "try" in Dust/Control/Encoder.hs. But this file can be built without errors. I compare the packages imported by these two files but I cannot find the problem.

blanu commented 10 years ago

This was due to backwards-incompatible changes in GHC base-4.6.0.1. As I have now updated my own GHC in order to reproduce this bug, these problems are fixed but Dust now requires base-4.6.0.1.