On Sat, Sep 29, 2007 at 03:07:19PM +0400, Alexey Tourbin wrote: > > libSDL_sound-1.0.1-alt2 Requires libm.so.6(GLIBC_2.0) > > -libSDL_sound-1.0.1-alt2 Requires libmikmod.so.2 > > libSDL_sound-1.0.1-alt2 Requires libphysfs-1.0.so.1 > > Preparing packages for installation... > ... > libmikmod-3.1.11-alt0.3 > libmikmod-devel-3.1.11-alt0.3 > ... > checking for libmikmod-config... /usr/bin/libmikmod-config > checking for libmikmod - version >= 3.1.5... no > *** Could not run libmikmod 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 libmikmod was incorrectly installed > *** or that you have moved libmikmod since it was installed. In the latter case, you > *** may want to edit the libmikmod-config script: /usr/bin/libmikmod-config config.log: configure:7603: checking for libmikmod - version >= 3.1.5 configure:7728: x86_64-alt-linux-gcc -o conftest -pipe -Wall -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -D_REENTRANT -pthread conftest.c -L/usr/lib -lmikmod -ldl -lm -laudiofile -lm -lSDL -lpthread >&5 configure: In function 'my_strdup': configure:7646: warning: implicit declaration of function 'strlen' configure:7646: warning: incompatible implicit declaration of built-in function 'strlen' configure:7647: warning: implicit declaration of function 'strcpy' configure:7647: warning: incompatible implicit declaration of built-in function 'strcpy' configure: In function 'main': configure:7693: warning: format '%d' expects type 'int', but argument 3 has type 'long int' configure:7693: warning: format '%d' expects type 'int', but argument 4 has type 'long int' configure:7693: warning: format '%d' expects type 'int', but argument 5 has type 'long int' configure:7660: warning: ignoring return value of 'system', declared with attribute warn_unused_result /usr/bin/ld: cannot find -laudiofile collect2: ld returned 1 exit status configure:7731: $? = 1 Вообще-то при таком раскладе у пакета libmikmod-devel должна быть зависимость на libaudiofile-devel. Я реалзиовал подобный поиск зависимостей на библиотеки для *.pc файлов. Но здесь используется libmikmod-config, а libmikmod.pc в пакете нету и он не используется. Не знаю, стоит ли реализовать поиск зависимостей для /usr/bin/*-config файлов. В общем-то этот способ отживает и уступает место pkg-config. --- libmikmod-devel-3.1.11-alt0.2.i586.rpm/usr/bin/libmikmod-config 2006-06-21 01:37:16 +0000 +++ libmikmod-devel-3.1.11-alt0.3.i586.rpm/usr/bin/libmikmod-config 2007-09-17 10:43:31 +0000 @@ -50,7 +50,7 @@ while test $# -gt 0 ; do ;; --libs) libdir= - echo $libdir -lmikmod -ldl -lm + echo $libdir -lmikmod -ldl -lm -laudiofile -lm ;; *) echo "${usage}" 1>&2