I'm trying to build an Asterisk rpm from the supplied asterisk.spec file. Made numerous changes to get it to work. The architecture of the system I am building on is x86_64. I'd like to build for i686 though. I added a --target i686 to the rpmbuild line in the Makefile, but it looks like it's still requiring 64bit system libraries. When I try to install the rpm on the i686 machine, it complains it doesn't have the 64 bit libraries. How can I build with 32 bit libraries? Doug. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071029/f14b6a88/attachment.htm
That's really a question for rpm-list at redhat.com. The short and generally not very helpful answer is that there are a lot of poorly packaged software releases out there that don't play well with cross-development environments. -Philip Douglas Garstang wrote:> I'm trying to build an Asterisk rpm from the supplied asterisk.spec file. > Made numerous changes to get it to work. > > The architecture of the system I am building on is x86_64. I'd like to > build for i686 though. > I added a --target i686 to the rpmbuild line in the Makefile, but it > looks like it's still requiring 64bit system libraries. > When I try to install the rpm on the i686 machine, it complains it > doesn't have the 64 bit libraries. > How can I build with 32 bit libraries? > > Doug.
Since I'm executing a 'make rpm' from within the Asterisk 1.4.13 distribution source, I'd say it's an Asterisk question. ----- Original Message ---- From: Philip Prindeville <philipp_subx at redfish-solutions.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Sent: Monday, October 29, 2007 6:24:06 PM Subject: Re: [asterisk-users] Asterisk 1.4 from RPM That's really a question for rpm-list at redhat.com. The short and generally not very helpful answer is that there are a lot of poorly packaged software releases out there that don't play well with cross-development environments. -Philip Douglas Garstang wrote:> I'm trying to build an Asterisk rpm from the supplied asterisk.specfile.> Made numerous changes to get it to work. > > The architecture of the system I am building on is x86_64.. I'd liketo> build for i686 though. > I added a --target i686 to the rpmbuild line in the Makefile, but it > looks like it's still requiring 64bit system libraries. > When I try to install the rpm on the i686 machine, it complains it > doesn't have the 64 bit libraries. > How can I build with 32 bit libraries? > > Doug._______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071030/648bc5d9/attachment.htm
On Mon, Oct 29, 2007 at 05:58:23PM -0700, Douglas Garstang wrote:> I'm trying to build an Asterisk rpm from the supplied asterisk.spec file. > Made numerous changes to get it to work.That spec is known to be broken. Please use an alternative packaging. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir