borked windows environment, want to start over

I think I may have borked things good using cygwin. I want to remove it and do a clean install of haskell platform w/out cygwin. What do I need to do to make sure all configuration files have been removed?

On Wed, 17 Nov 2010 01:39:40 +0100, Michael Litchard
I think I may have borked things good using cygwin. I want to remove it and do a clean install of haskell platform w/out cygwin. What do I need to do to make sure all configuration files have been removed?
There are not many Cygwin experts here, I think, but it seems the answer can be found at: http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

On 17 November 2010 15:47, Henk-Jan van Tuyl
On Wed, 17 Nov 2010 01:39:40 +0100, Michael Litchard
wrote: I think I may have borked things good using cygwin. I want to remove
it and do a clean install of haskell platform w/out cygwin. What do I need to do to make sure all configuration files have been removed?
There are not many Cygwin experts here, I think, but it seems the answer can be found at: http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all
AFAICT Just don't use Cygwin. Install Windows Haskell from the Haskell.org web site download. Then run from Windows command line. You may have to put the haskell bin directory on the Windows PATH. Although I think it does this itself on instillation. Aaron

Cygwin is fine for development - the shell is Bash (this can probably be changed), so it is much more capable than the MS shell. Personally I've never needed to uninstall Cygwin, if things get in a mess re-running the Cygwin installer seems to sort things out. One caveat is that if you want to build Haskell bindings to C libraries, MinGW+MSys is preferable to Cygwin. Cygwin shared libraries depend on the cygwin.dll which generally isn't what you want for bindings.

On Wed, 17 Nov 2010 22:38:54 +0100, Stephen Tetley
One caveat is that if you want to build Haskell bindings to C libraries, MinGW+MSys is preferable to Cygwin. Cygwin shared libraries depend on the cygwin.dll which generally isn't what you want for bindings.
If you use MinGW, your compiled program depends on mingwm10.dll (depending on the version of MinGW). Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

On 18 November 2010 00:37, Henk-Jan van Tuyl
If you use MinGW, your compiled program depends on mingwm10.dll (depending on the version of MinGW).
Is this true in general or only when you have bindings pulling it in? The MinGW site and other places found in a search indicate that this lib is only necessary for C++ exception handling. I've probably only ever delivered compiled Windows Haskell apps that had no FFI bindings so I haven't noticed either way.

On Thu, 18 Nov 2010 09:45:54 +0100, Stephen Tetley
On 18 November 2010 00:37, Henk-Jan van Tuyl
wrote: If you use MinGW, your compiled program depends on mingwm10.dll (depending on the version of MinGW).
Is this true in general or only when you have bindings pulling it in? The MinGW site and other places found in a search indicate that this lib is only necessary for C++ exception handling.
I've probably only ever delivered compiled Windows Haskell apps that had no FFI bindings so I haven't noticed either way.
I don't know; I installed an application that used wxHaskell on a different computer and got a message about missing the mingwm10.dll Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard
I think I may have borked things good using cygwin. I want to remove it and do a clean install of haskell platform w/out cygwin. What do I need to do to make sure all configuration files have been removed?
Hmm, I wasn't precise enough in my question. My concern is there are configuration files related to the windows haskell-platform install that I don't know about , that need to be removed prior to doing a clean install. Or is it just a matter of doing a standard windows uninstall, will that take care of things?

Hi Michael,
On Thu, Nov 18, 2010 at 4:02 PM, Michael Litchard
On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard
wrote: I think I may have borked things good using cygwin. I want to remove it and do a clean install of haskell platform w/out cygwin. What do I need to do to make sure all configuration files have been removed?
Hmm, I wasn't precise enough in my question. My concern is there are configuration files related to the windows haskell-platform install that I don't know about , that need to be removed prior to doing a clean install. Or is it just a matter of doing a standard windows uninstall, will that take care of things?
I'm no Windows expert, but I think by default all packages you install locally go under: /Documents and Settings/username/Application Data/cabal /Documents and Settings/username/Application Data/ghc So you if you didn't install things globally, you may not need to reinstall the Haskell Platform. You just move those directories and they will be recreated. One of the first things I do after installing GHC is: $ ghc-pkg check to make sure things look sane. If they don't it will tell you to run: $ ghc-pkg recache Is this what you're asking? Paulo

On 11/18/2010 5:02 PM, Michael Litchard wrote:
On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard
wrote: I think I may have borked things good using cygwin. I want to remove it and do a clean install of haskell platform w/out cygwin. What do I need to do to make sure all configuration files have been removed?
Hmm, I wasn't precise enough in my question. My concern is there are configuration files related to the windows haskell-platform install that I don't know about , that need to be removed prior to doing a clean install. Or is it just a matter of doing a standard windows uninstall, will that take care of things?
As for Cygwin interacting with your native Windows Haskell Platform installation, I think the only thing you have to worry about is if you manually added your Cygwin bin directories to the Windows %PATH% (this won't be done by the Cygwin installer, it's something you would have had to do yourself). That can cause Cabal to get confused, in my experience, depending on the precedence of your Cygwin path entries. Cygwin is generally pretty good about not messing with the host Windows environment... deleting the c:\cygwin directory and removing any (Windows) %PATH% entries is generally sufficient to fully uninstall it. If you created any cygwin-based Windows services (sshd, etc.) you'll have to delete those too, and there are a couple registry keys you could delete if you want, but aside from %PATH% there's nothing that should really mess with Haskell Platform... When you say you may have borked things good with cygwin, what specific problem(s) are you referring to? -- Mark Shroyer http://markshroyer.com/contact/
participants (6)
-
Aaron Gray
-
Henk-Jan van Tuyl
-
list+haskell@markshroyer.com
-
Michael Litchard
-
Paulo Tanimoto
-
Stephen Tetley