Reputation: 10592
I cannot update cabal on windows seven. When running cabal install cabal-install
, I get the following error:
Linking C:\Users\sberg\AppData\Local\Temp\Cabal-1.18.1.2-10956\Cabal-1.18.1.2\dist\setup\setup.exe ...
Configuring Cabal-1.18.1.2...
setup.exe: does not exist
Failed to install Cabal-1.18.1.2
cabal: Error: some packages failed to install:
Cabal-1.18.1.2 failed during the configure step. The exception was:
ExitFailure 1
cabal-install-1.18.0.2 depends on Cabal-1.18.1.2 which failed to install.
I could not find any information on haskellwiki/cabal faq. Am I missing something? I am using the version 2013.2.0.0 of the haskell platform for windows.
Upvotes: 4
Views: 2413
Reputation: 10592
I have found a workaround, which is to run the command cabal install cabal-install
with MSYS.
I noticed however that with the newest cabal, I get a lot of does not exist
errors when running cabal install --only-dependencies
or cabal configure
if you are not in a MSYS console.
Edit In my case it was caused by a local 64bits perl install. Reordering perl & the haskell platform in my path solved the issue.
Upvotes: 1
Reputation: 805
I had the same problem, tried to run it through MSYS but it did not work for me.
Solution for me was to modify the %PATH% environment variable to only keep the standard Windows directories and the Haskell ones.
I suppose the build tools found with R and Python were interferring in the build process.
Upvotes: 1