ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: aen <aen@altlinux.ru>
To: devel@altlinux.ru
Subject: Re: [devel] Вопрос по сборке
Date: Mon, 28 Oct 2002 14:46:31 +0300
Message-ID: <3DBD2397.9010004@altlinux.ru> (raw)
In-Reply-To: <200210280042.41730.LAV@VL3143.spb.edu>

Vitaly Lipatov пишет:

>On 28 Октябрь 2002 13:39, aen wrote:
>  
>
>>Vitaly Lipatov пишет:
>>    
>>
>>>Скажите, как определить причину,
>>>по которой пакет lyx, собранный в office в BTE,
>>>имеет исключительно английский интерфейс, вне зависимости от
>>>локали. Когда я тот же пакет собираю дома, где самый
>>>последний Сизиф, всё отлично.
>>>Это началось с обновления XForms до версии 1.0 и XFree в
>>>Сизифе.
>>>      
>>>
>>Если Вы собираете в ru_RU.*, то, возможно, все зависит от
>>того, в какой locale исполняется скрипт настреок конйигурации.
>>Это ненормально, так как скрипт этот, будучи вызванным при
>>первом запуске, должен переписывать настройки по умолчанию.
>>Rgrds, Алексей
>>    
>>
>Да, я собираю в ru_RU.koi8-r
>Но насколько я понимаю, проблема в том, что lyx вообще не 
>обращается за файлами локализации... Стоп, сейчас запущу strace.
>И вот что я вижу в сборке из Сизифа:
>
>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, 
>MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40021000
>read(6, "# This is the default LyX user i"..., 8192) = 8192
>open("/build/inger/RPM/TMP/lyx-buildroot/usr/share/locale/ru_RU.KOI8-R/LC_MESSAGES/lyx.mo", 
>O_RDONLY) = -
>open("/build/inger/RPM/TMP/lyx-buildroot/usr/share/locale/ru_RU.koi8r/LC_MESSAGES/lyx.mo", 
>O_RDONLY) = -1
>open("/build/inger/RPM/TMP/lyx-buildroot/usr/share/locale/ru_RU/LC_MESSAGES/lyx.mo", 
>O_RDONLY) = -1 ENOEN
>open("/build/inger/RPM/TMP/lyx-buildroot/usr/share/locale/ru.KOI8-R/LC_MESSAGES/lyx.mo", 
>O_RDONLY) = -1 E
>open("/build/inger/RPM/TMP/lyx-buildroot/usr/share/locale/ru.koi8r/LC_MESSAGES/lyx.mo", 
>O_RDONLY) = -1 EN
>open("/build/inger/RPM/TMP/lyx-buildroot/usr/share/locale/ru/LC_MESSAGES/lyx.mo", 
>O_RDONLY) = -1 ENOENT (
>brk(0x8364000)                          = 0x8364000
>
>И как этого избежать?
>
Хм. Это уже что-то.
А у Вас он ищет файлы в правильном месте? Запустите strace у Вас.
Думаю, что если Вы удалите свои build-файлы, то будет то же самое.
Знеачит, надо фиксить, возможно, указывать localedir в configure,
возможно -- пачтить.


Rgrds, AEN

>
>  
>




      reply	other threads:[~2002-10-28 11:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-27 21:42 Vitaly Lipatov
2002-10-28  8:58 ` Stanislav Ievlev
2002-10-28 11:51   ` Vitaly Lipatov
2002-10-28 10:39 ` aen
2002-10-28 11:22   ` Vitaly Lipatov
2002-10-28 11:46     ` aen [this message]

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=3DBD2397.9010004@altlinux.ru \
    --to=aen@altlinux.ru \
    --cc=devel@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 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