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.54) id 1FJKSK-000717-9r for garchives@archives.gentoo.org; Wed, 15 Mar 2006 01:05:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2F15FM1016925; Wed, 15 Mar 2006 01:05:15 GMT Received: from poober.local (cpe-24-27-15-174.austin.res.rr.com [24.27.15.174]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2F15ENw018098 for ; Wed, 15 Mar 2006 01:05:15 GMT Received: from [127.0.0.1] (localhost [127.0.0.1]) by poober.local (Postfix) with ESMTP id 819E33487C6 for ; Tue, 14 Mar 2006 19:04:54 -0600 (CST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-osx@gentoo.org Reply-to: gentoo-osx@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v749) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Kito Subject: Re: [gentoo-osx] [PREFIX] Portage 2.1.6 issues on linux... Date: Tue, 14 Mar 2006 19:04:53 -0600 To: gentoo-osx@lists.gentoo.org X-Mailer: Apple Mail (2.749) X-Archives-Salt: 54ca3a62-2755-4b38-b9eb-f0057534d83e X-Archives-Hash: 9f4a3eb3bbfe47936a59d689e1463872 On Mar 14, 2006, at 5:57 PM, m h wrote: > This is probably configure issues... > > I'm installing portage 2.1.6 on RHEL4 using the following configure: > ./configure --prefix=${PREFIX} --with-user=`whoami` > --with-group=${GROUP} --sysconfdir=${PREFIX}/etc > --with-rootuser=`whoami` --with-rootuid=`id -u` > --with-offset-prefix=${PREFIX} > > After that I have a stab at a linux prefix profile that I link > etc/make.profile to. I also update etc/make.conf and add PREFIX to it > (and set PORTDIR=${PREFIX}/usr/portage). > Ok, with that snapshot, you can try setting the ROOTPATH variable in make.conf something like: ROOTPATH=/path/to/bash:/path/to/gcc:$PATH That *might* work, but I was having trouble with it on solaris last night. exg and/or I are going to refactor the PATH handling again to make this work a little smoother. The variable name will change to just DEFAULT_PATH in the next snapshot ( hooray for disregarding backwards compatibility :p ) If that doesn't work, you can also try editing the DEFAULT_PATH line in portage.py directly. Another hack I thought of was autoconf'ing make.globals and use macros to find the paths to all tools needed (gcc,ld,as,ar,findutils,etc.etc.). This should make getting portage running very easy on most systems. --Kito -- gentoo-osx@gentoo.org mailing list