ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] libmikmod-config
Date: Sat, 29 Sep 2007 15:21:01 +0400
Message-ID: <20070929112101.GH6159@solemn.turbinal> (raw)
In-Reply-To: <20070929110719.GG6159@solemn.turbinal>

[-- Attachment #1: Type: text/plain, Size: 2936 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-09-29 11:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-29 11:07 Alexey Tourbin
2007-09-29 11:21 ` Alexey Tourbin [this message]
2007-09-29 12:05   ` Alexey Tourbin
2007-09-29 14:52   ` Pavlov Konstantin
2007-10-01  5:48   ` Slava Semushin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070929112101.GH6159@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git