1 |
On 14-07-2008 19:27:49 +1200, Derek Harland wrote: |
2 |
> At the moment my main OSX box is running 10.4 with software installed by |
3 |
> macports. I also have a 10.5 box that has no non-apple software |
4 |
> installed yet ... so I'm potentially interested in gentoo-prefix on |
5 |
> either 10.4 or 10.5 |
6 |
> |
7 |
> Macports applies a number of patches to both python2.4 and 2.5 sources to |
8 |
> build them ... some of which are 10.5 specific patchs ... perhaps those |
9 |
> could be helpful? |
10 |
> |
11 |
> Related ... does anyone know how Gentoo itself solves the problem of |
12 |
> multiple python versions with regards to external libraries ... eg for |
13 |
> numpy, macports requires two near identical portfiles (ebuilds), one for |
14 |
> each version of python |
15 |
|
16 |
Gentoo uses the concept of a "slot", which means two versions of the |
17 |
same package are simultaneously installed in a different "slot". GCC is |
18 |
a typical example of this. The problem here of course that you need to |
19 |
dicide which version of the package you want to use. For packages like |
20 |
Berkely DB this isn't much of a problem (it's a library only), but |
21 |
things like GCC and Python really need you to set which version to use. |
22 |
For this Gentoo uses little programs that select the version you want to |
23 |
use. gcc-config and python-config respectively if I am not mistaken in |
24 |
this case do that for you. Ebuilds usually know their own way of |
25 |
picking the correct python, regardless of your current setting by |
26 |
spacifying exactly what version and from where to use. |
27 |
|
28 |
> [obviously it would be useful for me to build a Gentoo VM somewhere so I |
29 |
> can see how Gentoo itself works ...] |
30 |
|
31 |
About the same, but then as a full Linux OS :) |
32 |
|
33 |
|
34 |
-- |
35 |
Fabian Groffen |
36 |
Gentoo on a different level |
37 |
-- |
38 |
gentoo-alt@l.g.o mailing list |