ReferencePlatforms/BuildBot/MacOSX

From MozillaWiki
Jump to navigation Jump to search

Buildbot Reference Install Instructions - MacOSX

Starting point is the MacOSX Reference Platform.

Install Python 2.5

mkdir -p /tools/dist
cd /tools/dist
wget http://www.python.org/ftp/python/2.5/Python-2.5.tar.bz2
tar jxvf Python-2.5.tar.bz2
cd Python-2.5
./configure --prefix=/tools/python
make
make test
make install

Download Twisted sources

http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2

Unpack and build Twisted

mkdir -p /tools
cd /tools
tar xjf ~/Desktop/Twisted-2.5.0.tar.bz2
cd Twisted-2.5.0
cd zope.interface-3.30
sudo python setup.py install
cd ..
sudo python setup.py install

Checkout BuildBot sources from Moz CVS

cd /tools
cvs -d :ext:cltbld@cvs.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot

Build BuildBot

cd /tools/buildbot
sudo python setup.py install

Add buildbot to $PATH

Edit the $PATH in your .profile to include:

/System/Library/Frameworks/Python.framework/Versions/Current/bin

You should then be able to execute the following:

bm-xserve10:~ cltbld$ buildbot --version
Buildbot version: 0.7.5
Twisted version: 2.5.0