[Haskell-cafe] Re: Haskell and GUI
ChrisK
haskell at list.mightyreason.com
Tue Jan 15 12:22:58 EST 2008
The advice below is for Mac OS X 10.4 and below. Starting with Mac OS X 10.5
(Leopard) the DISPLAY is set for you by the operating system. Mine is currently
"/tmp/launch-sQZXQV/:0" which looks very strange because it is used to cause the
launchd daemon to start the X server on demand (i.e. lazily).
Yitzchak Gale wrote:
> btw, if you use GTK2HS on the Mac, don't forget to
> start up X Windows support, and run "export DISPLAY=:0.0"
> in your terminal window, before you run your program.
> X Windows is usually in Applications/Utilities, but only
> if you installed it manually from the Mac OS X discs,
> it is not installed by default.
>
> Good news - Gtk2 now has native support for the
> Mac, so you probably won't need to run X starting
> with the next version of GTK2HS.
>
> Regard,
> Yitz
--
Chris
More information about the Haskell-Cafe
mailing list