[Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Louis Zulli
I'd like to build a 64-bit gnubg on OS X 10.6.2 Snow Leopard. So I can't use the QuickTime framework, which isn't 64-bit. I've built all the gnubg dependencies as 64-bit, including libcanberra (used MacPorts). What modifications to the gnubg source are needed to use libcanberra instead of

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Christian Anthon
Is HAVE_CANBERRA defined as 1 in config.h? If not, configure doesn't find libcanberra. If it is, can you send me your modified sound.c. If that looks right, I guess you have to setup libcanberra in some way, libcanberra is mainly tested for linux. Christian. On Fri, Jan 15, 2010 at 11:50 AM,

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Achim Mueller
On Fri, Jan 15, 2010 at 11:50 AM, Louis Zulli zul...@lafayette.edu wrote: I'd like to build a 64-bit gnubg on OS X 10.6.2 Snow Leopard. So I can't use the QuickTime framework, which isn't 64-bit. I've built all the gnubg dependencies as 64-bit, including libcanberra (used MacPorts). I'd really

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Louis Zulli
gnubg builds on SL. The only issue is you can't make a 64-bit build using QuickTime. But you can build all the dependencies as universal binaries (+universal in MacPorts) and then build gnubg using -arch i386 in CFLAGS and LDFLAGS. This works fine, as far as I can tell. In fact, I'm about to

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Michael Petch
I'm not sure of the mechanism (Been a while since I used macports now), but could you build libcanberra and pull a copy of the config.log from its build process? Secondly does libcanberra have a dependency on gstreamer by any chance? On 15/01/10 10:51 AM, Louis Zulli zul...@lafayette.edu wrote: