Hi there, I am wondering if anyone has gotten geany to work under OSX? I have managed to compile and run geany 0.10 using g++ 3.3 however there is something that is causing it to hang when I hit the compile button. Also when compiling under gcc 4.0.1 i get the following make error:
gcc -DGEANY_DEBUG -Wall -pipe -g -O2 -o geany main.o symbols.o search.o notebook.o keybindings.o templates.o treeviews.o about.o encodings.o keyfile.o prefs.o dialogs.o msgwindow.o build.o filetypes.o highlighting.osci_cb.o sciwrappers.o document.o socket.o tools.o utils.o ui_utils.o support.o interface.o callbacks.o vte.o ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -L/opt/local/lib -L/usr/X11R6/lib - lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm - lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 - lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -lstdc++ /usr/bin/ld: Undefined symbols: __Unwind_Resume collect2: ld returned 1 exit status make[2]: *** [geany] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Any ideas? Thanks, Ali
On Thu, 28 Dec 2006 09:50:54 -0500, "Ali Shah" caffein@gmail.com wrote:
Hi,
Hi there, I am wondering if anyone has gotten geany to work under OSX?
some time ago I compiled Geany on MacOSX 10.4. But it was a bit hard for me because I never had played with that OS and had some troubles with pkg-config and the GTK libs. But after setting the correct paths, the compilation itself went well and Geany ran like it should.
I have managed to compile and run geany 0.10 using g++ 3.3 however there is something that is causing it to hang when I hit the compile
Do you have the gdb on the machine or any other debugger? If so, just run Geany in the debugger and try to get it backtrace when it hangs.
button. Also when compiling under gcc 4.0.1 i get the following make error:
gcc -DGEANY_DEBUG -Wall -pipe -g -O2 -o geany main.o symbols.o search.o notebook.o keybindings.o templates.o treeviews.o about.o encodings.o keyfile.o prefs.o dialogs.o msgwindow.o build.o filetypes.o highlighting.osci_cb.o sciwrappers.o document.o socket.o tools.o utils.o ui_utils.o support.o interface.o callbacks.o vte.o ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -L/opt/local/lib -L/usr/X11R6/lib - lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm - lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 - lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -lstdc++ /usr/bin/ld: Undefined symbols: __Unwind_Resume collect2: ld returned 1 exit status make[2]: *** [geany] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I'm not completely sure but I think you can solve this, if you use g++ in the last linker command. No idea what's going wronh there, but using g++ instead of gcc worked some time ago.
regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On 28/12/06 14:50:54, Ali Shah wrote:
Hi there, I am wondering if anyone has gotten geany to work under OSX? I have managed to compile and run geany 0.10 using g++ 3.3 however there is something that is causing it to hang when I hit the compile button.
It's likely the hang is caused by GLib - you could try upgrading your version of GLib. There was a bug in 2.12.4 which affected g_io_channel behaviour, which is used in Geany's build system and elsewhere.
From the GLib 2.12.5 announcement: * Bugs fixed 302672 poll is completely broken on Mac OS X 10.4
Also when compiling under gcc 4.0.1 i get the following make error:
gcc -DGEANY_DEBUG -Wall -pipe -g -O2 -o geany main.o symbols.o search.o notebook.o keybindings.o templates.o treeviews.o about.o encodings.o keyfile.o prefs.o dialogs.o msgwindow.o build.o filetypes.o highlighting.osci_cb.o sciwrappers.o document.o socket.o tools.o utils.o ui_utils.o support.o interface.o callbacks.o vte.o ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -L/opt/local/lib -L/usr/X11R6/lib - lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm - lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 - lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -lstdc++ /usr/bin/ld: Undefined symbols: __Unwind_Resume collect2: ld returned 1 exit status make[2]: *** [geany] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I also think linking with g++ will fix this, so I'll probably make this the default, once I figure out how to tell automake how to do this ;-)
Regards, Nick