From: Andrew Borodin <borodin@zarya-k.ru> To: community@altlinux.ru Subject: Re: [Comm] Что исправить в спеке? Date: Wed, 30 Oct 2002 13:11:09 +0300 Message-ID: <20021030101109.GA3974@borodin.zarya> (raw) In-Reply-To: <3DBF43B7.1000709@kaznaufk.amur.ru> On Wed, Oct 30, 2002 at 11:28:07AM +0900, Oleg Sukhanov wrote: > Не заворачивается в rpm fidogate-5.0.0 из-под юзера. > > Вот ошибка: > > Выполняется(%install): /bin/sh -e /var/tmp/rpm-tmp.93826 > + umask 022 > + /bin/mkdir -p /usr/src/RPM/BUILD > + cd /usr/src/RPM/BUILD > + /bin/chmod -R u+w /var/tmp/fidogate-buildroot > + : > + /bin/rm -rf /var/tmp/fidogate-buildroot > + cd fidogate-5.0.0 > + make PREFIX=/var/tmp/fidogate-buildroot install-dirs > mkdir /usr/local/fido > mkdir: cannot create directory `/usr/local/fido': Permission denied > mkdir /usr/local/fido/etc > mkdir: cannot create directory `/usr/local/fido/etc': No such file or > directory > mkdir /usr/local/fido/etc/fidogate > mkdir: cannot create directory `/usr/local/fido/etc/fidogate': No such > file or directory > make: *** [install-dirs] Error 1 > ошибка: Неверный код возврата из /var/tmp/rpm-tmp.93826 (%install) > > > Ошибки сборки пакетов: > Неверный код возврата из /var/tmp/rpm-tmp.93826 (%install) > > Вот спек: <skip> > %build > ./configure --enable-amiga-out --disable-desc-dir > --prefix=/usr/local/fido --with-newsbindir=/usr/bin > make depend > make DEBUG=-O2 > > %install > > make PREFIX=$RPM_BUILD_ROOT install-dirs <skip> По-моему, дело в следующем. Посмотрите на определение --prefix при вызове configure и на определение PREFIX при вызове makt install. Permission denied, скорее всего, возникает потому, что вы этот префикс потеряли. Попробуйте так: make PREFIX=$RPM_BUILD_ROOT/usr/local/fido install С уважением, А. Бородин. -- По озеру волны бегут. Одни о жаре сожалеют Закатные облака. Басё
next prev parent reply other threads:[~2002-10-30 10:11 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-30 2:28 Oleg Sukhanov 2002-10-30 7:26 ` Vadim V. Zhytnikov 2002-10-30 7:51 ` Oleg Sukhanov 2002-10-30 9:39 ` aen 2002-10-30 10:11 ` Andrew Borodin [this message] 2002-10-30 10:24 ` Andrew Borodin 2002-10-30 13:40 ` Vitaly Lugovsky 2002-10-31 0:31 ` Oleg Sukhanov 2002-10-31 13:38 ` Vitaly Lugovsky 2002-10-31 0:54 ` Oleg Sukhanov 2002-10-31 13:38 ` Vitaly Lugovsky
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=20021030101109.GA3974@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