|
EI Office不错,但有的时候总觉得还是有点遗憾。所以想wine一个office,看了版上精华,可是第一步就不成功。wine-doors不能emerge。
具体错误信息:
>>> Install wine-doors-0.1.3 into /var/tmp/portage/app-emulation/wine-doors-0.1.3/image/ category app-emulation
python2.6 setup.py install --root=/var/tmp/portage/app-emulation/wine-doors-0.1.3/image/ --no-compile --temp=/var/tmp/portage/app-emulation/wine-doors-0.1.3/image/
Traceback (most recent call last):
File "setup.py", line 103, in <module>
if os.environ['USER'] == "root":
File "/usr/lib64/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'USER'
* ERROR: app-emulation/wine-doors-0.1.3 failed:
* Installation failed
*
* Call stack:
* ebuild.sh, line 54: Called src_install
* environment, line 3313: Called distutils_src_install '--temp=/var/tmp/portage/app-emulation/wine-doors-0.1.3/image/'
* environment, line 1037: Called die
* The specific snippet of code:
* "$(PYTHON)" setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" install --root="${D}" --no-compile "$@" || die "Installation failed";
*
* If you need support, post the output of 'emerge --info =app-emulation/wine-doors-0.1.3',
* the complete build log and the output of 'emerge -pqv =app-emulation/wine-doors-0.1.3'.
* The complete build log is located at '/var/tmp/portage/app-emulation/wine-doors-0.1.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-doors-0.1.3/temp/environment'.
* S: '/var/tmp/portage/app-emulation/wine-doors-0.1.3/work/wine-doors-0.1.3'
>>> Failed to emerge app-emulation/wine-doors-0.1.3, Log file:
>>> '/var/tmp/portage/app-emulation/wine-doors-0.1.3/temp/build.log'
* Messages for package app-emulation/wine-doors-0.1.3:
* ERROR: app-emulation/wine-doors-0.1.3 failed:
* Installation failed
*
* Call stack:
* ebuild.sh, line 54: Called src_install
* environment, line 3313: Called distutils_src_install '--temp=/var/tmp/portage/app-emulation/wine-doors-0.1.3/image/'
* environment, line 1037: Called die
* The specific snippet of code:
* "$(PYTHON)" setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" install --root="${D}" --no-compile "$@" || die "Installation failed";
*
* If you need support, post the output of 'emerge --info =app-emulation/wine-doors-0.1.3',
* the complete build log and the output of 'emerge -pqv =app-emulation/wine-doors-0.1.3'.
* The complete build log is located at '/var/tmp/portage/app-emulation/wine-doors-0.1.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-doors-0.1.3/temp/environment'.
* S: '/var/tmp/portage/app-emulation/wine-doors-0.1.3/work/wine-doors-0.1.3'
* GNU info directory index is up-to-date.
请问如何解决? |
|