From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Oo1JI-00057O-Pb for garchives@archives.gentoo.org; Tue, 24 Aug 2010 21:45:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CB26E06F7; Tue, 24 Aug 2010 21:44:57 +0000 (UTC) Received: from mail.informasoftware.com (173.221.47.101.nw.nuvox.net [173.221.47.101]) by pigeon.gentoo.org (Postfix) with ESMTP id E5D1CE06F7 for ; Tue, 24 Aug 2010 21:44:56 +0000 (UTC) Received: from [192.168.100.48] ([192.168.100.48] RDNS failed) by mail.informasoftware.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 24 Aug 2010 17:44:56 -0400 Message-ID: <4C743D57.5030203@kutulu.org> Date: Tue, 24 Aug 2010 17:44:55 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] 32/64bit confusion References: <4C743164.7040508@etherstorm.net> In-Reply-To: <4C743164.7040508@etherstorm.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Aug 2010 21:44:56.0266 (UTC) FILETIME=[97B752A0:01CB43D5] X-Archives-Salt: efdea6a9-1087-46ad-a2bc-936fd78fa7b6 X-Archives-Hash: ac0c7a563cfd7892422e42535b849851 On 8/24/2010 4:53 PM, tparker@etherstorm.net wrote: > I have a new (first) gentoo amd64 install, multilib, and have been > searching the docs, forums and google for information on how to handle > emerges for 32bit programs on the 64bit install. > > I have found some references to using -bin for 32bit programs (example: > "emerge wine-bin" to get the 32bit version or "emerge wine" to get the > 64 bit version) but I haven't been able to get that to work; emerge > wine-bin returns: 'emerge: there are no ebuilds to satisfy "wine-bin".' > Searches didn't turn up examples or explanations to help me find what I > am doing wrong. Only a select number of packages in portage have binary editions that are separate from the main source package. Since you're building from source, very few programs actually need to be 32-bit apps on a 64-bit OS. I count a total of 77 "*-bin" packages in the entire portage tree, over half of which are closed-source games or Java applications. Wine is a special case, since portage will happily build a 64-bit version, but it's only mildly functional. In this case, the Wine package maintainer has set up the ebuild to build 32-bit by default, even on an amd64 profile. (If you specify USE=win64 you'll also get a 64-bit version of Wine but that's mostly for devs to play with.) So you should just be able to: emerge wine and let it go. > I also found references to making a chroot environment to use when > running the 32bit programs, but they all made it sound like a short step > from a dualboot - that I would not be able to use anything in my 64bit > environment while that was running. For example, having a 32bit program > running in windowed mode through wine while I have 64 bit work programs > running on the same desktop, or 32 bit firefox (for flash) with the rest > of the system 64bit. IMO setting up a 32-bit chroot should be a last resort. An x86_64 CPU and 64-bit OS should have no problem running 32-bit x86 binaries. If you need to run 32-bit applications that you cannot get built through portage, there is a whole list of packages (app-emulation/emul-linux-x86-*) that have prebuilt binaries for things like GTK, QT, SDL, etc. (The packages in portage, including Wine, will install the ones it needs automatically.) --Mike