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
On 10/01/2009 06:58 AM, Juergen Potzkoten wrote:
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
Glad you got it working! I'm not sure if gtk-osx still uses jhbuild shell (it probably does for building it and dependencies) but it at least provides a full environment to build GTK+ apps on OS X. There were also some related packages from the same group (Imendio) to build OS X application packages, a more OS X-alike GTK+ theme, and an integration package to use the OS X menu bar and Dock.
It was enough to get the look-and-feel just about right, but again I don't know how much progress has been made on those side-projects.
Happy hacking! :)
Actually jhbuild shell doesn't seem to be necessary anymore to build Geany under OSX....from http://www.gtk-osx.org/ you can download a nice and convenient .dmg file that seems to install all the necessary framework files...in my first tries I fiddled around with jhbuild but it's not required for building Geany these days, as far as I can tell. Maybe I'll take a deeper look at the other integration packages (osx theme sounds interesting...) in the near future but now I have some Python coding to do...which was the reason for installing Geany in the first place ;) (before the whole trouble started *g).
Oh, and what about creating a nice Geany .dmg package for the OSX community? ;-) ...maybe there are some other users interested..so we could combine efforts..
May the Source Be With You! :)
Oliver
On Fri, Oct 2, 2009 at 4:33 PM, Jason Oster jason.oster@campnavajo.comwrote:
On 10/01/2009 06:58 AM, Juergen Potzkoten wrote:
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
Glad you got it working! I'm not sure if gtk-osx still uses jhbuild shell (it probably does for building it and dependencies) but it at least provides a full environment to build GTK+ apps on OS X. There were also some related packages from the same group (Imendio) to build OS X application packages, a more OS X-alike GTK+ theme, and an integration package to use the OS X menu bar and Dock.
It was enough to get the look-and-feel just about right, but again I don't know how much progress has been made on those side-projects.
Happy hacking! :)
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Fri, 2 Oct 2009 17:51:48 +0200, Juergen wrote:
Actually jhbuild shell doesn't seem to be necessary anymore to build Geany under OSX....from http://www.gtk-osx.org/ you can download a nice and convenient .dmg file that seems to install all the necessary framework files...in my first tries I fiddled around with jhbuild but it's not required for building Geany these days, as far as I can tell. Maybe I'll take a deeper look at the other integration packages (osx theme sounds interesting...) in the near future but now I have some Python coding to do...which was the reason for installing Geany in the first place ;) (before the whole trouble started *g).
Oh, and what about creating a nice Geany .dmg package for the OSX community? ;-) ...maybe there are some other users interested..so we could combine efforts..
That'd be cool. If you got anything working, just tell us so we can link it on http://www.geany.org/Download/ThirdPartyPackages.
Regards, Enrico
P.S.: Juergen, could you use the same email address to send to this list as this which is subscribed to the list? Currently, you are using another one to send and so every of your mails are blocked by the mailing list software and I need to manually accept them. Thanks.