[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: RPM error: Macro %__cat has empty body

Ok. So maybe I can go and modify configure.in and hard code those values.
BTW, this is probably a dumb question, but when are those values used:
building RPMs, installing rpms... ?



-----Original Message-----
From: Jeff Johnson [mailto:jbj@JBJ.ORG]
Sent: Thursday, May 10, 2001 7:17 PM
To: rpm-list@redhat.com
Subject: Re: RPM error: Macro %__cat has empty body

On Thu, May 10, 2001 at 06:29:45PM -0700, Ravi Budhia wrote:
> Hi,
> I've built a cross-compiled version of RPM 4.0.2. It was built on a i686,
> and the target was powerpc.
> After performing the build, I created a tarball using make tar, and then
> installed rpm on the target
> machine. Now, when I run any rpm command, I get a bunch of errors of the
> form:
> error: Macro %__cat has empty body.  
> Inspite of these entries, rpm runs file.


> I looked in the file lib/rpm/macros, and the entries for the macros which
> are givnig errors are empty.
> Here is a sample of the macros file:
> ----------------------------------------
> %_usr         /desana
> %__awk       gawk
> %__cat
> %__chgrp
> -----------------------------------------
> Now, I can go in and modify the macros file by adding the missing entries,
> and the errors go away.

If you're cross-compiling, you'll have to configure path macros by hand, as
there is no way to detect the path to executables when cross compiling.

73 de Jeff

Jeff Johnson	ARS N3NPQ
jbj@jbj.org	(jbj@redhat.com)
Chapel Hill, NC

Rpm-list mailing list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []