ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vadim V. Zhytnikov" <vvzhy@netorn.ru>
To: community@altlinux.ru
Subject: Re: [Comm] вопрос по сборке
Date: Fri, 31 Oct 2003 18:51:34 +0300
Message-ID: <3FA28506.3060809@netorn.ru> (raw)
In-Reply-To: <189635233.20031031155806@mail.ru>

Николай пишет:
> Уважаемому сообществу привет.
> 
> После просмотра материала по поводу сборки rpm на atmsk'e
> решил собрать пакет, но получил следующую ошибку:
> 
> Выполняется(%install): /bin/sh -e /home/prickle/tmp/rpm-tmp.21287
> + umask 022
> + /bin/mkdir -p /home/prickle/RPM/BUILD
> + cd /home/prickle/RPM/BUILD
> + /bin/chmod -Rf u+rwX -- /home/prickle/tmp/epsxe-buildroot
> + :
> + /bin/rm -rf -- /home/prickle/tmp/epsxe-buildroot
> + cd epsxe-1.5.2
> + make 'INSTALL=/bin/install -p' install DESTDIR=/home/prickle/tmp/epsxe-buildroot
> make: Entering directory `/home/prickle/RPM/BUILD/epsxe-1.5.2'
> make: *** No rule to make target `install'.  Stop.
> 
> Объясните чего за правило он требует, и зачем перед командами нужно
> ставить %_ (вынес такой вывод на основании спек пакета из сизифа)??
> 
> 

Извините за наивный вопрос.
А вы вообще знаете как собирается Ваша программа?
Обычно, но не всегда, это последовательность
трёх команд (возможно со всякими параметрами)

./configure
make
make install

С % в spec файлах начинаются макросы,некоторые из которых
начинаются с %_ . Поэтому писать %_blablabla надо если
Вы хотите использовать макрос с именем _blablabla

-- 
      Vadim V. Zhytnikov

       <vvzhy@mail.ru>
      <vvzhy@netorn.ru>




      parent reply	other threads:[~2003-10-31 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-31 12:58 Николай
2003-10-31 15:38 ` Sergey Vlasov
2003-10-31 15:51 ` Vadim V. Zhytnikov [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=3FA28506.3060809@netorn.ru \
    --to=vvzhy@netorn.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