Building a 32-bit RPM on a 64-bit machine?

2010-10-29 Thread Joe Flowers
Hello again, I would like to be able to create a 32-bit RPM (with no 64-bit library dependencies) on a 64-bit machine. I have a 64-bit, SuSE development machine, and I would like to create an RPM on this 64-bit machine that will install 32-bit software on a 32-bit SuSE machine. Any ideas

Re: Building a 32-bit RPM on a 64-bit machine?

2010-10-29 Thread Matthew Dawkins
On Fri, Oct 29, 2010 at 7:07 AM, Joe Flowers joe.flow...@nofreewill.comwrote: Hello again, I would like to be able to create a 32-bit RPM (with no 64-bit library dependencies) on a 64-bit machine. I have a 64-bit, SuSE development machine, and I would like to create an RPM on this 64-bit

Re: Creating an RPM to install a daemon

2010-10-29 Thread devzero2000
On Thu, Oct 28, 2010 at 5:10 PM, Joe Flowers joe.flow...@nofreewill.comwrote: Hello Everyone, I am trying to create an RPM that will install a daemon correctly, but I'm not sure if or where I should put the command: chkconfig --level 345 /etc/rc.d/mydaemon on Should this line go

Re: Building a 32-bit RPM on a 64-bit machine?

2010-10-29 Thread devzero2000
It depends if your package use autoconf,automake,libtool or not. BTW, the standard way is setarch i386 rpmbuild --target=i386 --rebuild pippo.src.rpm, or better use an automated tool that do this as mock, for examplehttp://fedoraproject.org/wiki/Projects/Mock.

Re: Building a 32-bit RPM on a 64-bit machine?

2010-10-29 Thread R P Herrold
On Fri, 29 Oct 2010, Matthew Dawkins wrote: On Fri, Oct 29, 2010 at 7:07 AM, Joe Flowers joe.flow...@nofreewill.comwrote: Joe, I use a 32bit chroot to build all my 32bit rpms along side the 64bit rpms. You will also need to use something like linux32 rpmbuild -ba pkgname.spec to trick some

Re: Building a 32-bit RPM on a 64-bit machine?

2010-10-29 Thread Jeff Johnson
On Oct 29, 2010, at 9:07 AM, Joe Flowers wrote: Hello again, I would like to be able to create a 32-bit RPM (with no 64-bit library dependencies) on a 64-bit machine. I have a 64-bit, SuSE development machine, and I would like to create an RPM on this 64-bit machine that will install