[Top][All Lists]

[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: Michael Petch
Subject: Re: [Bug-gnubg] gnubg hangs when closing Appearance prefs on MacOS X
Date: Tue, 20 Apr 2004 08:19:33 -0600

Ah OKay,

Back a week and a half ago I committed changes specific to Mac OSX to
fix the math problem (Math problem was associated with the fact that
during ./configure libmx is not linked against during checks), Added
support for the Quicktime framework, and added libstdc++ . And added
linking against X11 to resolve an undefined reference.

My builds seemed to have no problem linking against external libintl and
libiconv which are in my Fink (/sw) directories.

All of paragraph #1 (except for linking libmx) seems to have been done.
I didn't add the carbon framework (Doesn't seem to be needed)

I didn't run configure with any of the options you specified (except
--prefix=/sw). It didn't have a problem using installed gettext and
iconv, and intl.

The only thing I am not sure about is that during the last build I see
that I am getting an error with libgmp installed - gnubg detects it adds
it to config.h and bombs during building. WIll look at it later.

Thanx for the input. 

Anyway, appears 
On Tue, 2004-04-20 at 07:43, Olivier Baur wrote:
> 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
Mike Petch
CApp::Sysware Consulting Ltd.
Suite 1002,1140-15th Ave SW.
Calgary, Alberta, Canada.
T2R 1K6.

reply via email to

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