Has anyone on this community successfully installed and compiled Python 2.7+ software on RHEL 6.4 over POWER 7+ platform?
I would like to learn about your experiences, and what specifically did you do to achieve a successful installation.
Here is my recent experience:
- My platform is Power 7+ LPAR (Machine type: 9117-MMD).
- Installed RHEL 6.4 (redhat-release-server-6Server-188.8.131.52.el6.ppc64)
- Kernel: 2.6.32-358.el6.ppc64
- RHEL 6.4 standard distribution software appears pre-included with Python 2.6.6 version code, in RPM packaging format.
- Also installed IBM XLC_linux (V12.1), and gcc 4.4.7 compilers on the LPAR.
Attempted to download and install Python 2.7.5 as open-source from www.python.org, and ran into errors, as below:
The README with the Python 2.7.5 clearly states the following statement:
"For example, if you want to install Python 2.5, 2.6 and 3.0 with 2.6 being the primary version, you would execute "make install" in your 2.6 build directory and "make altinstall" in the others.".
I did not find any Python 2.6.6 makefiles in the RHEL 6.4, so, I chose to execute "Make altinstall" in my 2.7.5 directory. It threw the following errors:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _curses _curses_panel
_sqlite3 _ssl _tkinter
bsddb185 bz2 dbm
dl gdbm imageop
readline sunaudiodev zlib
To find the necessary bits, look in setup.py in detect_modules() for the module's name.