[Haskell-cafe] Re: Can't uninstall GHC or prepare SOE installation
on OS X
wolfgang.thaller at gmx.net
Wed Mar 8 11:04:03 EST 2006
Xavier Elizalde wrote:
> Hi. I sent this post to the haskell-cafe mailing list but haven't
> gotten any replies.
Ah well, I watch that list in digest mode only, easy to overlook things.
> Basically, I can't get the Uninstall AppleScript for GHC 6.4.1to
> run properly because it encounters an error.
Oops. I *thought* I had tested that to death.
Anyway, for manual removal:
/usr/local/lib/ghc-6.4.1 (the big part; if disk space is all you're
after, stop here)
ghc, ghc-6.4.1, ghc-pkg, ghc-pkg-6.4.1, ghci, ghci-6.4.1, ghcprof,
hasktags, hp2ps, hsc2hs, runghc, runhaskell, stat2resid
Some GHC-*.pkg file, I suspect now that it's called GHC-6.4.1.pkg
/Library/Frameworks/GMP.framework (do not delete this unless you do
not want to ever run any GHC-compiled program again until you re-
> I have the Haskell School of Expression book and want to try out
> the examples in the book that make use of X11 for graphics, and I
> don't know how to use GHC 6.4.1 for the SOE book examples. I
> thought it would be easiest to just uninstall it then install the
> SOE binaries for OS X.
The SOE binaries use hugs, and should therefore be completely
independent of GHC, no uninstalling required.
> But if GHC 6.4.1 works fine for the SOE book examples and is better
> than the SOE install, I'd like to use that, although I don't know
> how to get it to work with X11. Do you have any idea on what I
> should do?
Start your programs from an xterm.
If you want to use GHCi, set
before starting ghci in the xterm.
> I have The Haskell School of Expression book and the
> instructions for setting up and running the SOE software seem to have
> a different configuration compared to GHC 6.4.1. Namely, it's meant
> to use X11 and locations for files are different.
What files? I don't have the book, so all I can tell you is that GHC
includes a library module by the name of Graphics.SOE.
> Or does the GHC already
> have GraphicsLIb as part of it? If so, shouldn't it launch an X11
> Xterm terminal rather than the standard OS X Terminal?
Shouldn't it launch...? Are you referring to the AppleScript for
If so, then no, for two reasons:
a) X11 is an optional install on Mac OS X, so many people don't have it.
b) The standard Terminal is a lot more convenient to use than an
xterm, and most people don't need/want to use X11 for their Haskell
So good luck with SOE, if there are any more problems, ask me.
More information about the Haskell-Cafe