ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew Borodin <borodin@zarya-k.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Не собирается rpm
Date: Thu, 17 Mar 2005 15:18:44 +0300
Message-ID: <20050317121844.GB30470@borodin.zarya> (raw)
In-Reply-To: <42397284.7040500@inbox.ru>

On Thu, Mar 17, 2005 at 03:05:24PM +0300, Eugene A. Suchkov wrote:
> Вот пытаюсь софтинку в RPM завернуть..

> в спеке пока

> %files
> %doc README
> %_bindir/%name

Что значит "пока"? А все остальное?

> но все кончается на...

> make: Entering directory `/home/cityhawk/RPM/BUILD/kdocker-1.2'
> cp -f "kdocker" "/usr/bin/kdocker"
> cp: cannot create regular file `/usr/bin/kdocker': Permission denied
> make: [install_target] Error 1 (ignored)
> mkdir: cannot create directory `/usr/share/kdocker': Permission denied
> make: *** [install_icons] Error 1
> make: Leaving directory `/home/cityhawk/RPM/BUILD/kdocker-1.2'
> ошибка: Неверный код возврата из /home/cityhawk/tmp/rpm-tmp.16180 (%install)

> Что это может быть?

Кривой Makefile.

Что у вас в спеке в cекции %install ?
Там надо что-то типа

%make_install DESTDIR=%buildroot install

Чтобы уточнить, называется переменная DESTDIR или как-то еще, 
надо смотреть внутрь Makefile.

-- 

С уважением,
А. Бородин.


      parent reply	other threads:[~2005-03-17 12:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-17 12:05 Eugene A. Suchkov
2005-03-17 12:08 ` Konstantin Klimchev
2005-03-17 12:18   ` Eugene A. Suchkov
2005-03-17 12:33     ` Konstantin Klimchev
2005-03-17 12:37       ` Konstantin Klimchev
2005-03-17 12:57         ` Drool
2005-03-17 13:07       ` Eugene A. Suchkov
2005-03-18  9:32         ` Nick S. Grechukh
2005-03-17 15:24     ` Andrey Rahmatullin
2005-03-18  6:38       ` Eugene A. Suchkov
2005-03-17 12:15 ` php-coder
2005-03-17 12:18 ` Andrew Borodin [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=20050317121844.GB30470@borodin.zarya \
    --to=borodin@zarya-k.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