I searched through the archives for this mailing list and found this
result: http://www.libsdl.org/pipermail/sdl/2006-April/074117.html
However, it’s not working for me (using the latest stable release,
1.2.7). First off, the script (gcc-fat.sh) refers to OS X 10.2.8
files, while I only have 10.4 files. I did a search and replace so
that the paths in the script point to files that actually exist, but
then when I run the recommended configure ("./configure CC=“sh
gcc-fat.sh” && make && rm -rf ppc x86"), I get the following output:
% ./configure CC=“sh gcc-fat.sh” && make && rm -rf ppc x86
…
checking for sdl-config… /usr/local/bin/sdl-config
checking 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-config
configure: error: *** SDL version 1.2.10 not found!
% /usr/local/bin/sdl-config --version
1.2.10
So clearly, something is wrong here; I just haven’t been able to
figure out what, myself. I also note that if I just do ./configure
normally, then I can build and install the libraries, but they don’t
contain any symbols that my computer can recognize:
% ranlib lib/libSDL_mixer.a
ranlib: file: lib/libSDL_mixer.a(native_midi_win32.o) has no symbols
I’m fairly certain that I shouldn’t have any system files with the
letters “win” in them anywhere. Anyway, if anyone has any advice,
I’d love to hear it. Please keep me in the CC list as I’m not
subscribed.
-Chris Weisiger