ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <aen@logic.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] TTF and RPM
Date: Tue Oct  2 18:18:12 2001
Message-ID: <3BB9CEA3.DB71E244@logic.ru> (raw)
In-Reply-To: <3BB9C4D0.8090603@ivk.ru>

Ivan Korovin wrote:

> Здравствуйте,
>
> Помогите, честно говоря rpmки никогда не собирал, но уж очень хочется ttf шрифты установить,
> пользовался следующей инструкцией:
>
> >Для работы в OpenOffice желательно установить ttf-шрифты
> >от Microsoft. Если эти шрифты уже установлены в Вашей системе, то
> >читайте п.2.
> >В противном случае:
> >-- Установите пакет ms-ttf-1.0-alt1.nosrc.rpm из Sisyphus:
> >   rpm -i ms-ttf-1.0-alt1.nosrc.rpm
> >-- Уcтановите пакет cabextract-0.2-alt1.i586.rpm из Sisyphus:
> >   rpm -ihv cabextract-0.2-alt1.i586.rpm
> >-- Скачайте любое количество шрифтов (в виде exe-файлов)
> >   с сайта фирмы Microsoft :  http://www.microsoft.com/typography/fontpack
> >-- Создайте каталог ms-ttf-1.0 и скопируйте туда exe-файлы со шрифтами.
> >-- Создайте архив:
> >   $ tar -c ms-ttf-1.0 > ms-ttf-1.0.tar
> >   $ bzip2 ms-ttf-1.0.tar
> >-- Поместите архив в /usr/src/RPM/SOURCES или в каталог исходных
> >   тарболов для сборки RPM, если он был Вами переопределен.
> >-- Соберите rpm:
> >   $ rpm -ba /usr/src/RPM/SPECS/mf-ttf.spec
>
> Все хорошо до этого момента после этой команды:
>
> ...
> + umask 022
> + cd /home/ivan/RPM/BUILD
> + /bin/rm -rf /home/ivan/RPM/TMP/ms-ttf-buildroot
> + cd ms-ttf-1.0
> + install -d '/home/ivan/RPM/TMP/ms-ttf-buildroot%{_x11libdir}/X11/fonts/msttf'
> + cp courbd.ttf courbi.ttf couri.ttf cour.ttf Trebucbd.ttf trebucbi.ttf trebucit.ttf trebuc.ttf AndaleMo.TTF Arialbd.TTF Arialbi.TTF Ariali.TTF Arial.TTF AriBlk.TTF Comicbd.TTF Comic.TTF Georgiab.TTF Georgiai.TTF Georgia.TTF Georgiaz.TTF Impact.TTF Timesbd.TTF Timesbi.TTF Timesi.TTF Times.TTF Verdanab.TTF Verdanai.TTF Verdana.TTF Verdanaz.TTF Webdings.TTF '/home/ivan/RPM/TMP/ms-ttf-buildroot%{_x11libdir}/X11/fonts/msttf'
> + cd '/home/ivan/RPM/TMP/ms-ttf-buildroot%{_x11libdir}/X11/fonts/msttf'
> + '%{_x11bindir}/xftcache' .

Проблема здесь.

>
> /home/ivan/RPM/TMP/rpm-tmp.70141: fg: no job control
> + touch XftCache
> + /usr/sbin/ttmkfdir
> + ln -s /etc/X11/encodings.dir encodings.dir
> + /usr/lib/rpm/brp-mandrake
> /usr/lib/rpm/brp-mandrake: cd: /home/ivan/RPM/TMP/ms-ttf-buildroot: No such file or directory
> Неверный код возврата из /home/ivan/RPM/TMP/rpm-tmp.70141 (%install)
>
> Как это лечить?

Два варианта:
1. обновить rpm
2. В spec-файле заменить %{_x11libdir} на /usr/X11R6/lib, а %{_x11bindir} -- на /usr/X11R6/bin

Rgrds, AEN




  reply	other threads:[~2001-10-02 18:18 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 17:28 Ivan Korovin
2001-10-02 18:18 ` Aleksey Novodvorsky [this message]
2001-10-02 18:45 ` [mdk-re] Re: F " Alexander Bokovoy
2001-10-02 23:06 ` [mdk-re] TTF " Igor Tertishny
2001-10-03  8:22   ` Баталов Григорий
2001-10-03 15:29   ` Aleksey Novodvorsky
2001-10-12  1:25     ` Re[2]: " Kir
2001-10-12  2:21       ` Aleksey Novodvorsky
2001-10-12 12:30         ` Re[2]: " Kir
2001-10-12 12:35           ` [mdk-re] " Vyt
2001-10-12 14:19             ` Kir
2001-10-12 20:13               ` Dmitriy Gnidchenko
2001-10-12 20:31                 ` Re[2]: " Kir
2001-10-12 20:19               ` Sergey Vlasov
2001-10-12 10:14       ` Re[2]: [mdk-re] " Dmitriy Gnidchenko
2001-10-12 12:34         ` Re[3]: " Kir
2001-10-12 12:52           ` [mdk-re] permitions (was: TTF and RPM) Vyt
2001-10-12 14:19             ` Kir
2001-10-12 15:58               ` Gosha
2001-10-12 16:28                 ` cornet
2001-10-12 19:20                   ` Gosha
2001-10-12 19:27                     ` cornet
2001-10-12 19:34                       ` Gosha
2001-10-12 19:31                     ` [mdk-re] RPM building (was: permitions (was: TTF and RPM)) Sergey Vlasov
2001-10-12 19:36                       ` Gosha
2001-10-12 20:23                   ` Re[2]: [mdk-re] permitions (was: TTF and RPM) Kir
2001-10-12 20:33                     ` Dmitriy Gnidchenko
2001-10-12 20:35                     ` Sergey Vlasov
2001-10-12 20:09           ` Re[3]: [mdk-re] TTF and RPM Dmitriy Gnidchenko
2001-10-14  3:18             ` Диконов Вячеслав
2001-10-14  4:00               ` [mdk-re] Open Office from Junior 1.1 Dmitriy Gnidchenko
2001-10-15 13:59                 ` Aleksey Novodvorsky
2001-10-16 11:52                   ` Dmitriy Gnidchenko
2001-10-14  4:01               ` [mdk-re] TTF and RPM cornet
2001-10-14 16:00                 ` Kir

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=3BB9CEA3.DB71E244@logic.ru \
    --to=aen@logic.ru \
    --cc=mandrake-russian@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