1 |
On 14-09-2007 17:26:07 +0200, rabbe@×××××××.se wrote: |
2 |
> Hi Fabian, |
3 |
> |
4 |
> yes, I emerged python every time whether needed or not. Trying your commands, |
5 |
> |
6 |
> % head -n1 $EPREFIX/usr/lib/portage/pym/emerge/__init__.py |
7 |
> #!/rh8/home-local/erarafo/g2/usr/bin/python -O |
8 |
> |
9 |
> % file $EPREFIX/usr/lib/portage/pym/portage/const.py |
10 |
> /rh8/home-local/erarafo/g2/usr/lib/portage/pym/portage/const.py: ASCII |
11 |
> English text |
12 |
> |
13 |
> % which python |
14 |
> /rh8/home-local/erarafo/g2/usr/bin/python |
15 |
> |
16 |
> % python -c 'import portage.const ; print portage.const.EPREFIX' |
17 |
> Traceback (most recent call last): |
18 |
> File "<string>", line 1, in ? |
19 |
> ImportError: No module named const |
20 |
|
21 |
All looks fine, apart from this. As far as I know, and looking at the |
22 |
unpack phase of python should still be, that |
23 |
06_all_add_portage_search_path.patch adds the portage path to the |
24 |
internal PYTHONPATH in python. |
25 |
|
26 |
It looks to me like either the patch wasn't applied for some reason, or |
27 |
the emerged portage wasn't installed. Are you sure it was emerged? |
28 |
|
29 |
|
30 |
-- |
31 |
Fabian Groffen |
32 |
Gentoo on a different level |
33 |
-- |
34 |
gentoo-alt@g.o mailing list |