   SDL_Mixer for Intel Macs
  I'm having some problems getting SDL_Mixer 1.2.7 to work with my new iMac Core Duo. My project is a strictly commandline-based thing; I haven't been making use of frameworks, which are the standard way that prebuilt libraries are distributed for Macs; that means that I have to build everything myself. Normally this isn't a problem, but I have yet to get SDL_Mixer to work. The normal './configure && make && make install' seems to produce Windows libraries instead; at any rate, when I try to build with them, I can't find any functions, and when I run ranlib on the .a file I get ranlib: file: build/.libs/libSDL_mixer.a(native_midi_win32.o) has no symbolsThere's a provided configuration script that's supposed to make fat libraries, but in includes references to OS X 10.2.8 files, and my computer only has 10.4 files. Replacing those paths to be to files that actually exist and running the configuration gets me this:% ./configure CC="sh gcc-fat.sh" && make && rm -rf ppc x86(snip lots of configure output)checking for sdl-config... /usr/local/bin/sdl-configchecking for SDL - version >= 1.2.10... no*** Could not run SDL test program, checking why...*** The test program failed to compile or link. See the file config.log for the*** exact error that occured. This usually means SDL was incorrectly installed*** or that you have moved SDL since it was installed. In the latter case, you*** may want to edit the sdl-config script: /usr/local/bin/sdl-configconfigure: error: *** SDL version 1.2.10 not found!c66-235-51-224% sdl-config --version1.2.10So as you might imagine, at this point I'm rather confused. How do I convince the configuration script that I am in fact using SDL 1.2.10 (which I am)?Edited to note that I'm using SDL_Mixer 1.2.7.Further edit: here's some relevant output from config.log:configure:19516: checking for sdl-configconfigure:19534: found /usr/local/bin/sdl-configconfigure:19547: result: /usr/local/bin/sdl-configconfigure:19555: checking for SDL - version >= 1.2.10configure:19648: sh gcc-fat.sh -o conftest   -D_GNU_SOURCE=1 -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE   -D_GNU_SOURCE=1 -I/usr/local/include   -L/usr/local/lib conftest.c  -L/usr/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa >&5ld: warning /usr/local/lib/libSDLmain.a archive's cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (can't load from it)ld: warning /usr/local/lib/libSDL.dylib cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)ld: Undefined symbols:_mainI don't see anywhere in the specified program where 'ppc' is mentioned'; it's certainly not in any of the libraries being included.   
  I'd ask the SDL mailing list for help with this first; I don't know if SDL_mixer has gone universal yet, or just the mainstream SDL distribution.It looks like the configure script is checking for SDL 1.2.10 (the first Universal distribution of SDL) so if you don't have that, you should upgrade immediately. You said you do, but there might be old SDL files kicking around -- perhaps you built SDL 1.2.10 and forgot to install it? Check the version of your sdl-config command.   ;  I pasted the output of sdl-config --version right after the output of the ./configure script; I should have put some whitespace in there to make it clear. It looks like I'm running into problems with the whole trying-to-build-fat-libraries thing. Thing is, I don't want fat libraries; I want x86 libraries; I'll worry about running on PPC Macs later. So I've been trying to hack the gcc-fat.sh script to ignore the PPC side of things, but I've made little progress there.I did send an email to the SDL mailing list, but since I'm not subscribed it got hung up waiting for approval. As it's now been about a week since I sent that email, I suppose either their list administrator is really busy or he ignores all messages sent by non-members. I don't normally like subscribing to a list just to ask a single question, but I may have to for this...   ;Quote:Original post by DerakonI did send an email to the SDL mailing list...I'm subscribed on the list and remember your mail from a few days ago since I'm also interested in the fat-binary stuff. By the way the list is also mirrored here : http://news.gmane.org/gmane.comp.lib.sdl;  Ahh; thank you. I had assumed that I would receive a confirmation email when it actually arrived; oh, well. No responses, of course; odds are pretty good that the intersection of people using Intel Macs and people who have experience with the finer points of SDL_Mixer is a small group. Bah.   