Commit 8bf9199a authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Updated documentation

parent 685433a9
...@@ -13,13 +13,14 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver: ...@@ -13,13 +13,14 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
-- note: the build slave should have cmake version 2.8 at least so that ctest will update the source tree properly. -- note: the build slave should have cmake version 2.8 at least so that ctest will update the source tree properly.
1) Install all dependencies for freeDiameter as follow: 1) Install all dependencies for freeDiameter as follow:
a) Debian / Ubuntu: See the "prereqs" file a) Debian / Ubuntu: See the "prereqs.ubuntu" file
$ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "^#"` $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.ubuntu -O - | grep -v -e "^#"`
b) FreeBSD: b) FreeBSD: See the "prereqs.freebsd" file
- install base system and ports - install base system and ports
- install freediameter dependencies as follow: - install freediameter dependencies as follow:
# pkg_add -r -v wget bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client # pkg_add -r -v wget
# pkg_add -r -v `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.freebsd -O - | grep -v -e "^#"`
2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here) 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
- check INSTALL.FreeBSD file for specific PostgreSQL pre-install instructions. - check INSTALL.FreeBSD file for specific PostgreSQL pre-install instructions.
...@@ -61,9 +62,9 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver: ...@@ -61,9 +62,9 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
5) Create a file local.cmake defining the name of the build slave in this directory also. 5) Create a file local.cmake defining the name of the build slave in this directory also.
$ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
For FreeBSD: For FreeBSD, in addition do:
$ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake $ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake
6) Run the runscript.sh script once to check it works properly (freeBSD might require: ln -s /usr/local/bin/bash /bin/bash) 6) Run the runscript.sh script once to check it works properly (freeBSD might require: ln -s /usr/local/bin/bash /bin/bash)
7) Set up a crontab to run the script 7) Set up a crontab to run the script
......
# 1: install base system and ports
# 2: install wget with command: pkg_add -r -v wget
# Finally, install the other packages from this file
bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client libxml2
# Packages (Ubuntu names) # Packages (Ubuntu names)
cmake mercurial make gcc flex bison binutils libsctp-dev libgnutls-dev valgrind wget libpq-dev postgresql libmysqlclient-dev cmake mercurial make gcc flex bison binutils libsctp-dev libgnutls-dev valgrind wget libpq-dev postgresql libmysqlclient-dev libxml2-dev libxml2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment