Re: x11 setup problems
Re: x11 setup problems
- Subject: Re: x11 setup problems
- From: Kurt Bigler <email@hidden>
- Date: Sun, 2 May 2004 22:07:23 -0700
On May 2, 2004, at 10:00 PM, John A. Blumer wrote:
Kurt;
First.
Did you install the developer tools
Yes, I installed XCode tools immediately after installing Panther.
You need the X11 developer package.
Yes, that is apparently present, thought I don't remember in what step
of the sequence that got installed. Conceivably DarwinPorts did it
when I did the "port install gtk2" command. (I can probably check if
necessary since I think I have the output saved somewhere.) In any
case, as I said, my app runs just fine if I run it manually.
Presumably all version of the X11 SDK for OS X must be functionally
identical since the various X11 hosts appear to be interchangeable.
The BSD subsystem
Installed with Panther.
and the gimp tool kit.
Yes, as I said.
(this might have been bundled with Gimp, depending on the one you
installed. Also, make sure you have the right Gimp, some will only
work with Apples X-11 ( the package by Aaron Voisine), not XDarwin.
There is one for Gimp_1 and another for Gimp_2. You must have if you
ported something, correct? X-11 app is normally installed in
/Applications/utilities.
Yes, it is there, and I can run it manually and launch my app from its
terminal just fine.
-Kurt
http://www.gimp.org/macintosh/
On May 2, 2004, at 23:35, Kurt Bigler wrote:
Knowing pretty much nothing about X-Windows, I have ported gtk-based
app to OSX utilizing the capability of gtk to target X11 under OSX.
I originally built the gtk2 libraries via DarwinPorts.
Then I installed X11 under 10.3 by downloading it from the apple
site. My understanding is that the installer was supposed to set
things up so that X11 apps would run transparently by
double-clicking, including launching the X11 app.
But when I double-click my app, the system launches the standard
Terminal.app instead of X11. I could probably set up the DISPLAY
environment variable so that this has a chance of working but I'd
rather know how to get X11 to be launched by the double-click.
When I built gtk2 via DarwinPorts, this caused XDarwin to be
installed in my applications directory. I wondering if the presence
of XDarwin is causing any confusion, or if in fact DarwinPorts was
confused because I had not installed X11 prior to building the gtk2
library. Incidentally, when XDarwin is launched it quits almost
immediately. But this seems to be independent of the problem I am
having with X11.
My app functions normally when I start it explicitly from the X11
terminal.
There is no .xinitrc file in my home directory. I have not tried
creating one since I am trying to understand the most normal default
situation which will be representative of what end users of this app
(who are not X11-savvy) will run into.
Thanks in advance for any info that may help clarify these issues.
This situation appears to be obscure (though I'm not sure why) and
not quite covered by any of the FAQ's I have found.
-Kurt Bigler
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.