Python 2.7.3 kann unter CentOS 6 nicht installiert werden

Python 2.7.3 kann unter CentOS 6 nicht installiert werden

Ich habe CentOS 6 (Minimal- oder Netinstall, ich weiß nicht mehr welches) auf einer virtuellen Maschine. Ich versuche zu installierenPlone 4.2.4darauf zu Testzwecken. Ich habe alle erforderlichen Abhängigkeiten installiert, oder zumindest glaube ich das.

Ich führe den Plone Unified Installer aus (ich verwende diese --static-lxmlOption, da Plone eine libxml2-Version erfordert, die auf CentOS nicht vorhanden ist).

./install.sh --static-lxml standalone

Ich erhalte die folgende Fehlermeldung:

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.

Hier ist das Plone-Installationsprotokoll.

ich installiertePythonbrewum zu versuchen, Python 2.73 damit zu installieren. Ich kann Pythonbrew erfolgreich installieren, aber beim Ausführen pythonbrew install 2.7.3erhalte ich den folgenden Fehler:

[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.

Hier ist das Pythonbrew-Build-Protokoll.Es ist fast identisch mit dem Plone-Installationsprotokoll(!), was mich annehmen lässt, dass das Problem woanders liegt.

Antwort1

Essieht auswie das Konfigurationsskript korrekt beendet wurde und die Makefiles erstellt wurden. Ich vermute, dass Ihnen vielleicht einige der grundlegenden Entwicklungstools fehlen autoconf. Versuchen Sie, sie mit diesem Befehl als Root zu installieren (Quelle):

 yum groupinstall 'Development Tools'

verwandte Informationen