Re: [Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Ralf Corsepius
On Mon, 2007-08-06 at 10:42 -0500, Mark Hatle wrote: > The easiest way to check this. (Conceptually.. tailor to suit) > > On a non-linux host, such as solairs, configure to run on a linux host. If you run configure --host= on a solaris machine, with the patch applied, it is supposed to build li

Re: [Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Mark Hatle
The easiest way to check this. (Conceptually.. tailor to suit) On a non-linux host, such as solairs, configure to run on a linux host. If you following the paths through configure, you'll see it checks and hardcodes values based on the settings. I'm not an autoconf expert so I'll leave which va

Re: [Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Ralf Corsepius
On Mon, 2007-08-06 at 09:26 -0500, Mark Hatle wrote: > Ralf Corsepius wrote: > > On Mon, 2007-08-06 at 09:02 -0500, Mark Hatle wrote: > >> Umm... yes it is. > >> > >> I use RPM to cross-compile software ever day. I also cross compile RPM > >> from one target to another routinely. You need to keep

Re: [Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Mark Hatle
Ralf Corsepius wrote: > On Mon, 2007-08-06 at 09:02 -0500, Mark Hatle wrote: >> Umm... yes it is. >> >> I use RPM to cross-compile software ever day. I also cross compile RPM >> from one target to another routinely. You need to keep the $target >> references or you will make the rpm.org version o

Re: [Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Ralf Corsepius
On Mon, 2007-08-06 at 09:02 -0500, Mark Hatle wrote: > Umm... yes it is. > > I use RPM to cross-compile software ever day. I also cross compile RPM > from one target to another routinely. You need to keep the $target > references or you will make the rpm.org version of RPM unable to be > cross c

Re: [Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Mark Hatle
Umm... yes it is. I use RPM to cross-compile software ever day. I also cross compile RPM from one target to another routinely. You need to keep the $target references or you will make the rpm.org version of RPM unable to be cross compiled. --Mark Ralf Corsepius wrote: > ... today's flood conti

[Rpm-maint] [patch] rpm is not a cross-tool

2007-08-06 Thread Ralf Corsepius
... today's flood continues ... The patch below removes AC_CANONICAL_TARGET from configure.ac and changes $target to $host. Background: AC_CANONICAL_TARGET is supposed to take the target of a cross-tool, not the target of cross-compiling a package (== a configure script's --host). Older config