Error building internal Scion server, how to solve it?

Hi, Installed Haskell Platform 2010.2.0.0 on Windows, then install EclipseFP 2 Latest Release 2.0.2 on Helios 3.6.1. JDK 1.6.0_21. But the internal Scion server cannot be built, so I cannot compile my Haskell code. How to solve it? The following error message is displayed on the Eclipse console when I launch Eclipse: Resolving dependencies... selecting cabal.exe: cannot configure scion-0.1.0.6. It requires AttoJson >=0.5.2, binary ==0.5.*, derive -any, ghc-paths ==0.1.*, ghc-syb -any, ghc-syb-utils -any, hslogger ==1.0.*, list-tries -any, multiset >=0.1 && <0.3 and uniplate -any There is no available version of AttoJson that satisfies >=0.5.2 There is no available version of binary that satisfies ==0.5.* There is no available version of derive that satisfies -any There is no available version of ghc-paths that satisfies ==0.1.* There is no available version of ghc-syb that satisfies -any There is no available version of ghc-syb-utils that satisfies -any There is no available version of hslogger that satisfies ==1.0.* There is no available version of list-tries that satisfies -any There is no available version of multiset that satisfies >=0.1 && <0.3 There is no available version of uniplate that satisfies -any

Latest Release 2.0.2 on Helios 3.6.1. JDK 1.6.0_21. But the internal Scion server cannot be built, so I cannot compile my Haskell code.
I had a similar problem. To work around it, I manually installed the packages, making sure that they were installed globally. For example: cabal install --global AttoJson Then restart Eclipse, and it should see the new packages.

Latest Release 2.0.2 on Helios 3.6.1. JDK 1.6.0_21. But the internal Scion server cannot be built, so I cannot compile my Haskell code.
Actually, I think you have a different problem: you have the wrong version of Scion. You can't use the one in Cabal. Get the right version from: http://code.google.com/p/scion-lib/ Go into the directory where you put it, and type: cabal install --global Once you get that fixed, you may or may not need the workaround I described above.
participants (2)
-
Amy de Buitléir
-
Guofeng Zhang