
On 13 March 2012 15:03, Hamish Mackenzie
On 13 Mar 2012, at 16:56, Hamish Mackenzie wrote:
On 13 Mar 2012, at 16:51, Hamish Mackenzie wrote:
On 13 Mar 2012, at 15:56, Ivan Lazar Miljenovic wrote:
Even if you "cabal unpack" and then modify the .cabal file and run "cabal install" it still fails with the same error.
How did you modify it? Did you change the "cabal-version" field as well?
I changed cabal-version and removed the test-suites. I think it must be looking at all the available versions of the package (in hackage).
If you can think of a better solution than asking users to install GHC 7.0.4 or 7.4.1 to build cabal-install, then please let me know.
Just build a newer version of cabal-install based upon Cabal-1.10 ?
I just tried this and it works...
cabal install Cabal-1.10.0.2 cabal install cabal-install cabal install leksah-server
Thanks Ivan
Oops transposed the last two parts of the version number. It should should have read...
cabal install Cabal-1.10.2.0 cabal install cabal-install cabal install leksah-server
This also works... cabal install --constrain='Cabal>=1.10.2' cabal-install cabal install leksah-server
Wouldn't just a "cabal update && cabal install cabal-install" work to bring in the newest version of cabal-install (which requires Cabal-1.10.*) ? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com