I cannot 'fink install sdl-mixer' on 10.3. I appear to be having the same problems as outlined in this thread:
http://www.mail-archive.com/[EMAIL PROTECTED]/ msg06999.html
I am unable to apply the -framework QuickTime fix as suggested; I cannot find the line in the top-level Makefile to edit.
I also appear to have a problem with smpeg-config. I have no idea what this is about. I could find no information on the error.
Here's the (condensed) output from "fink install sdl-mixer":
> fink install sdl-mixer
..
checking for smpeg-config... /sw/bin/smpeg-config
checking for SMPEG - version >= 0.4.3... no
*** Could not run SMPEG 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 SMPEG was
incorrectly installed
*** or that you have moved SMPEG since it was installed. In
the latter case, you
*** may want to edit the smpeg-config script:
/sw/bin/smpeg-config
updating cache ./config.cache
..
mv -f .libs/effects_internal.lo effects_internal.lo
/bin/sh ./libtool --mode=link gcc -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_NATIVE_MIDI -I./native_midi -DOGG_MUSIC -L/sw/lib -o libSDL_mixer.la -rpath /sw/lib -release 1.2 -version-info 2:3:2 load_aiff.lo load_voc.lo load_ogg.lo mixer.lo music.lo music_cmd.lo music_ogg.lo wavestream.lo effect_position.lo effect_stereoreverse.lo effects_internal.lo mikmod/libmikmod.la timidity/libtimidity.la native_midi/libnativemidi.la -framework QuickTime -lvorbisfile -lvorbis -logg -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL
rm -fr .libs/libSDL_mixer.la .libs/libSDL_mixer.* libs/libSDL_mixer-1.2.*
*** Warning: This library needs some functionality provided by -lSDLmain.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
gcc -dynamiclib -undefined dynamic_lookup -o libs/libSDL_mixer-1.2.0.2.3.dylib load_aiff.lo load_voc.lo load_ogg.lo mixer.lo music.lo music_cmd.lo music_ogg.lo wavestream.lo effect_position.lo effect_stereoreverse.lo effects_internal.lo -all_load mikmod/.libs/libmikmod.al timidity/.libs/libtimidity.al native_midi/.libs/libnativemidi.al -L/sw/lib -lvorbisfile -lvorbis -logg -lSDL -lc -install_name /sw/lib/libSDL_mixer-1.2.0.dylib -compatibility_version 3 -current_version 3.3
ld: warning -dylib_install_name /sw/lib/libSDL_mixer-1.2.0.dylib not found in segment address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/prebound/seg_addr_table
ld: warning prebinding disabled because dependent library: /sw/lib/libvorbisfile.3.dylib is not prebound
ld: native_midi/.libs/libnativemidi.al(native_midi_mac.lo) illegal reference to symbol: _CloseComponent defined in indirectly referenced dynamic library /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore
ld: native_midi/.libs/libnativemidi.al(native_midi_mac.lo) illegal reference to symbol: _NAStuffToneDescription defined in indirectly referenced dynamic library /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libSDL_mixer.la] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Failed: compiling sdl-mixer-1.2.5-11 failed
here's the (condensed) error report from config.log:
..
configure:2353: checking for smpeg-config
configure:2388: checking for SMPEG - version >= 0.4.3
configure:2479: gcc -o conftest -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I$(top_srcdir)/mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I$(top_srcdir)/timidity -DUSE_NATIVE_MIDI -I$(top_srcdir)/native_midi -DOGG_MUSIC -I/sw/include -I/sw/include/smpeg -I/sw/include/SDL -D_THREAD_SAFE -I/sw/include/SDL -D_THREAD_SAFE -no-cpp-precomp -I/sw/include -L/sw/lib conftest.c -L/sw/lib -lsmpeg -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL 1>&5
configure:2461:14: missing terminating " character
configure: In function `SDL_main':
configure:2462: error: parse error before "minimum"
configure:2462: error: stray '\' in program
configure:2462:18: missing terminating " character
configure:2464:14: missing terminating " character
configure:2465: error: parse error before "correct"
configure:2465: error: stray '\' in program
configure:2465:22: missing terminating " character
configure:2467:14: missing terminating " character
configure:2468: error: parse error before "SMPEG_CONFIG"
configure:2468: error: stray '\' in program
configure:2468:15: missing terminating " character
configure:2469:14: missing terminating " character
configure:2470: error: stray '\' in program
configure:2470:11: missing terminating " character
configure: failed program was:
#line 2412 "configure"
#include "confdefs.h"
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "smpeg.h"
char* my_strdup (char *str) { char *new_str;
if (str) { new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); strcpy (new_str, str); } else new_str = NULL;
return new_str; }
int main (int argc, char *argv[]) { int major, minor, micro; char *tmp_version;
/* This hangs on some systems (?) system ("touch conf.smpegtest"); */ { FILE *fp = fopen("conf.smpegtest", "a"); if ( fp ) fclose(fp); }
/* HP/UX 9 ([EMAIL PROTECTED]) writes to sscanf strings */ tmp_version = my_strdup("0.4.3"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "0.4.3"); exit(1); }
if ((0 > major) ||
((0 == major) && (4 > minor)) ||
((0 == major) && (4 == minor)
&& (4 >= micro)))
{
return 0;
}
else
{
printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the
minimum version\n", 0, 4,
4);
printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is
correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If smpeg-config was wrong, set the environment variable
SMPEG_CONFIG\n");
printf("*** to point to the correct copy of smpeg-config, and remove
the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
configure:2526: gcc -o conftest -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I$(top_srcdir)/mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I$(top_srcdir)/timidity -DUSE_NATIVE_MIDI -I$(top_srcdir)/native_midi -DOGG_MUSIC -I/sw/include -I/sw/include/smpeg -I/sw/include/SDL -D_THREAD_SAFE -I/sw/include/SDL -D_THREAD_SAFE -no-cpp-precomp -I/sw/include -L/sw/lib conftest.c -L/sw/lib -lsmpeg -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL 1>&5
configure: In function `SDL_main':
configure:2521: error: number of arguments doesn't match prototype
/sw/include/SDL/SDL_main.h:56: error: prototype declaration
configure: failed program was:
#line 2516 "configure"
#include "confdefs.h"
#include <stdio.h> #include "smpeg.h"
int main() { return 0; ; return 0; }
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users