forked from overviewer/Minecraft-Overviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
CentOS 5 Install
maragnus edited this page Feb 7, 2011
·
12 revisions
CentOS 5 requires python 2.4 in order for the package manager (yum) to function. Here is a solution to installing python 2.6 along side it with the required libraries, PIL and NumPy.
- TODO
- Follow the instructions on this page on installing Python 2.6: Python 2.6 on Centos 5.x
- Install the following packages:
yum install python26-imaging python26-devel - Download NumPy source:
svn co http://svn.scipy.org/svn/numpy/trunk numpy - Enter the numpy folder:
cd numpy - Build numpy:
python26 setup.py build - Install numpy:
python26 setup.py install - Replace the first line of overviewer's gmap.py with:
#!/usr/bin/env python26
- Install the following packages:
yum install python26-imaging-devel - Copy the Imaging headers into the python2.6 include folder:
cp /usr/include/python2.6/Imaging/* /usr/include/python2.6/ - Build the modules:
python26 setup.py build