bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] gnubg hangs when closing Appearance prefs on MacOS X


From: Olivier Baur
Subject: Re: [Bug-gnubg] gnubg hangs when closing Appearance prefs on MacOS X
Date: Tue, 20 Apr 2004 15:43:37 +0200

Le 19 avr. 04, à 20:07, Michael Petch a écrit :

Out of curiousity were you able to pull the sources and build them on
OSX out of the box (No changes to Makefiles etc)?

As far as I recall (since I've switched to ProjectBuilder and then Xcode to compile gnubg), I had to modify the Makefiles to link properly with the good libs, and I had to bring a few changes to config.h as well (about floating math functions).

I didn't spend time trying to change Makefile.am and config.in, as I'm not an expert in the fields, and as my sole purpose was to get a MacOS X port running. This is something I might do one day, though, as I now have a better understanding of gnubg and X11/GTK/GDK and libiconv/libintl.

Here are the notes I had written down at the time I was still using make to build:

Changes in Makefile:
        INTLLIBS = /usr/local/lib/libintl.dylib /usr/local/lib/libiconv.dylib
        LIBICONV = /usr/local/lib/libiconv.dylib
        LIBINTL = /usr/local/lib/libintl.dylib /usr/local/lib/libiconv.dylib
        LTLIBICONV = -L/usr/local/lib -liconv -R/usr/local/lib
LTLIBINTL = -L/usr/local/lib -lintl -L/usr/local/lib -liconv -R/usr/local/lib

Run configure with these options:
./configure --with-libiconv-prefix=/sw/lib --with-libintl-prefix=/sw/lib --with-included-gettext

Add to ld: -L/usr/X11R6/lib -lX11.6 -lgthread-2.0 -framework Carbon -framework QuickTime -lstdc++

Best,

-- Olivier





reply via email to

[Prev in Thread] Current Thread [Next in Thread]