ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] gtk-update-icon-cache filetrigger (+ libtcl deficiency)
Date: Wed, 10 Sep 2008 01:52:09 +0400
Message-ID: <20080909215209.GZ6477@altlinux.org> (raw)
In-Reply-To: <m3hc8pknky.fsf@hammer.lioka.obninsk.ru>

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

On Wed, Sep 10, 2008 at 01:37:33AM +0400, Sergey Bolshakov wrote:
>  > Библиотека libtcl имеет "непрозрачную" зависимость на init.tcl, этот
>  > файл загружается при инициализации библиотеки.  Без init.tcl приложения,
>  > слинованные c libtcl, обламываются; а файл init.tcl имеет смысл только
>  > в связи с наличием конкретной библиотеки libtcl.  Это достаточное
>  > основание для того, чтобы применить принцип правильной группировки
>  > файлов между пакетами -- файлы libtcl*so* и init.tcl должны быть
>  > запакованы в один и тот же пакет.  На практике возможны два решения:
>  > либо перенести init.tcl (и, возможно, ещё некоторые файлы) из пакета tcl
>  > в пакет libtcl, либо полностью внести libtcl в tcl (то есть исключить
>  > отдельный пакет с библиотекой, если библиотека "сама по себе"
>  > не работает).
> 
> библиотека "сама по себе" работает, если приложение, в которое
> встроена libtcl, потрудится установить в своё окружение переменную
> TCL_LIBRARY, указывающую на специфический init.tcl -- например.
> Есть и другие способы, желающие да насладятся разбором исходников tcl,
> в районе generic/tclInterp.c и unix/tclUnix.Init.c
> 
> Кроме того, я был бы признателен, если бы ты избирал для иллюстрации
> своих, безусловно, интересных размышлений более подходящие примеры.

$ hsh --init
<86>Sep 10 01:49:26 userdel[31245]: delete user `rooter'
<86>Sep 10 01:49:26 userdel[31245]: remove group `rooter'
<86>Sep 10 01:49:26 groupadd[31246]: new group: name=rooter, gid=505
<86>Sep 10 01:49:26 useradd[31247]: new user: name=rooter, uid=505, gid=505, home=/root, shell=/bin/bash
<86>Sep 10 01:49:26 userdel[31249]: delete user `builder'
<86>Sep 10 01:49:26 userdel[31249]: remove group `builder'
<86>Sep 10 01:49:26 groupadd[31250]: new group: name=builder, gid=506
<86>Sep 10 01:49:26 useradd[31251]: new user: name=builder, uid=506, gid=506, home=/usr/src, shell=/bin/bash
$ hsh-install xauth
<13>Sep 10 01:49:35 rpmi: libX11-locales-3:1.1.5-alt1 installed
<13>Sep 10 01:49:35 rpmi: libXau-1.0.4-alt1 installed
<13>Sep 10 01:49:36 rpmi: libXdmcp-1.0.2-alt1.0 installed
<13>Sep 10 01:49:36 rpmi: libxcb-1.1-alt4 installed
<13>Sep 10 01:49:36 rpmi: libX11-3:1.1.5-alt1 installed
<13>Sep 10 01:49:36 rpmi: libXext-1.0.4-alt1 installed
<13>Sep 10 01:49:36 rpmi: libICE-1.0.4-alt1 installed
<13>Sep 10 01:49:36 rpmi: libSM-1.1.0-alt1 installed
<13>Sep 10 01:49:36 rpmi: libXt-1.0.5-alt1 installed
<13>Sep 10 01:49:36 rpmi: libXmu-1.0.4-alt1 installed
<13>Sep 10 01:49:36 rpmi: xauth-1:1.0.3-alt1 installed
$ hsh-install ocamlbrowser
<13>Sep 10 01:49:44 rpmi: ocaml-runtime-3.10.2-alt3.1 installed
<13>Sep 10 01:49:44 rpmi: libtcl-8.5.4-alt1 installed
<13>Sep 10 01:49:44 rpmi: libXrender-0.9.4-alt1 installed
<13>Sep 10 01:49:44 rpmi: libexpat-2.0.1-alt0.1 installed
<13>Sep 10 01:49:44 rpmi: libfreetype-2.3.7-alt1 installed
<13>Sep 10 01:49:44 rpmi: fontconfig-2.6.0-alt1 installed
Updating fonts cache: <29>Sep 10 01:49:46 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>Sep 10 01:49:46 rpmi: libXft-2.1.13-alt1 installed
<13>Sep 10 01:49:46 rpmi: libXScrnSaver-1.1.3-alt1 installed
<13>Sep 10 01:49:46 rpmi: libtk-8.5.4-alt1 installed
<13>Sep 10 01:49:46 rpmi: labltk-runtime-3.10.2-alt3.1 installed
<13>Sep 10 01:49:46 rpmi: rpm-build-ocaml-1.1.1-alt1 installed
<13>Sep 10 01:49:56 rpmi: ocaml-3.10.2-alt3.1 installed
<13>Sep 10 01:49:59 rpmi: ocamlbrowser-3.10.2-alt3.1 installed
$ hsh-run -X ocamlbrowser
xauth:  creating new authority file /usr/src/.Xauthority
Fatal error: exception Protocol.TkError("Can't find a usable init.tcl in the following directories: 
    /usr/share/tcl/tcl8.5 /usr/lib/tcl8.5 /lib/tcl8.5 /usr/library /library /tcl8.5.4/library /tcl8.5.4/library

This probably means that Tcl wasn't installed properly.
")
$ 

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

  reply	other threads:[~2008-09-09 21:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09 20:23 Alexey Tourbin
2008-09-09 21:04 ` Dmitry V. Levin
2008-09-09 21:18   ` Alexey Tourbin
2008-09-09 21:32     ` Dmitry V. Levin
2008-09-09 21:45       ` Alexey Tourbin
2008-09-09 21:50         ` Led
2008-09-10  9:45         ` Alexey Shabalin
2008-09-09 21:25   ` Led
2008-09-09 21:37 ` Sergey Bolshakov
2008-09-09 21:52   ` Alexey Tourbin [this message]
2008-09-09 22:10     ` Sergey Bolshakov
2008-09-10  5:50       ` Alexey Tourbin
2008-09-10  9:52         ` Sergey Bolshakov
2008-09-10 10:01           ` Dmitry V. Levin
2008-09-10 10:08             ` Mikhail Gusarov
2008-09-10 13:50               ` Michael Shigorin
2008-09-10 14:22                 ` Evgeny Sinelnikov
2008-09-10  6:52 ` [devel] Q: gtk-update-icon-cache index.theme Alexey Tourbin
2008-09-11 20:47   ` Yuri N. Sedunov
2008-09-10 10:57 ` [devel] gtk-update-icon-cache filetrigger (+ libtcl deficiency) Sergey V Turchin

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=20080909215209.GZ6477@altlinux.org \
    --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