I've just installed the Geany 0.15 package under Mac OS X 10.4.11 using an application called the MacPort transporter to compile and install a binary package for geany on my G-5. When I try to launch it from the Terminal command line I get the error "Geany: cannot open display" and the launch process terminates. Was I supposed to configure something before trying to launch it?
The first thing I would try is updating X11: http://xquartz.macosforge.org/trac/wiki (The most recent version requires OS X 10.5.6, but older version are still available)
The next thing to try (which is how I first got Geany setup on Mac OS X) is building Geany as a "native" app using GTK+OSX: http://www.gtk-osx.org/ (this project does not require nor use X11)
I was building GTK+ from Git and Geany from SVN over a good period of time, a while back. It was not entirely user-friendly getting to that point (using jhbuild to get and build GTK+, for example ... that required some extra hacking) And I haven't tried the GTK+ framework, but if that works, it should be much easier to use.
Hopefully this provides a good starting point, at the least!
Norman Chonacky wrote:
I've just installed the Geany 0.15 package under Mac OS X 10.4.11 using an application called the MacPort transporter to compile and install a binary package for geany on my G-5. When I try to launch it from the Terminal command line I get the error "Geany: cannot open display" and the launch process terminates. Was I supposed to configure something before trying to launch it?
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Feb 2, 2009, at 3:24 PM, Jason Oster wrote:
The first thing I would try is updating X11: http://xquartz.macosforge.org/trac/wiki (The most recent version requires OS X 10.5.6, but older version are still available)
The next thing to try (which is how I first got Geany setup on Mac OS X) is building Geany as a "native" app using GTK+OSX: http://www.gtk-osx.org/ (this project does not require nor use X11)
Hopefully this provides a good starting point, at the least!
Jason -- I looked over the X11 versions on macosforge.org and they all started with 2.xx, which means intended for Leopard only. I might need to bite the bullet and install Leopard on one of my machines now. I hate to do such things when I am in the middle of a project because there are always glitches as well as learning involved. As a last desperate grasp at a straw for correcting my current geany installation under Tiger, can you tell me if the geany display is mediated by X11? If so, then I may have filepath problem with my installation as well as or instead of X11 version problems, since my current X11 xterm application does not find geany when I enter "geany" at the xterm command line. Only the OS X application Terminal finds it. =========================================================== Norman Chonacky Research Affiliate Yale University - Department of Applied Physics P.O. Box 208284 - Becton Center, 401 15 Prospect Street New Haven, CT 06520-8284 E-Mail: norman.chonacky@yale.edu
Norman Chonacky wrote:
On Feb 2, 2009, at 3:24 PM, Jason Oster wrote:
The first thing I would try is updating X11: http://xquartz.macosforge.org/trac/wiki (The most recent version requires OS X 10.5.6, but older version are still available)
The next thing to try (which is how I first got Geany setup on Mac OS X) is building Geany as a "native" app using GTK+OSX: http://www.gtk-osx.org/ (this project does not require nor use X11)
Hopefully this provides a good starting point, at the least!
Jason -- I looked over the X11 versions on macosforge.org and they all started with 2.xx, which means intended for Leopard only. I might need to bite the bullet and install Leopard on one of my machines now. I hate to do such things when I am in the middle of a project because there are always glitches as well as learning involved. As a last desperate grasp at a straw for correcting my current geany installation under Tiger, can you tell me if the geany display is mediated by X11? If so, then I may have filepath problem with my installation as well as or instead of X11 version problems, since my current X11 xterm application does not find geany when I enter "geany" at the xterm command line. Only the OS X application Terminal finds it.
Hi Norman, I assume you've built Geany with Apple's bundled GTK+ support. In that case, it does need X11. If you can start Geany from Xterm (give the /full/path/to/geany) then at least that's all good.
I haven't ever built Geany for X11 on OS X (sorry if I made it sound that way). I've always used developer versions of GTK+OSX, which worked reasonably well.
On Feb 3, 2009, at 1:49 PM, Jason Oster wrote:
Hi Norman, I assume you've built Geany with Apple's bundled GTK+ support. In that case, it does need X11. If you can start Geany from Xterm (give the /full/path/to/geany) then at least that's all good.
Jason -- Problem solved ... thanks to you! The crucial clue was your comment that I should might need to give the full path to the geany application itself. And the crucial bit of information was your telling me that X11 would be needed if I built the application with GTK+ support that comes (I assume) with the Xtools bundle. So I started searching around for objects named "geany" and finally was able to make out the entire structure of what was installed and built with Macport. For those Mac users out there who wish to install geany and may be as naive as I am about these new integrated technologies, here is a caveat: The OS X search tools (File>Find and Searchlight) failed to find the geany application. In searching for any objects that included the string "geany", it listed folders, icons, etc, but no applications. (This may be because launching geany from the command line calls for geany as a command. Hence, within the Mac view of the file system, the command geany is just another executable file and not something typed as ".app".) So I really had to get down and dirty with Darwin's unix navigation and look for the particular "bin" directory where the executable geany resided. The search returns for the folders named geany helped direct me to the correct area, and the rest was "hunt and poke" until I found it, and hence its path. The filepath, referred to "root" where I located it is: /opt/local norman$ /opt/local/bin/geany I hope that this saves at least one person some time! Jason ... thanks again.