-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal-install-1.20.0.3 failed during the building phase. The exception was: ExitFailure 1 #2193
Comments
What's the output of |
Did a
|
So you have Cabal-1.20 installed globally, but it's in a broken state. I suggest:
I also recommend building
This way, if anything goes wrong, your system won't be borked. You can later copy the |
I'm making a right mess of this, but I guess it's the best way to learn! Thanks for the advice. I presume I will have to be in the sandbox directory to use that version of cabal. |
If you run And BTW, we have binary downloads available on the website: https://www.haskell.org/cabal/download.html |
Optimistically closing. |
If only I'd known about the binary! So the easiest way to install cabal is from a binary after installing Haskell Platform? Are there any limitations to doing it that way? I'll tidy it all up as you suggest and give it another go, this time with the binary. |
We only provide a 32-bit version ATM. |
For the record, I uninstalled Haskell Platform, deleted the
@23Skidoo's optimism was well placed. |
I am trying to build a Haskell IDE around Sublime Text on a Windows platform and have had a number of issues (some of my own making!), including working out how to successfully update and install cabal after installing Haskell Platform. In an attempt to prove I had found the solution I uninstalled Haskell Platform in order to start again. I then discovered the
%AppDapa%\cabal
and%AppData%\ghc
folders were not getting deleted. I deleted those after an uninstall, then reinstalled Haskell Platform. I performed acabal update
followed bycabal install --global cabal-install
but cabal failed to build, as it did again when I performedcabal install cabal-install
for a user install. Consequently, I edited%AppData%\cabal\config
to perform a global install:cabal install cabal-install
still failed to build.The output from
cabal install cabal-install -v
is:Is there a way to carry out a complete uninstall of Haskell Platform, cabal, ghc, etc. so that a new install will work? And can anyone advise what is preventing cabal to install?
Thanks
The text was updated successfully, but these errors were encountered: