ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] link tcl extensions with libtcl
Date: Tue, 11 Sep 2007 19:49:28 +0400
Message-ID: <20070911154927.GL6051@solemn.turbinal> (raw)
In-Reply-To: <m34pi1k0qx.fsf@hammer.lioka.obninsk.ru>

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

On Tue, Sep 11, 2007 at 01:30:30PM +0400, Sergey Bolshakov wrote:
>  > Кажется, у tcl пакетах нет такой потребности.  В любом случае, лучше
>  > не ставить зависимости на версию tcl в spec-файле, а линковать Tcl
>  > extensions с libtcl (будет автоматическая зависимость через
>  > soname).
> 
> Я не линкую extensions c libtcl, поскольку только libtcl
> как правило недостаточно -- обычно предполагается, что
> существует и содержимое /usr/share/tcl/tcl%major, начиная
> с init.tcl, да и soname там введён мною, в апстриме его нет.

Я думаю, что линковка с libtcl дает более точный тип зависимостей.
Это зависимость типа "равно", а не "больше или равно".

По этому поводу уже имеется некоторый консенсус: в питоне 2.5 тоже
стали линковать питоновские расширения с libpython (если питон собран
в варианте с shared libaray).  Я сбекпортил это изменение из svn в наш
питон 2.4.

Паковать отдельно библиотеку libtcl, если во всех случаях ее фактической
работы подразумеватся наличие init.tcl, похоже, не имеет смысла.  Я на
самом деле не знаю, как там с ембедом дело обстоит.

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

  reply	other threads:[~2007-09-11 15:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-09 18:19 [devel] rpm-build-4.0.4-alt78 rebuild status Alexey Tourbin
2007-09-09 19:45 ` [devel] rpm-build-4.0.4-alt78 beehive_status Alexey Tourbin
2007-09-09 19:54   ` Slava Semushin
2007-09-09 19:57     ` Slava Semushin
2007-09-09 20:15       ` Alexey Tourbin
2007-09-09 20:12     ` Alexey Tourbin
2007-09-09 20:16       ` Led
2007-09-09 22:30         ` Alexey Tourbin
2007-09-09 20:39       ` Alexey I. Froloff
2007-09-09 23:05         ` Alexey Tourbin
2007-09-09 22:28   ` [devel] rpm-build-4.0.4-alt78 tcl dependencies Alexey Tourbin
2007-09-09 23:27     ` Led
2007-09-09 23:48       ` [devel] #! shebang fixer Alexey Tourbin
2007-09-10  8:48       ` [devel] tcl.req.files: re-exec check implemented Alexey Tourbin
2007-09-10 10:46     ` [devel] rpm-build-4.0.4-alt78 tcl dependencies Sergey Bolshakov
2007-09-10 20:46       ` Alexey Tourbin
2007-09-10 21:52       ` [devel] rpm-build-4.0.4-alt78 -- remove rpm-build-tcl? Alexey Tourbin
2007-09-11  9:49         ` Sergey Bolshakov
2007-09-11 14:59           ` Alexey Tourbin
2007-09-11 15:35             ` Led
2007-09-10 22:13       ` [devel] rpm-build-4.0.4-alt78 rpm-build-tcl vs BuildRequires(pre) Alexey Tourbin
2007-09-11  9:30         ` Sergey Bolshakov
2007-09-11 15:49           ` Alexey Tourbin [this message]
2007-09-10 20:39     ` [devel] rpm-build-4.0.4-alt78 tcl SCRIPTS DISABLED Alexey Tourbin
2007-09-10 22:38     ` [devel] rpm-build-4.0.4-alt78 tcl dependencies Michael Shigorin
2007-09-10 10:13   ` [devel] rpm-build-4.0.4-alt78 beehive_status Sergey Bolshakov
2007-09-10 22:28   ` [devel] rpm-build-tcl Requires += tcl? Michael Shigorin
2007-09-11 16:13   ` [devel] Zope-2.7.7-alt1 Alexey Tourbin
2007-09-10 22:25 ` [devel] rpm-build-4.0.4-alt78 rebuild status Michael Shigorin

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=20070911154927.GL6051@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