devel@ where you _can_ ask
 help / color / mirror / Atom feed
* [newbies] %prep в spec файле зачем-то выполняет %configure.
@ 2012-01-07 23:59 gBopHuk_alt
  2012-01-08 11:08 ` Michael Shigorin
  0 siblings, 1 reply; 11+ messages in thread
From: gBopHuk_alt @ 2012-01-07 23:59 UTC (permalink / raw)
  To: Разработка

Казалось бы простая задача : Есть готовые файлы, которые нужно
копировать в buildroot, затем запаковать в rpm. В результате чего в spec
файле должна отсутствовать секция %build со всеми включающими. Но при
выполнении секции %prep вылезает ошибка :

./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --disable-dependency-tracking
--without-included-gettext
/usr/src/tmp/rpm-tmp.35972: line 108: ./configure: No such file or
directory
error: Bad exit status from /usr/src/tmp/rpm-tmp.35972 (%prep)

В общем, зачем он это делает, и как заставить не делать этого?



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-01-11 15:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-07 23:59 [newbies] %prep в spec файле зачем-то выполняет %configure gBopHuk_alt
2012-01-08 11:08 ` Michael Shigorin
2012-01-08 11:35   ` gBopHuk_alt
2012-01-08 11:37     ` Michael Shigorin
2012-01-10 17:34       ` gBopHuk_alt
2012-01-11 13:49         ` Андрей Черепанов
2012-01-11 15:28           ` Mikhail Efremov
2012-01-08 13:38     ` Mikhail Efremov
2012-01-08 15:20       ` Michael Shigorin
2012-01-11 15:38         ` Mikhail Efremov
2012-01-09  9:47       ` Ildar Mulyukov

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

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


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