the deleting .ghc/ solves that problem, but another problem i've had is that when trying to build gtk2hs, I'm unable to find the package.conf file that apparently needs to be modfied, and only  a package.conf.d  folder.... are these somehow the same thing or where is it hidden/what am i overlooking?


On Sat, Apr 17, 2010 at 6:51 PM, Ivan Lazar Miljenovic <ivan.miljenovic@gmail.com> wrote:
Carter Schonwald <carter.schonwald@gmail.com> writes:
> I can't seem to find it documented anywhere as to the default directories
> that cabal puts its information in  (its certainly not in ~/.cabal ),  as
> I'm finding that even when I try to do a "reinstall" of the haskell
> platform, cabal thinks that all the libraries i removed are still there. how
> can i fix this?

Cabal uses the ghc-pkg "database" to know which libraries are installed.
If you want to wipe everything and start afresh, then delete the ~/.ghc
directory (assuming you did per-user installs).

--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
IvanMiljenovic.wordpress.com