Navigation


Changeset 612:95bb43106039 in freeDiameter


Ignore:
Timestamp:
Dec 2, 2010, 5:08:29 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Updated documentation, included information for OpenSUSE and Fedora

Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • INSTALL.Fedora

    r593 r612  
    1 ### Very short install notes for Fedora (tested on Fedora 13)
    2 # Please refer to other INSTALL files for more detailed instructions.
     1### Very short install notes for Fedora (tested on Fedora 13 and 14)
     2# Please refer to other INSTALL files for more detailed instructions (e.g. extension-specific notes).
    33
    44
     
    88
    99Following dependencies are optional, depending on which extensions you plan to compile
    10 # yum install postgresql-server postgresql-devel
    11 # yum install mysql-server mysql-devel
     10 app_acct:
     11        # yum install postgresql-server postgresql-devel
     12
     13 app_sip:
     14 app_diameap:
     15        # yum install mysql-server mysql-devel
     16       
     17 dict_legacy_xml:
     18        # yum install libxml2 libxml2-devel
     19       
     20 dbg_interactive:
     21        # yum install swig python-devel
    1222
    1323
     
    2131# cmake ..
    2232# make
     33
     34
     35There is currently no Fedora-specific package for freeDiameter.
     36You are welcome to contribute packaging scripts! Please contact with
     37dev@freediameter.net for more details.
  • INSTALL.Ubuntu

    r600 r612  
    2222 mercurial gdb
    2323 
    24 In order to build app_acct extension, you will also need the package libpq-dev.
    25 In order to build app_sip or app_diameap extension, you will also need the package libmysqlclient-dev.
    26 In order to build dict_legacy_xml extension, you will need libxml2-dev.
     24Extensions additional dependencies:
     25 app_acct:
     26        libpq-dev
    2727
     28 app_sip:
     29 app_diameap:
     30        libmysqlclient-dev
     31       
     32 dict_legacy_xml:
     33        libxml2-dev
     34       
     35 dbg_interactive:
     36        swig python-dev
     37       
    2838
    2939If your debhelper environment is recent (> 7.3.9 to provide cmake support),
     
    3141
    3242# Install the dependencies for building the source:
    33 sudo apt-get -y install mercurial cmake make gcc bison flex libsctp-dev libgnutls-dev libgcrypt-dev libpq-dev libmysqlclient-dev libxml2-dev ssl-cert debhelper fakeroot
     43sudo apt-get -y install mercurial cmake make gcc bison flex libsctp-dev libgnutls-dev libgcrypt-dev ssl-cert debhelper fakeroot \
     44   libpq-dev libmysqlclient-dev libxml2-dev swig python-dev
    3445
    3546# Retrieve the latest version of the source package
  • contrib/nightly_tests/README

    r608 r612  
    2222      # pkg_add -r -v wget
    2323      # pkg_add -r -v `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.freebsd -O - | grep -v -e "^#"`
     24     
     25  c) OpenSUSE:
     26        $ sudo zypper install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.opensuse -O - | grep -v -e "^#"`
     27 
     28  d) Fedora:
     29        $ sudo yum install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.fedora -O - | grep -v -e "^#"`
     30       
    2431
    25322) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
    2633      - check INSTALL.FreeBSD file for specific PostgreSQL pre-install instructions.
    27       - These are the instructions for Debian/Ubuntu, adjust as needed:
     34      - These are the instructions for Debian/Ubuntu/OpenSUSE, adjust as needed:
    2835        # su - postgres
    2936        # createuser test
     
    5057         "Route-Record4" bytea );
    5158         \q
     59         
    5260
    53613) Create a directory ~/fDtests
     
    6674        $ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake
    6775       
    68 6) Run the runscript.sh script once to check it works properly (freeBSD might require: ln -s /usr/local/bin/bash /bin/bash)
     766) Run the runtests.sh script once to check it works properly (freeBSD might require: ln -s /usr/local/bin/bash /bin/bash)
    6977
    70787) Set up a crontab to run the script
  • contrib/nightly_tests/prereqs.freebsd

    r608 r612  
    22# 2: install wget with command: pkg_add -r -v wget
    33# Finally, install the other packages from this file
    4 bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client libxml2
     4# pkg_add -r -v `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.freebsd -O - | grep -v -e "^#"``
     5bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client libxml2 swig
  • contrib/nightly_tests/prereqs.ubuntu

    r608 r612  
    11# Packages (Ubuntu names)
    2 cmake mercurial make gcc flex bison binutils libsctp-dev libgnutls-dev valgrind wget libpq-dev postgresql libmysqlclient-dev libxml2-dev libxml2
     2cmake mercurial make gcc flex bison binutils libsctp-dev libgnutls-dev valgrind wget libpq-dev postgresql libmysqlclient-dev libxml2-dev libxml2 swig python-dev
    33
Note: See TracChangeset for help on using the changeset viewer.