Gentoo Archives: gentoo-alt

From: Duft Markus <Markus.Duft@×××××××.at>
To: gentoo-alt@l.g.o
Subject: RE: [gentoo-alt] --with-root-user
Date: Wed, 02 Apr 2008 14:55:52
Message-Id: 18597F2B47F1394A9B309945EC72411201699B55@servex01.wamas.com
1 Fabian Groffen <mailto:grobian@g.o> wrote:
2 > On 02-04-2008 15:22:27 +0200, Duft Markus wrote:
3 >>> Feels like quite ancient to me, yes, but IIRC, portage.const should
4 >>> exist there too. Does 'import portage' work with your
5 >>> (bootstrapped) python? I think it works for noone during
6 >>> bootstrapping actually, unless python (from the tree) is emerged
7 >>> before reinstalling portage. I think my bootstrap docs at least for
8 >>> Mac OS X and Solaris (the only two that are possibly correct by the
9 >>> way) pull in python before portage reemerges itself (step 1.10 in
10 >>> the Solaris bootstrap) hence it works there. Maybe that's not an
11 >>> option for you, then we have to make a workaround.
12 >>
13 >> I now tried to emerge python as first package, before portage. This
14 >> results in the same, since i have problems setting the PATH right.
15 >> The portage i use to bootstrap the prefix comes from
16 >> prefix-launcher, and (as all portage's do) insists on setting the
17 >> PATH to some known value (which doesn't include the dirs of the
18 >> to-bootstrap prefix, and hence misses the just installed python, but
19 >> rather gets the python 2.4 from prefix-launcher.
20 >
21 > a) muck with DEFAULT_PATH
22 > b) configure your bootstrap-portage differently (--default-path= or
23 > something) to include the right path before your prefix-launcher path
24
25 Used a) since i'm messing with environment anyway in the bootstrap
26 script, and i don't know what eprefix i will bootstrap at compile time,
27 so b) isn't possible.
28 Now the right python is found, but i have another problem: there is no
29 rpath hardcoded in python, so it doesn't find python2.5.so...... Need to
30 mess a little more with the environment :)
31
32 Cheers, and thanks, Markus
33
34 >
35 >
36 > --
37 > Fabian Groffen
38 > Gentoo on a different level
39
40 --
41 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] --with-root-user Fabian Groffen <grobian@g.o>