
Hi All.I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and the HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC.To remove GHC I've used the uninstaller tool and I've manually removed the folder /Library/Frameworks/GHC.framework. I've also manually removed the folder /Users/MyUser/Library/Haskell and the folder /Users/MyUser/.cabalNow I've installed GHC again, but when I try to install the package hsgsom cabal tells to me that the package is already installed and I have to use the --reinstall flag. So, where the information of the installed packages are stored on my system? How can I remove all Haskell dependencies from my system in order to start with a clean installation?Thanks in advance for any answer.Luca.

Sorry I've forgot the mail subject :-) From: luca_ciciriello@hotmail.com To: beginners@haskell.org Date: Wed, 20 Apr 2011 08:35:20 +0100 Subject: [Haskell-beginners] (no subject) Hi All.I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and the HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC.To remove GHC I've used the uninstaller tool and I've manually removed the folder /Library/Frameworks/GHC.framework. I've also manually removed the folder /Users/MyUser/Library/Haskell and the folder /Users/MyUser/.cabalNow I've installed GHC again, but when I try to install the package hsgsom cabal tells to me that the package is already installed and I have to use the --reinstall flag. So, where the information of the installed packages are stored on my system? How can I remove all Haskell dependencies from my system in order to start with a clean installation?Thanks in advance for any answer.Luca. _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

Am 20.04.2011 09:35, schrieb Luca Ciciriello:
Hi All. I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and the HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC. To remove GHC I've used the uninstaller tool and I've manually removed the folder /Library/Frameworks/GHC.framework. I've also manually removed the folder /Users/MyUser/Library/Haskell and the folder /Users/MyUser/.cabal
Now I've installed GHC again, but when I try to install the package hsgsom cabal tells to me that the package is already installed and I have to use the --reinstall flag. So, where the information of the installed packages are stored on my system? How can I remove all Haskell dependencies from my system in order to start with a clean installation?
"ghc-pkg list" shows your installed packages and the place where they are stored. C.
Thanks in advance for any answer.
Luca.

Thanks Christian. Using ghc-pkg list I've saw that the information to remove was stored in Users/MyUser/.GHC folder. Removing this folder has solved my problem. Thanks Luca.
Date: Wed, 20 Apr 2011 09:40:44 +0200 From: Christian.Maeder@dfki.de To: luca_ciciriello@hotmail.com CC: beginners@haskell.org Subject: ghc-pkg list was: Re: (no subject)
Am 20.04.2011 09:35, schrieb Luca Ciciriello:
Hi All. I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and the HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC. To remove GHC I've used the uninstaller tool and I've manually removed the folder /Library/Frameworks/GHC.framework. I've also manually removed the folder /Users/MyUser/Library/Haskell and the folder /Users/MyUser/.cabal
Now I've installed GHC again, but when I try to install the package hsgsom cabal tells to me that the package is already installed and I have to use the --reinstall flag. So, where the information of the installed packages are stored on my system? How can I remove all Haskell dependencies from my system in order to start with a clean installation?
"ghc-pkg list" shows your installed packages and the place where they are stored.
C.
Thanks in advance for any answer.
Luca.

On 20 April 2011 09:35, Luca Ciciriello
Now I've installed GHC again, but when I try to install the package hsgsom cabal tells to me that the package is already installed and I have to use the --reinstall flag. So, where the information of the installed packages are stored on my system?
I'm not familiar with Mac OS X, but at least on other Unix systems cabal installs (local) packages into ~/.cabal – i.e. the “.cabal” directory in your home directory. Removing this would mean “starting with a clean sheet”. -- Erlend Hamberg ehamberg@gmail.com

Yes, you are right, but using "ghc-pkg list", as suggested by Christian Maeder, I've found out that I've to remove also the ~/.GHC folder. Deletion of this folder solve my problem. Thanks. Luca.
From: ehamberg@gmail.com Date: Wed, 20 Apr 2011 09:51:02 +0200 Subject: Re: [Haskell-beginners] (no subject) To: luca_ciciriello@hotmail.com CC: beginners@haskell.org
On 20 April 2011 09:35, Luca Ciciriello
wrote: Now I've installed GHC again, but when I try to install the package hsgsom cabal tells to me that the package is already installed and I have to use the --reinstall flag. So, where the information of the installed packages are stored on my system?
I'm not familiar with Mac OS X, but at least on other Unix systems cabal installs (local) packages into ~/.cabal – i.e. the “.cabal” directory in your home directory. Removing this would mean “starting with a clean sheet”.
-- Erlend Hamberg ehamberg@gmail.com
participants (3)
-
Christian Maeder
-
Erlend Hamberg
-
Luca Ciciriello