Tested on CentOS 5 and 6
Prerequisites packages:
- Sun JDK (jdk-1.6.0_21+)
- Apache Ant (1.8.2+)
- GNU g++ (gcc-c++)
- CMake (cmake)
- Boost (boost-devel)
- rpmbuild (rpm-build)
Make sure that the binary executable of ant is included in the search path, and it uses the Sun JDK to build.
Simply run "make rpm" in the top directory, and all the RPM packages of TME will be generated to "output/artifacts"
Tested on Ubuntu 10.04 LTS, using OpenJDK should work.
To prepare the build environment:
- apt-get install git-core
- apt-get install openjdk-6-jdk
- apt-get install ant1.8
- apt-get install g++
- apt-get install cmake
- apt-get install libboost-program-options1.40-dev
TME web portal only supports Ruby 1.9.2+, and Ubuntu 10.04 only ships Ruby 1.9.1
You have to follow this step to use RVM to install Ruby 1.9.2:
- aptitude install build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev curl
- bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
- source /etc/profile.d/rvm.sh
- rvm install 1.9.2 ; rvm default 1.9.2
- gem install bundler