Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: Meino Christian Cramer <Meino.Cramer@×××.de>, gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenOffice build failed.
Date: Mon, 29 May 2006 19:09:07
1 On 5/29/06, Meino Christian Cramer <Meino.Cramer@×××.de> wrote:
2 > Before I will restart the whole thing again I would be happy if you
3 > could take a look on the logfile. I have attached it to this mail,
5 Here is the error:
7 Systemcall: /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-
8 -register -br /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-
9 -br /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-
10 -r /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-
11 -c vnd.openoffice.pymodule:mailmerge -l
12 2>&1 |
13 'import site' failed; use -v for traceback
14 register component 'vnd.openoffice.pymodule:mailmerge' in registry
15 '/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-'
16 failed!
17 error (RuntimeException): python-loader:exceptions.ImportError: No
18 module named os, traceback follows
19 Coludn't import traceback module
21 It looks like openoffice doesn't like the python that is on your
22 system. But I don't understand why, because the os, site, and
23 traceback modules are a part of python, and really must exist. In
24 fact portage relies on python, so if python were really broken portage
25 would not work.
27 So I guess now we should take a look at the output of:
29 eix dev-lang/python (you may need to merge eix for this)
30 emerge -pv dev-lang/python
31 env | grep PYTHON
32 python -c "import sys ; print sys.path"
34 I suppose you can also try running the command shown on the
35 Systemcall: line and see if the problem repeats itself...
37 -Richard
39 --
40 gentoo-user@g.o mailing list