ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "kostya_hm" <kostya.hm@rambler.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Проблема при выполении макроса %makeinstall
Date: Fri, 27 Nov 2009 01:35:35 +0000
Message-ID: <200911270135.35740.kostya.hm@rambler.ru> (raw)

Попытался собрать.Собирал при помощи rpm -ba
Вот секция %install спека:
mkdir -p %buildroot%_bindir %buildroot%_libdir

%makeinstall DESTDIR=%buildroot install
%_install -m 644 resources/`find -name '*.1'` %buildroot%_man1dir/

При выполнении %makeinstall пытается засунуть файлы в /usr/... на что , 
естественно, получает отказ.

Заглянул в один из makefile, в секцию install

####### Install

install_target: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/ || $(MKDIR) 
$(INSTALL_ROOT)/usr/lib/ 
	-$(INSTALL_FILE) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib || $(MKDIR) 
$(INSTALL_ROOT)/usr/lib 
	-$(INSTALL_FILE) "libnutwireless.prl" 
"$(INSTALL_ROOT)/usr/lib/libnutwireless.prl"

Насколько я понял: INSTALL_ROOT родительский каталог для /usr/lib . Привел 
строчку в спеке к виду  %makeinstall DESTDIR=%buildroot  
INSTALL_ROOT=%buildroot install

На что получил
make: Entering an unknown directory
make: *** empty variable name.  Stop.
Или INSTALL_ROOT - команда "Устанавливать от root"
Пожалуйста, объясните как можно устранить данную проблему. Заранее благодарю.
-- 
ALtNovice

             reply	other threads:[~2009-11-27  1:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27  1:35 kostya_hm [this message]
2009-11-26 23:22 ` Alexey Rusakov
2009-11-27 10:12   ` kostya_hm

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=200911270135.35740.kostya.hm@rambler.ru \
    --to=kostya.hm@rambler.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git