Success!
first of all I'd like to thank you Nick & Jason for the hints! Building Geany natively under OSX with GTK+ (without X11) sounded fine to me..so I started again from scratch and deleted my previous attempts & macports.
Here's what I did:
- installed GTK+ from http://www.gtk-osx.org/ - downloaded the latest Geany SVN Version again - ran ./autogen.sh in Terminal again and got the following error:
.... checking pkg-config is at least version 0.9.0... yes checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.8.0) were not met:
No package 'gtk+-2.0' found ...
- fired up Finder to search for gtk, found it under <myuser>/gtk - added the path in Terminal by typing: export PKG_CONFIG_PATH=<myuser>/gtk/inst/lib/pkgconfig/ - checked it with: pkg-config --modversion gtk+-2.0 Output: 2.16.2
-so there we are! -then I ran configure, make and sudo make install again
-->Success! Geany executable is under /usr/local/bin/geany and runs fine now!
Maybe this little "Howto" can push the other OS X users (are there any? ;) ) into the right direction...
Thanks again and have a nice day! Oliver
On Wed, Sep 30, 2009 at 6:02 PM, Jason Oster jason.oster@campnavajo.comwrote:
On 09/30/2009 04:25 AM, Nick Treleaven wrote:
Hi,
On Mon, 28 Sep 2009 21:07:58 +0200 Juergen Potzkotengurubuster@googlemail.com wrote:
- Is the Xlib: ... error the critical error? If yes, how can I fix it?
...Google tells me that this error is not critical, but I get no Geany Program Window at all, so I can't really believe that this behaviour should be ignored...so far I found no solution for the RANDR error, I updated X11 core files, but the error keeps poping up...*sigh*
First, I don't really know anything about OSX, so any input from someone with it would be helpful.
RANDR seems to me to be referring to libXrandr.so[.VERSION] (or similar), which is a shared library that my Fedora Linux GTK library is linked to. So I guess that the GTK library you downloaded(?) depends on an X library file that isn't on your system.
To confirm this, if you have ldd, you can run: ldd /usr/lib/libgtk-x11-2.0.so.0
Where that path is the path to the GTK shared library. Paste the output here. On my system I get: ... libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00a11000) ...
If I'm right, you would either need to download the Xrandr module or download/build a GTK library that doesn't depend on it (not sure if the latter is possible for X backend).
It could be that your X library is too old, and that's why the module is missing.
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
When I built Geany on OS X last year, I was using the then-beta version of http://www.gtk-osx.org/ which provides native GTK+. (No need for X11, etc.) So then again, I don't have any experience building Geany for OSX/X11.
This might be something to consider trying.
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany