> Do you have any werid leftovers in your ~/.ghc and/or ~/.cabal
> directories? While our hs-ports always ensure to use only the
> globally installed hs libraries (i.e. in ${LOCALBASE}/lib/ghc),
> xmonad may also pull in user-installed libraries.

It wasn't in my local directory, but I did have weird stuff left over from
a 3 year old ghc package in /usr/local/lib/ghc/package.conf.d/ (found with
ghc -v).

Something like this:

-rw-r--r--  1 root  wheel    1289 May 13  2011
utf8-string-0.3.6-5ee26357cb5966310fb19966a1a80ed8.conf
-rw-r--r--  1 root  wheel    1360 May 18 20:39
utf8-string-0.3.8-4b98c0faca0296b4da4f390d8a63aa83.conf

So I uninstalled ghc-7.6.3, which dutifully reported that it can't nuke the
junk:
..
Read shared items: ok
--- -ghc-7.6.3p1 -------------------
Error deleting directory /usr/local/lib/ghc/package.conf.d: Directory not
empty
Error deleting directory /usr/local/lib/ghc: Directory not empty

Thus I proceeded to nuke it myself:

% sudo rm -r /usr/local/lib/ghc

And reinstalled everything I cared about:

% sudo pkg_add xmonad
% sudo pkg_add ghc-7.6.3p1
% sudo pkg_add xmonad-lib

And now everything works just fine.

Sorry about the noise.

Thanks
Greg
-- 
nest.cx is Gmail hosted, use PGP for anything private. Key:
http://goo.gl/6dMsr
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0

Reply via email to