Hi,
I was compiling the source rpm but had a problem. rpm -bb dovecot-xxx.spec
The process stoped and showed:
File must begin with "/": %{_initrddir}/dovecot
dovecot-0.99.11-1.dag.src.rpm (http://dag.wieers.com/packages/dovecot/) My system is trustix (compatible with Redhat 7.3).Is that the reason?
Thanks in advance ----- Original Message ----- From: "Marcus Rueckert" rueckert@informatik.uni-rostock.de To: "kakula" lololo@seed.net.tw Cc: dovecot@dovecot.org Sent: Thursday, October 14, 2004 11:45 AM Subject: Re: [Dovecot] source rpm compile
On 2004-10-14 11:21:30 +0800, kakula wrote:
File must begin with "/": %{_initrddir}/dovecot
what suse version? what version of the rpm?
darix
p.s. 0.99.11 is nearly done
-- irssi - the client of the smart and beautiful people
http://www.irssi.de/
--On Thursday, October 14, 2004 11:21 AM +0800 kakula lololo@seed.net.tw wrote:
File must begin with "/": %{_initrddir}/dovecot
What's the value of _initrddir? It should be defined in one of the macros files under /usr/lib/rpm or in your personal ~/.rpmmacros file. On a Red Hat system it should be /etc/rc.d/init.d or /etc/init.d. I think there's some debugging options to rpmbuild (--dump?) to dump out the macro definitions.
File must begin with "/": %{_initrddir}/dovecot
What's the value of _initrddir? It should be defined in one of the macros files under /usr/lib/rpm or in your personal ~/.rpmmacros file. On a Red Hat system it should be /etc/rc.d/init.d or /etc/init.d. I think there's some debugging options to rpmbuild (--dump?) to dump out the macro definitions.
Thanks for your hint. So weird.My _initrddir is /etc/init.d.Why it still complained about File must begin with "/"?
participants (3)
-
kakula
-
Kenneth Porter
-
Marcus Rueckert