Re: problems with gtk
"Mark Duling" <[email protected]> Sat, 02 Sep 2006 01:57:03 -0700
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
Tia <[email protected]> writes: >I just started to discover Darwin Ports, I had used Linux before i =20 >passed to Mac Os X so i'm excited by the fact that i can use the =20 >'old' apps i knew. >In particular i'm interested in the use of bluefish. >I installed darwin Ports and then i installed, for example, bzflag; =20 >everything gone right. >When i try to install bluefish (or cannonsmash, and so everything =20 >that makes use of gtk ) i receive this kind of error: > >powerbook-g4-15-di-mattia-macaluso:~ tia$ bluefish > >(bluefish:11670): Gtk-WARNING **: cannot open display: > >Then i'm moved to my prompt. >What's the problem? what can i do? You must set the line: export DISPLAY=3D:0 in your environment and start X11 before launching your X11 app. Here's = a page I have describing the whole MacPorts, X11, and shell setup. http://homepage.mac.com/duling/halfdozen/DP-XWin-Howto.html Mark Start up the X11