ReferencePlatforms/Test/Mac: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
=== XCode Installation ===
=== XCode Installation ===
# The next step is to retrieve the Mac reference platform packages from CVS:
# The next step is to retrieve the Mac reference platform packages from CVS:
  cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac
  ocvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac
# Mount the xcode_2.2.1_8g1165_018213632.dmg disk image by double clicking on it and and begin installing the XcodeTools.mpkg.
# Mount the xcode_2.2.1_8g1165_018213632.dmg disk image by double clicking on it and and begin installing the XcodeTools.mpkg.
# When it comes time to choose the Installation Type, choose "Customize"
# When it comes time to choose the Installation Type, choose "Customize"

Revision as of 22:17, 23 July 2007

Talos configuration done on qm-pmac03

OS Setup

  1. Change the resolution to 1024 x 768, 60 Hz, under System Preferences->Displays.
  2. Under System Preferences->Desktop&Screen Saver, set "Start Screen Saver" to 'never'
  3. Create a new admin-equiv account for the mozqa user using the standard password.
  4. Under System Preferences->Sharing->Apple Remote Desktop->Access Privileges change the VNC screen control password to the standard password. NOTE: your VNC session will drop when you do this. You'll need to reconnect with the new password.
  5. Under System Preferences->Software Update, turn off automatic update checking.
  6. Install the cltbld ssh key in ~/.ssh

XCode Installation

  1. The next step is to retrieve the Mac reference platform packages from CVS:
ocvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac
  1. Mount the xcode_2.2.1_8g1165_018213632.dmg disk image by double clicking on it and and begin installing the XcodeTools.mpkg.
  2. When it comes time to choose the Installation Type, choose "Customize"
  3. Under "Cross-Development," select all the available SDKs, and then click "Install"

BuildBot Setup

Install Python 2.5

mkdir -p /tools/dist
cd /tools/dist
curl -O 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

qm-pmac01

Setup notes for qm-pmac01 (talos test box)

Syck 0.55 is installed on pmac01 for Talos. Should be installed on the other machines. Installed the main binary and the python extension:

  • cd ext/python/
  • python setup.py build
  • sudo python setup.py install

pmac01 also has xcode and ports installed from the reference machine. Sharedmenuframeworks is not installed. Screensaver disabled.

For Talos to work on mac, the Subprocess module must be installed. Download subprocess.py from [1] and copy into /Library/Python/2.3/site-packages/. Be sure to save the file as 'subprocess.py' with a lowercase 's'.