Changeset 643:f065e3cb846e in freeDiameter
- Timestamp:
- Dec 21, 2010, 10:51:14 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- Tags:
- 1.0.3
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL
r341 r643 1 1 This 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. 2 to generate the Makefiles for your platform. You can also select which extensions must be built 3 with cmake. After the initial cmake configuration, you will need several tools such as make, a 4 C compiler (tested mostly with gcc), flex, bison, ... 5 6 You 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 3 13 4 14 Building in a separate directory is recommended: … … 9 19 10 20 You 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.21 You can also use a CMake front-end (for example ccmake or cmake-gui). 12 22 If your cmake installation is recent, the edit_cache target is a good help as well: 13 23 # mkdir build … … 21 31 # cmake -DBUILD_TESTING:BOOL=OFF ../ 22 32 # make 33 34 When the tests are not disabled, you can run them with: 23 35 # make tests 24 36 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. 37 See the INSTALL.* files for additional platform-specific information. 38 Note that the most up-to-date INSTALL file is the Ubuntu one. You may want to read there 39 in addition to your own platform file. -
INSTALL.Fedora
r617 r643 5 5 Dependencies on Fedora 13 (from minimal system): 6 6 # yum install cmake make gcc flex bison lksctp-tools-devel gnutls-devel libgcrypt-devel 7 8 In addition, if you have not already retrieved the latest source: 7 9 # yum install mercurial 8 10 9 11 Following dependencies are optional, depending on which extensions you plan to compile 10 12 app_acct: 11 # yum install postgresql-server postgresql-devel 13 # yum install postgresql-devel 14 optional: 15 # yum install postgresql-server 12 16 13 17 app_sip: 14 18 app_diameap: 15 # yum install mysql-server mysql-devel 19 # yum install mysql-devel 20 optional: 21 # yum install mysql-server 16 22 17 23 dict_legacy_xml: … … 22 28 23 29 24 Fetching the latest source:25 # hg clone http://www.freediameter.net/hg/freeDiameter26 # cd freeDiameter27 28 Compiling in a separate directory:29 # mkdir test.build30 # cd test.build31 # cmake ..32 # make33 34 30 NOTE: You may need to change something in SELinux to allow binding the SCTP socket on Diameter port. 35 31 The following command is the very naive way to do it, you can probably do better (feedback appreciated!) … … 38 34 39 35 There is currently no Fedora-specific package for freeDiameter. 40 You are welcome to contribute packaging scripts ! Please contact with41 dev@freediameter.net for more details.36 You are welcome to contribute packaging scripts. 37 Please contact dev@freediameter.net for more details. -
INSTALL.FreeBSD
r559 r643 5 5 ------------------ 6 6 7 On FreeBSD-8.0 the followingpackages were required (should be same on FreeBSD-7.x):7 On FreeBSD-8.0 at least the following ports packages were required (should be same on FreeBSD-7.x): 8 8 cmake flex bison gnutls 9 9 … … 55 55 # make install 56 56 57 10) Run (the install path can be changed incmake step):57 10) Run (the install path can be changed during cmake step): 58 58 # /usr/local/bin/freeDiameterd --help 59 59 -
INSTALL.OpenSUSE
r612 r643 23 23 24 24 25 Fetching the latest source:26 # hg clone http://www.freediameter.net/hg/freeDiameter27 # cd freeDiameter28 29 Compiling in a separate directory:30 # mkdir test.build31 # cd test.build32 # cmake ..33 # make34 35 25 There is currently no OpenSUSE-specific package for freeDiameter. 36 26 You are welcome to contribute packaging scripts! Please contact with -
INSTALL.Ubuntu
r612 r643 15 15 ln -s contrib/debian 16 16 17 ============================================ 17 18 18 19 The following packages are required to compile freeDiameter from source: … … 36 37 swig python-dev 37 38 39 ============================================ 38 40 39 If your debhelper environment is recent (> 7.3.9 to providecmake support),41 If your debhelper environment is recent (> 7.3.9 for cmake support), 40 42 the following commands should generate the freeDiameter packages for you: 41 43 … … 70 72 71 73 freeDiameter has been tested on the following distributions (compiled from source as described bellow): 72 Ubuntu Intrepid, Jaunty, Karmic, Lucid .74 Ubuntu Intrepid, Jaunty, Karmic, Lucid, Maverick, Natty. 73 75 Debian Lenny. 74 76
Note: See TracChangeset
for help on using the changeset viewer.