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 1LquMi-0002i7-NK for garchives@archives.gentoo.org; Mon, 06 Apr 2009 19:20:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4E64E0796; Mon, 6 Apr 2009 19:19:24 +0000 (UTC) Received: from mail-ew0-f163.google.com (mail-ew0-f163.google.com [209.85.219.163]) by pigeon.gentoo.org (Postfix) with ESMTP id A6F35E0796 for ; Mon, 6 Apr 2009 19:19:24 +0000 (UTC) Received: by mail-ew0-f163.google.com with SMTP id 7so1826186ewy.34 for ; Mon, 06 Apr 2009 12:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=KduCbCOgNpYMgQk1D2lL0jYGVwLB1CXfJ6ZCB8OeP0g=; b=XnQH47BDFz68jkdkxzcCgjcVeVc1fXoisAwFM6FMA2dG6lkk1ijvivmBy1BGAHJ4xO A8bhQesCKWPQ8oP36LgP7/2MMUfpFd/wci9u4269mvSOdzMhDMr07Qd8Lm8bk0mF1R2A uYx/WjzqAxAlEi/+Fe7czP13eeETkaAOGsR24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=b/RWgPAT3eFhS3YObacjKbfZwXuwDhNKuYCQV0PRiD+KTOqmVXTotEpE2iCp48KTcI PmRwFgmUpTUIh+e8IMD/kAmSCma5cO4vTFVJvgI0TAy3MWqBtn0w227U7nvOlp02k4Om gNU4HiZ3ewOWZD03H9fAEmdpJSfyELBnGIBaQ= Received: by 10.216.28.85 with SMTP id f63mr1291189wea.142.1239045564379; Mon, 06 Apr 2009 12:19:24 -0700 (PDT) Received: from nazgul.localnet (196-210-140-97-rrdg-esr-2.dynamic.isadsl.co.za [196.210.140.97]) by mx.google.com with ESMTPS id t12sm12550154gvd.20.2009.04.06.12.19.23 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Apr 2009 12:19:23 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [off-topic] RPM binary on Gentoo Date: Mon, 6 Apr 2009 21:17:50 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.29-gentoo; KDE/4.2.2; x86_64; ; ) References: <200904060642.06589.michaelkintzios@gmail.com> <49D9F5FF.7080300@j-schmitz.net> In-Reply-To: <49D9F5FF.7080300@j-schmitz.net> 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 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904062117.50374.alan.mckinnon@gmail.com> X-Archives-Salt: 25b6101b-5dec-4220-9e0e-71890f09231a X-Archives-Hash: aa11f552b342529181ffa27f9746ba8e On Monday 06 April 2009 14:30:55 Justin wrote: > Mick schrieb: > > Hi All, > > > > I have an rpm binary which looks like this on a RH > > machine: /usr/src/redhat/RPMS/i386/packageXXX.el5.i386.rpm > > > > How can I use this on a gentoo machine (I understand that it won't be > > maintained by portage). > > Just emerge yum. No, just don't. How do you expect yum to operate correctly without a gully populated rpm database? It will fail (as already said by another poster). Fact is, a portage system is in no state to deal with an rpm natively. It doesn't know what to do with it, doesn't understand how or where to get the pre/post install scripts and rpm does not know how to deal with portage file collisions. You are asking a user to run two package managers in parallel, both unaware of each other. This is suicide. Correct way: realize you are trying to do something no package manager is built to do. So, you do it manually. Convert the rpm to a tarball, extract it and do all install steps manually. It's a good idea to install the binaries to /usr/local/ or /opt/ - the correct place to put binaries unknown to a package manger (portage won't nuke them there) -- alan dot mckinnon at gmail dot com