Navigation


Changeset 643:f065e3cb846e in freeDiameter


Ignore:
Timestamp:
Dec 21, 2010, 10:51:14 AM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Tags:
1.0.3
Message:

Updated documentation

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • INSTALL

    r341 r643  
    11This package uses CMake (cmake.org) as building system. You'll need the cmake tool in order
    2 to generate the Makefiles for your platform. You can also select which extensions must be built.
     2to generate the Makefiles for your platform. You can also select which extensions must be built
     3with cmake. After the initial cmake configuration, you will need several tools such as make, a
     4C compiler (tested mostly with gcc), flex, bison, ...
     5
     6You may retrieve the source package in several ways:
     7 - as a pre-packaged version for your platform. Check the website for supported platforms.
     8 - as a tarball containing the source.
     9 - directly from the repository using Mercurial tool:
     10      hg clone http://www.freediameter.net/hg/freeDiameter
     11   In order to update later:
     12      hg pull -u
    313
    414Building in a separate directory is recommended:
     
    919
    1020You can pass options to instruct cmake about which components to compile on the command-line.
    11 You can also use a CMake front-end (for example ccmake or cmake-gui) or edit the CCmakeCache.txt file directly.
     21You can also use a CMake front-end (for example ccmake or cmake-gui).
    1222If your cmake installation is recent, the edit_cache target is a good help as well:
    1323# mkdir build
     
    2131# cmake -DBUILD_TESTING:BOOL=OFF ../
    2232# make
     33
     34When the tests are not disabled, you can run them with:
    2335# make tests
    2436
    25 Note that there are dependencies on external tools that may not be enforced by the configure script.
    26 See the specific INSTALL.* files for additional information.
     37See the INSTALL.* files for additional platform-specific information.
     38Note that the most up-to-date INSTALL file is the Ubuntu one. You may want to read there
     39in addition to your own platform file.
  • INSTALL.Fedora

    r617 r643  
    55Dependencies on Fedora 13 (from minimal system):
    66# yum install cmake make gcc flex bison lksctp-tools-devel gnutls-devel libgcrypt-devel
     7
     8In addition, if you have not already retrieved the latest source:
    79# yum install mercurial
    810
    911Following dependencies are optional, depending on which extensions you plan to compile
    1012 app_acct:
    11         # yum install postgresql-server postgresql-devel
     13        # yum install postgresql-devel
     14        optional:
     15        # yum install postgresql-server
    1216
    1317 app_sip:
    1418 app_diameap:
    15         # yum install mysql-server mysql-devel
     19        # yum install mysql-devel
     20        optional:
     21        # yum install mysql-server
    1622       
    1723 dict_legacy_xml:
     
    2228
    2329
    24 Fetching the latest source:
    25 # hg clone http://www.freediameter.net/hg/freeDiameter
    26 # cd freeDiameter
    27 
    28 Compiling in a separate directory:
    29 # mkdir test.build
    30 # cd test.build
    31 # cmake ..
    32 # make
    33 
    3430NOTE: You may need to change something in SELinux to allow binding the SCTP socket on Diameter port.
    3531The following command is the very naive way to do it, you can probably do better (feedback appreciated!)
     
    3834
    3935There is currently no Fedora-specific package for freeDiameter.
    40 You are welcome to contribute packaging scripts! Please contact with
    41 dev@freediameter.net for more details.
     36You are welcome to contribute packaging scripts.
     37Please contact dev@freediameter.net for more details.
  • INSTALL.FreeBSD

    r559 r643  
    55------------------
    66
    7 On FreeBSD-8.0 the following packages were required (should be same on FreeBSD-7.x):
     7On FreeBSD-8.0 at least the following ports packages were required (should be same on FreeBSD-7.x):
    88 cmake flex bison gnutls
    99
     
    5555   # make install
    5656   
    57 10) Run (the install path can be changed in cmake step):
     5710) Run (the install path can be changed during cmake step):
    5858   # /usr/local/bin/freeDiameterd --help
    5959
  • INSTALL.OpenSUSE

    r612 r643  
    2323
    2424
    25 Fetching the latest source:
    26 # hg clone http://www.freediameter.net/hg/freeDiameter
    27 # cd freeDiameter
    28 
    29 Compiling in a separate directory:
    30 # mkdir test.build
    31 # cd test.build
    32 # cmake ..
    33 # make
    34 
    3525There is currently no OpenSUSE-specific package for freeDiameter.
    3626You are welcome to contribute packaging scripts! Please contact with
  • INSTALL.Ubuntu

    r612 r643  
    1515  ln -s contrib/debian
    1616 
     17============================================
    1718
    1819The following packages are required to compile freeDiameter from source:
     
    3637        swig python-dev
    3738       
     39============================================
    3840
    39 If your debhelper environment is recent (> 7.3.9 to provide cmake support),
     41If your debhelper environment is recent (> 7.3.9 for cmake support),
    4042the following commands should generate the freeDiameter packages for you:
    4143
     
    7072
    7173freeDiameter has been tested on the following distributions (compiled from source as described bellow):
    72 Ubuntu Intrepid, Jaunty, Karmic, Lucid.
     74Ubuntu Intrepid, Jaunty, Karmic, Lucid, Maverick, Natty.
    7375Debian Lenny.
    7476
Note: See TracChangeset for help on using the changeset viewer.