|
|
(8 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| = Buildbot Reference Install Instructions - Win32 =
| | This page was obsolete and has been removed. Details on our win32 reference platform can be found here: [https://wiki.mozilla.org/ReferencePlatforms/Win32 https://wiki.mozilla.org/ReferencePlatforms/Win32]. |
| This document describes how to create a Buildbot reference install on Windows. You will need administrative privileges to complete this install. | |
| | |
| == Prerequisites ==
| |
| * [[ReferencePlatforms/Win32 | Base win32 reference install]]
| |
| == Install Python ==
| |
| Download and install Python 2.4 from [http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi here]
| |
| Install it in "D:\buildtools\python24"
| |
| 8b1517fdbf287d402ac06cc809abfad6 python-2.4.4.msi | |
| | |
| == Install Python-Twisted ==
| |
| Download and install Python-Twisted 2.4 from [http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe here]. This will also install the Zope-Interface package.
| |
| 87759eed35ddaed617e128fd6f34ea7c Twisted_NoDocs-2.4.0.win32-py2.4.exe
| |
| | |
| == Install mfc71.dll ==
| |
| Download and install mfc71.dll from [http://starship.python.net/crew/mhammond/downloads/mfc71.dll here] and put into c:\windows\system32\mfc71.dll.
| |
| | |
| == Install Python Win32 extensions ==
| |
| Download and install the Python win32 extensions from [http://superb-west.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.4.exe here]
| |
| 16d8d23fa6653bead0ab4d99b9bbfe23 pywin32-210.win32-py2.4.exe
| |
| | |
| == Add cygwin and Python to the path ==
| |
| Control Panel -> System -> Advanced -> Environment Variables. Find 'PATH' in the list of System variables and append ";c:\buildtools\python24;c:\buildtools\python24\scripts;c:\cygwin\bin;c:\cygwin\usr\bin"
| |
| | |
| == Install Buildbot ==
| |
| Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org.
| |
| Make sure to use the Win32 Python to install Buildbot.
| |
| | |
| Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!) run:
| |
| cd /home/cltbld
| |
| cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/buildbot
| |
| Using cmd.exe DOS prompt (do not use cygwin, you'll get the wrong python!) run:
| |
| cd mozilla/tools/buildbot
| |
| python setup.py build
| |
| python setup.py install
| |
| Edit the 'buildbot.bat' file in c:\buildtools\python24\scripts:
| |
| @python c:\buildtools\python24\scripts\buildbot %*
| |
| | |
| == Install the Botrunner script ==
| |
| | |
| Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!), get the MozBuild and botrunner modules from cvs cd
| |
| cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/MozBuild
| |
| cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/botrunner.py
| |
| Using cmd.exe DOS prompt (do not use cygwin)
| |
| cp MozBuild/Util.py c:\buildtools\python24\Lib\site-packages
| |
| cp MozBuild/botrunner.py c:\buildtools\python24\scripts\botrunner.py
| |