ReferencePlatforms/BuildBot/MacOSX

From MozillaWiki
Jump to: navigation, 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

Follow Linux install instructions

Once python 2.5 is installed, simply follow the Linux install instructions. Skip the user creation section and do the following instead:

niutil -create / /users/buildbot
niutil -createprop / /users/buildbot uid 503
niutil -createprop / /users/buildbot gid 503
niutil -createprop / /users/buildbot realname "Buildbot"
niutil -createprop / /users/buildbot home "/Users/buildbot"
niutil -createprop / /users/buildbot shell "/bin/bash"
niutil -createprop / /users/buildbot passwd "*"
niutil -create / /groups/buildbot
niutil -createprop / /groups/buildbot gid 503
passwd buildbot

You should then be able to execute the following:

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