From: Slava Dubrovskiy <slava@elan.com.ua>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] Сборка пакета с pyton
Date: Tue, 20 Sep 2005 13:30:04 +0300
Message-ID: <432FE4AC.5040304@elan.com.ua> (raw)
In-Reply-To: <200509201331.17686.trash4@yandex.ru>
Guest007 пишет:
>>>Есть программа, которая проверяет наличие в системе необходимые ей для
>>>работы модулей python. В данном случае gnomecanvas.
>>>Пример, как она это делает приложен. Так вот, если я его вызываю на
>>>выполнение, то в ответ получаю Yes, а если я указываю этот скрипт в
>>>спеке в секции %build и пытаюсь собрать (rpm -ba), то No
>>>Объясните пожалуйста в чем может быть проблема? Как это правильно обойти?
>>>Значение sys.path в обоих случаях одинаковое.
>>>
>>>
>>Предполагаю, проблема в том, что python-module-gnomecanvas требует для
>>своей работы доступ к оконной системе (то есть установленную переменную
>>DISPLAY), что при сборке rpm может не выполняться.
>>Проверять в процессе сборки пакета рабочесть графических модулей - не
>>очень хорошая идея. Хотя бы потому, что сборочная среда и машина, на
>>которой пакет должен работать - это вообще говоря, очень разные вещи.
>>
>>
>Похоже на то, поскольку импорт gnomecanvas не проходит в линуксовой консоли
>(без иксов)
>
Да, в devel@ уже объяснили. Придется патчить :-(
--
С уважением,
Дубровский Вячеслав.
next prev parent reply other threads:[~2005-09-20 10:30 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
2005-09-20 10:30 ` Slava Dubrovskiy [this message]
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=432FE4AC.5040304@elan.com.ua \
--to=slava@elan.com.ua \
--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