ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey Y. Afonin" <asy@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] нужна консультация по autotools (mc 4.8.6)
Date: Sat, 22 Sep 2012 17:25:01 +0400
Message-ID: <201209221725.02296.asy@altlinux.ru> (raw)

Приветствую.

Опять появилось время поковыряться с обновлением mc. Столкнулся
с проблемой, что не отрабатывается make install. При установке
вновь появившегося набора скриптов происходит попытка установки
не в сборочный каталог, а в корень. Makefile.am выглядит вот так:

https://www.midnight-commander.org/browser/misc/ext.d/Makefile.am

Сборка тормозится вот так:

Making install in misc
make[1]: Entering directory `/home/asy/RPM/BUILD/mc-4.8.6/misc'
Making install in ext.d
make[2]: Entering directory `/home/asy/RPM/BUILD/mc-4.8.6/misc/ext.d'
make[3]: Entering directory `/home/asy/RPM/BUILD/mc-4.8.6/misc/ext.d'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/mc/ext.d" || /bin/mkdir -p "/usr/lib/mc/ext.d"
/bin/mkdir: cannot create directory `/usr/lib/mc/ext.d': Permission denied
make[3]: *** [install-extSCRIPTS] Error 1

Соответствующее место в получившемся Makefile выглядит так:

install-extSCRIPTS: $(ext_SCRIPTS)
	@$(NORMAL_INSTALL)
	test -z "$(extdir)" || $(MKDIR_P) "$(DESTDIR)$(extdir)"

Почему тут $(DESTDIR) оказался пустой ? Или передача переменной из
вышестоящего Makefile должна описываться ? Всё равно, а как ?
С autotools у меня не ахти...

-- 
С уважением, Сергей Афонин


             reply	other threads:[~2012-09-22 13:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 13:25 Sergey Y. Afonin [this message]
2012-09-22 13:59 ` Mikhail Efremov
2012-09-22 18:07   ` Sergey Y. Afonin
2012-09-22 18:39     ` Mikhail Efremov
2012-09-22 18:58       ` Sergey Y. Afonin

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=201209221725.02296.asy@altlinux.ru \
    --to=asy@altlinux.ru \
    --cc=devel@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 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