[Haskell-cafe] Re: borked windows environment, want to start over

2010-11-19 Thread list+haskell
On 11/18/2010 5:02 PM, Michael Litchard wrote:
 On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard mich...@schmong.org 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/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: borked windows environment, want to start over

2010-11-18 Thread Michael Litchard
On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard mich...@schmong.org 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?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: borked windows environment, want to start over

2010-11-18 Thread Paulo Tanimoto
Hi Michael,

On Thu, Nov 18, 2010 at 4:02 PM, Michael Litchard mich...@schmong.org wrote:
 On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard mich...@schmong.org 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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe