From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HQOfS-0002Nw-Tf for garchives@archives.gentoo.org; Sun, 11 Mar 2007 14:04:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2BE3lg7031302; Sun, 11 Mar 2007 14:03:47 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2BDwOh9023328 for ; Sun, 11 Mar 2007 13:58:24 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 009A964C8D for ; Sun, 11 Mar 2007 13:58:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.138 X-Spam-Level: X-Spam-Status: No, score=-1.138 required=5.5 tests=[AWL=-0.039, BAYES_00=-2.599, RCVD_NUMERIC_HELO=1.5] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ahR6Bs70bKiy for ; Sun, 11 Mar 2007 13:58:17 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 3A34764D49 for ; Sun, 11 Mar 2007 13:58:17 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HQOYn-0004G1-GL for gentoo-user@gentoo.org; Sun, 11 Mar 2007 14:58:05 +0100 Received: from 82.152.254.69 ([82.152.254.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Mar 2007 14:58:05 +0100 Received: from slong by 82.152.254.69 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Mar 2007 14:58:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Steve Long Subject: [gentoo-user] Re: A question regarding non-Portage software... Date: Sun, 11 Mar 2007 14:01:27 +0000 Message-ID: References: <45F384B4.7030001@comcast.net> <18e575130703102121k39f8c692ha1a8df068a2d55bb@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 82.152.254.69 User-Agent: KNode/0.10.4 Sender: news X-Archives-Salt: 668124a7-8fab-4b50-8ec6-97e460267ad9 X-Archives-Hash: b50320959110ab194944928b8d509ff6 Michael [Plouj] Ploujnikov wrote: > On 3/10/07, Chris wrote: >> I will begin by stating my problem. I have the source code (in >> *.tar.bz2 format) for a couple of pieces of software that are not in the >> Portage tree at all. I would like to compile and install them in such a >> way that I can use them, and even so Portage recognizes them. > > You most likely want to install that software in /usr/local as per > Gentoo's filesystem layout [1]. The way you can do that with > autotoolized software is like this: > > ./configure --prefix=/usr/local > make > make install > > I don't know what you mean by making Portage recognize the software > installed this way. Do you want Portage to be able to uninstall and/or > upgrade this software? If so, the simple answer is you it can't do > that. You have to manage the software outside of Portage yourself. > That's exactly right, which is why it goes into /usr/local. You can however notify portage that you have a certain package on your system with /etc/portage/package.provided - I used this for that kde-env script that was moved last year, as certain pkgs in the tree still depended on its ebuild, but it had been moved to kde-libs (which it blocked.) I unmerged it to get kde-libs, and put an entry in package.provided for pkgs which still had a dependency on it. Once the tree had all been updated I deleted the entry. package.provided A list of packages (one per line) that portage should assume have been provided. Useful for porting to non-Linux systems. Portage will not attempt to update a package that is listed here unless another package explicitly requires a version that is newer than what has been listed. So in that sense portage will recognise the software for dependency calculation. You should be aware of that last bit; I recommend reading man portage for more explanation. (Oh and man -k is useful if you've not heard of it.) HTH, steveL -- gentoo-user@gentoo.org mailing list