Tuesday, July 19, 2011

How to install Mercurial on CentOS 4.9

Jephe Wu - http://linuxtechres.blogspot.com

Environment: CentOS 4.9 64bit, Mercurial 1.9, Python 2.6.7

Steps:
1. download bzip2 1.0.6 from www.bzip.org
make;make install

2. compile Pythoon normally (./configure; make; make install)
Since Python 2.7.1, it doesn't support bz. If you use the latest version, you might encounter error 'warning: IronPython detected (no bz2 support)' when compiling mercurial

3. compile mercurial 1.9
make all
make install

0 comments: