From: Guest007 <trash4@yandex.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] Сборка пакета с pyton
Date: Tue, 20 Sep 2005 13:31:17 +0400
Message-ID: <200509201331.17686.trash4@yandex.ru> (raw)
In-Reply-To: <432EE962.4090708@altlinux.org>
В сообщении от Понедельник 19 Сентябрь 2005 20:37 Alexey Rusakov написал(a):
> On 19.09.2005 15:48, Slava Dubrovskiy wrote:
> > Есть программа, которая проверяет наличие в системе необходимые ей для
> > работы модулей python. В данном случае gnomecanvas.
> > Пример, как она это делает приложен. Так вот, если я его вызываю на
> > выполнение, то в ответ получаю Yes, а если я указываю этот скрипт в
> > спеке в секции %build и пытаюсь собрать (rpm -ba), то No
> > Объясните пожалуйста в чем может быть проблема? Как это правильно обойти?
> > Значение sys.path в обоих случаях одинаковое.
>
> Предполагаю, проблема в том, что python-module-gnomecanvas требует для
> своей работы доступ к оконной системе (то есть установленную переменную
> DISPLAY), что при сборке rpm может не выполняться.
> Проверять в процессе сборки пакета рабочесть графических модулей - не
> очень хорошая идея. Хотя бы потому, что сборочная среда и машина, на
> которой пакет должен работать - это вообще говоря, очень разные вещи.
Похоже на то, поскольку импорт gnomecanvas не проходит в линуксовой консоли
(без иксов)
--
WBR Guest007
JID: guest007@jabber.ru
next prev parent reply other threads:[~2005-09-20 9:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-19 11:48 Slava Dubrovskiy
2005-09-19 16:37 ` Alexey Rusakov
2005-09-20 9:31 ` Guest007 [this message]
2005-09-20 10:30 ` Slava Dubrovskiy
2005-09-20 10:40 ` Slava Dubrovskiy
2005-09-20 9:32 ` Guest007
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=200509201331.17686.trash4@yandex.ru \
--to=trash4@yandex.ru \
--cc=community@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git