Hi. I Downloaded and Installed, Haskell platform 2011.2.0.0; Eclipse Helios and EclipseFP 2.0.4.
I can't get the scion server installed. I get this error message:
Reading available packages…
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal
update' to download it.
cabal.exe: cannot configure scion-0.1.0.9. It requires AttoJson >=0.5.8,
binary ==0.5.*, ghc-paths ==0.1.*, ghc-syb-utils >=0.2.1, hslogger >=1.1,
list-tries -any, multiset >=0.1 && <0.3 and uniplate -any
There is no available version of AttoJson that satisfies >=0.5.8
There is no available version of binary that satisfies ==0.5.*
There is no available version of ghc-paths that satisfies ==0.1.*
There is no available version of ghc-syb-utils that satisfies >=0.2.1
There is no available version of hslogger that satisfies >=1.1
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
Do tou know, how i can solve this?
The warning says it all: Cabal is the install manager for Haskell, but it needs to know about the current packages on Hackage, the Haskell package site (hackage.haskell.org). So open a command prompt and just run "cabal update". It will take a few minutes depending on your internet connection speed. Then restart EclipseFP.
The next version of EclipseFP will I think do that for you to avoid this kind of issues.
I had this problem too. It has to do with the building of hte scion server. The scion server relies on other haskell libraries, available at hackage. The build system of haskell normally hides al l that magic. However, to enable the magic to happen, cabal needs to be updated, so it 'knows' about all the libraries it could use.
So, what does that all mean for you:
* Open a command prompt
* type 'cabal update'
* restart eclipse and watch the show. The scion server should be built automatically.
Thanks a lot.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.