CentOS 6에 Python 2.7.3을 설치할 수 없음

CentOS 6에 Python 2.7.3을 설치할 수 없음

가상 머신에 CentOS 6(최소 설치 또는 netinstall, 어느 것이 기억나지 않음)이 있습니다. 설치하려고 하는데플론 4.2.4테스트 목적으로 사용하세요. 필요한 모든 종속성을 설치했거나 적어도 그렇게 생각합니다.

Plone Unified Installer를 실행합니다( --static-lxmlPlone에는 CentOS에 없는 libxml2 버전이 필요하기 때문에 이 옵션을 사용합니다).

./install.sh --static-lxml 독립형

다음 오류가 발생합니다.

Stand-Alone Zope Instance selected

Detailed installation log being written to /root/plone/Plone-4.2.4-UnifiedInstaller/install.log

Root install method chosen. Will install for use by system user plone

Installing Plone 4.2.4 at /usr/local/Plone

User 'plone' already exists. No need to create it.
Skipping libjpeg build
Skipping readline build
Installing Python-2.7.3. This takes a while...
Install of Python-2.7.3 has failed.

Installation has failed.
See the detailed installation log at /root/plone/Plone-4.2.4-UnifiedInstaller/install.log
to determine the cause.

Plone 설치 로그는 다음과 같습니다..

설치했습니다파이썬브루이를 사용하여 Python 2.73을 설치해 봅니다. Pythonbrew를 성공적으로 설치할 수 있지만 실행하면 pythonbrew install 2.7.3다음 오류가 발생합니다.

[test@plonemachine root]$ pythonbrew install 2.7.3
Use the previously fetched /home/test/.pythonbrew/dists/Python-2.7.3.tgz
Extracting Python-2.7.3.tgz into /home/test/.pythonbrew/build/Python-2.7.3

This could take a while. You can run the following command on another shell to track the status:
  tail -f "/home/test/.pythonbrew/log/build.log"

Patching Python-2.7.3
Installing Python-2.7.3 into /home/test/.pythonbrew/pythons/Python-2.7.3
ERROR: Failed to install Python-2.7.3. See /home/test/.pythonbrew/log/build.log to see why.

Pythonbrew 빌드 로그는 다음과 같습니다.Plone 설치 로그(!)와 거의 동일하여 문제가 다른 곳에 있다고 생각됩니다.

답변1

그것외모구성 스크립트가 올바르게 종료되고 Makefile이 생성된 것과 같습니다. 내 생각에는 기본 개발 도구 중 일부가 누락된 것 같습니다 autoconf. 아마도 . 이 명령을 사용하여 루트(원천):

 yum groupinstall 'Development Tools'

관련 정보