canmove, Confirmed users
6,439
edits
No edit summary |
(reverting, edited the wrong page) |
||
Line 2: | Line 2: | ||
= Things Done For You = | = Things Done For You = | ||
== Version | == Version 2 == | ||
=== Install CentOS 5.0 from CDs === | === Install CentOS 5.0 from CDs === | ||
Line 81: | Line 81: | ||
=== Make GCC 4.1 (redhat branch) === | === Make GCC 4.1 (redhat branch) === | ||
md5sum gcc-4.1.1-30.src.rpm | |||
tar | # 555b8cb95d3d7d851b2ebd5c3cec7837 | ||
rpm2cpio gcc-4.1.1-30.src.rpm | cpio -i gcc-4.1.1-20061011.tar.bz2 | |||
tar xfvj gcc-4.1.1-20061011.tar.bz2 | |||
mkdir gcc-obj-release | mkdir gcc-obj-release | ||
cd gcc-obj-release/ | cd gcc-obj-release/ | ||
../gcc-4. | ../gcc-4.1.1-20061011/configure --enable-long-long --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --with-system-zlib --prefix=/tools/gcc-4.1.1 2>&1 | tee ../gcc-4.1.1-configure.log | ||
make 2>&1 | tee ../gcc-4. | make 2>&1 | tee ../gcc-4.1.1-make.log | ||
make install 2>&1 | tee ../gcc-4. | make install 2>&1 | tee ../gcc-4.1.1-make_install.log | ||
=== Build Python 2.5.1 === | === Build Python 2.5.1 === | ||
Line 104: | Line 104: | ||
ln -s python2.5.1/ python | ln -s python2.5.1/ python | ||
== Version 3 == | |||
=== Make directories === | === Make directories === | ||
mkdir -p /tools/dist/logs | mkdir -p /tools/dist/logs | ||
Line 139: | Line 140: | ||
export PYTHONPATH="/tools/twisted/lib/python2.5/site-packages/:$PYTHONPATH" | export PYTHONPATH="/tools/twisted/lib/python2.5/site-packages/:$PYTHONPATH" | ||
== Version 4 == | |||
=== Installing Mercurial === | === Installing Mercurial === | ||
wget http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz | wget http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz | ||
Line 146: | Line 148: | ||
export PATH="/tools/python/bin:$PATH" | export PATH="/tools/python/bin:$PATH" | ||
python setup.py install | python setup.py install | ||
=== Installing Scratchbox === | |||
As root:<br /> | |||
wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.1.sh | |||
chmod a+x ./maemo-scratchbox-install_4.0.sh | |||
./maemo-scratchbox-install_4.0.sh -s /scratchbox | |||
/scratchbox/sbin/sbox_adduser cltbld yes | |||
As cltbld:<br /> | |||
Comment out the PYTHONHOME and PATH entries in ~/.bash_profile. | |||
source ~/.bash_profile | |||
wget http://tablets-dev.nokia.com/chinook/maemo-sdk-install_4.0.1.sh | |||
chmod +x maemo-sdk-install_4.0.sh | |||
bash maemo-sdk-install_4.0.sh | |||
/scratchbox/login | |||
wget http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.9.tar.gz | |||
tar -xzvf libIDL-0.8.9.tar.gz | |||
cd libIDL-0.8.9 | |||
./configure --prefix=/usr | |||
make | |||
make install | |||
Remove the comments from the PYTHONHOME and PATH entries in ~/.bash_profile and source it again. | |||
=== Installing Nagios NRPE Daemon === | === Installing Nagios NRPE Daemon === | ||
Line 160: | Line 183: | ||
Post-install instructions are written for the latest version (currently, Version 4).<br /> | Post-install instructions are written for the latest version (currently, Version 4).<br /> | ||
You should have a /builds drive added to the VM before completing this section. | You should have a /builds drive added to the VM before completing this section. | ||
== Move Scratchbox == | |||
Scratchbox takes up a non-trivial amount of space and should be moved to a different partition. | |||
# Boot into single user mode (append 'init=/bin/sh' to the kernel params from grub). | |||
# mount -o remount,rw / | |||
# mv /scratchbox /builds | |||
# ln -s /builds/scratchbox /scratchbox | |||
# mount -o remount,ro / | |||
# Reboot the VM. | |||
== Installing BuildBot == | == Installing BuildBot == |