Here's what I did today on our Windows build server to set up the entire Selenium build on Windows. That builds the Java Selenium Server, and all of the supported clients: Java, .NET, Perl, PHP, Python, and Ruby.
- Installed .NET 2.0 from MS Windows Update, that gave me 2.0.50727 and stubs for v1.0 and v1.1; NUnit refused to run.
- Downloaded ruby-1.8.6-26 one-click installer, installed to c:\ruby-1.8.6
- Unchecked scite, left "rubygems" checked
- Ran "gem install --remote rake"
- Downloaded activestate activeperl 5.8.8 (MSI), installed to C:\Perl
- ran ppm, installed Test-Exception and Test-POD
- ran "perl -MCPAN -e shell", "install Test::Mock::LWP"
- Downloaded php-5.2.1-win32-installer.msi
- installed to c:\php-5.2.1
- added Curl extension + PEAR Install extension
- ran go-pear.bat, "local" PEAR installation, agreed to update php.ini
- pear channel-discover pear.phpunit.de
- pear install phpunit/PHPUnit
- pear install PhpDocumentor
- Downloaded python-2.5.msi, installed to c:\Python25
On Linux:
On my Ubuntu 7.10 Gutsy Gibbon box:
- sudo apt-get install mono-devel nant nunit ndoc
- sudo apt-get install ruby rdoc (TODO: add rake?)
- perl was already installed
- sudo cpan
- install Test::Exception
- install Test::Pod
- install Test::Mock::LWP
- sudo apt-get install php5-cli
- sudo apt-get install php-pear
- sudo pear channel-discover pear.phpunit.de
- sudo pear install phpunit/PHPUnit
- sudo pear install PhpDocumentor
- python was already installed, but Ubuntu left out some non-free default modules
- sudo apt-get install python-profiler
On my RHEL 4 box, I already had most of the clients, I just needed to upgrade a few things.
- PHP: Needed PHPDocumentor.
- I had PEAR 1.3.2, which couldn't read PHPDocumentor's package.xml 2.0 file. Followed docs here to upgrade PEAR: http://blogs.csuchico.edu/ik/2006/11/27/upgrading-pear-on-rhel-4/
(see comment at the end) Note that until PEAR gets upgraded you'll get an unhelpful 404 error when trying to do anything, so you have to give it URLs to use for the upgrade.
- Finally ran into PEAR out-of-memory bug when trying to run "pear install PhpDocumentor". Bug described here: http://pear.php.net/bugs/bug.php?id=1596
Using "peardev install PhpDocumentor" worked instead.