我正在尝试在我的 gentoo 服务器上安装 python 2.7,但不知何故它已经不再安装。
eselect python list
Available Python interpreters:
[1] python3.3 *
如果我尝试以类似的方式出现它,emerge -a python:2.7
它会失败并出现以下错误:
* ERROR: dev-lang/python-2.7.6::gentoo failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/x86_64-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
>>> Failed to emerge dev-lang/python-2.7.6, Log file:
>>> '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'
* Messages for package dev-lang/python-2.7.6:
* ERROR: dev-lang/python-2.7.6::gentoo failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/x86_64-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
* Regenerating GNU info directory index...
* Processed 115 info files.
!!! existing preserved libs:
>>> package: dev-lang/python-2.7.5-r3
* - /usr/lib64/libpython2.7.so.1.0
* used by /usr/bin/b2 (dev-util/boost-build-1.52.0-r1)
* used by /usr/bin/bjam (dev-util/boost-build-1.52.0-r1)
* used by /usr/bin/vim (app-editors/vim-7.3.762)
* used by 44 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
各种消息来源都提到了该库的问题readline
,因此我按照其他人的建议屏蔽了最新的错误版本这论坛帖子。
Installed versions: 6.2_p1(02:03:23 PM 06/15/2014)
现在是最新安装的版本,应该不包含该错误。
不幸的是问题仍然存在。
我上传了完整的构建日志:https://gist.github.com/anonymous/67c66e859b6625020493
知道那里出了什么问题吗?
谢谢你!