ReferencePlatforms/Mac-10.6: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 20: | Line 20: | ||
#* Make sure to install the 10.5 SDK, as it is not installed by default. | #* Make sure to install the 10.5 SDK, as it is not installed by default. | ||
#* CHUD is now installed by default | #* CHUD is now installed by default | ||
== Installing wget == | |||
curl ftp://ftp.gnu.org/pub/gnu/wget/wget-1.10.2.tar.gz > wget-1.10.2.tar.gz | |||
tar -zvxf wget-1.10.2.tar.gz | |||
cd wget-1.10.2 | |||
./configure --prefix=/usr | |||
make | |||
sudo make install | |||
== Installing MacPorts == | == Installing MacPorts == | ||
| Line 27: | Line 36: | ||
** libidl | ** libidl | ||
** autoconf213 | ** autoconf213 | ||
== Buildbot == | |||
=== Make directories === | |||
mkdir -p /tools/dist/logs | |||
mkdir -p /builds/logs | |||
=== Installing Twisted === | |||
wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2 | |||
tar xfvj Twisted-2.4.0.tar.bz2 | |||
cd Twisted-2.4.0 | |||
cd ZopeInterface-3.1.0c1 | |||
python setup.py build | |||
sudo python setup.py install | |||
cd ./Twisted-2.4.0 | |||
python setup.py build | |||
sudo python setup.py install | |||
=== Installing Buildbot === | |||
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot | |||
cd buildbot | |||
python2.5 setup.py install | |||
sudo python2.5 setup.py install | |||
== Installing PyYAML == | |||
wget http://pyyaml.org/download/pyyaml/PyYAML-3.05.tar.gz | |||
tar -zvxf PyYAML-3.05.tar.gz | |||
cd PyYAML-3.05 | |||
python setup.py build | |||
sudo python setup.py install | |||
== Installing Puppet == | |||
wget http://reductivelabs.com/downloads/puppet/puppet-0.24.8.gem | |||
sudo gem install puppet-0.24.8.gem | |||
== Final Configuration == | |||
Add the appropriate paths to the Buildbot user's .bash_profile | |||
echo 'export PYTHONHOME="/tools/python"' >> ~/.profile | |||
echo 'export PYTHONPATH="/tools/buildbot/lib/python2.5/site-packages:/tools/twisted/lib/python2.5/site-packages:/tools/twisted-corelib/python2.5/site-packages/:/tools/zope-interface/lib/python2.5/site-packages/"' >> ~/.profile | |||
echo 'export PATH="/opt/local/bin:/tools/buildbot/bin:/tools/twisted/bin:/tools/twisted-core/bin:$PYTHONHOME/bin:$PATH"' >> ~/.profile | |||
== Current Changes for Compile == | == Current Changes for Compile == | ||
Revision as of 15:37, 5 March 2010
***DRAFT*** Reference Image Info ***DRAFT***
https://wiki.mozilla.org/Mac:64BitRelEng
Initial Setup and Account Creation
- Change the resolution to 1024 x 768, 60 Hz, Millions of Colours, under System Preferences->Displays (this is changed later)
- Change the password for the administrator user to the standard build system root password.
- Create a new admin-equiv account for the cltbld user using the standard build password.
- Under System Preferences->Sharing->Screen Sharing->Computer Settings change the VNC screen control password to the standard build password. NOTE: your VNC session will drop when you do this. You'll need to reconnect with the new password.
- If the hostname is wrong, e.g. unused-*, use
sudo scutil --set HostName new.hostname.mozilla.orgto fix it. NOTE: you'll need to restart the machine for this to fully take effect. - Under System Preferences->Software Update, turn off automatic update checking.
- Using the Workgroup Manager, open the Preferences pane for the cltbld user. Under Software Update, set Manage: to Always, and set the Software Update server to use: as http://bm-xserve01.build.mozilla.org:8088/ - NEED TO FIGURE THIS OUT
Installing Xcode
- Mount the Xcode disk image, and begin installing the XcodeTools.mpkg.
- A standard install is fine (we don't need 10.3.9 support or WebObjects).
- Make sure to install the 10.5 SDK, as it is not installed by default.
- CHUD is now installed by default
Installing wget
curl ftp://ftp.gnu.org/pub/gnu/wget/wget-1.10.2.tar.gz > wget-1.10.2.tar.gz tar -zvxf wget-1.10.2.tar.gz cd wget-1.10.2 ./configure --prefix=/usr make sudo make install
Installing MacPorts
- Install MacPorts-1.8.2 and the following MacPorts packages...
- mercurial
- libidl
- autoconf213
Buildbot
Make directories
mkdir -p /tools/dist/logs mkdir -p /builds/logs
Installing Twisted
wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2 tar xfvj Twisted-2.4.0.tar.bz2 cd Twisted-2.4.0 cd ZopeInterface-3.1.0c1 python setup.py build sudo python setup.py install cd ./Twisted-2.4.0 python setup.py build sudo python setup.py install
Installing Buildbot
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot cd buildbot python2.5 setup.py install sudo python2.5 setup.py install
Installing PyYAML
wget http://pyyaml.org/download/pyyaml/PyYAML-3.05.tar.gz tar -zvxf PyYAML-3.05.tar.gz cd PyYAML-3.05 python setup.py build sudo python setup.py install
Installing Puppet
wget http://reductivelabs.com/downloads/puppet/puppet-0.24.8.gem sudo gem install puppet-0.24.8.gem
Final Configuration
Add the appropriate paths to the Buildbot user's .bash_profile
echo 'export PYTHONHOME="/tools/python"' >> ~/.profile echo 'export PYTHONPATH="/tools/buildbot/lib/python2.5/site-packages:/tools/twisted/lib/python2.5/site-packages:/tools/twisted-corelib/python2.5/site-packages/:/tools/zope-interface/lib/python2.5/site-packages/"' >> ~/.profile echo 'export PATH="/opt/local/bin:/tools/buildbot/bin:/tools/twisted/bin:/tools/twisted-core/bin:$PYTHONHOME/bin:$PATH"' >> ~/.profile
Current Changes for Compile
Currently the configs/mozilla2-staging/macosx/mozilla-central/nightly/mozconfig needs to have the universal mozconfig import removed:
sed -i -e "s/. \$topsrcdir\/build\/macosx\/universal\/mozconfig//" build/.mozconfig