view INSTALL @ 1520:5aa6d237b306

Add 3GPP TS 29.561 V16.3.0 (2020-03) Add AVPs: - 3GPP-Notification, OctetString, code 110, section 11.3.1 - 3GPP-UE-MAC-Address, OctetString, code 111, section 11.3.1 - 3GPP-Authorization-Reference, OctetString, code 112, section 11.3.1 - 3GPP-Policy-Reference, OctetString, code 113, section 11.3.1 - 3GPP-Session-AMBR, OctetString, code 114, section 11.3.1 - 3GPP-NAI, OctetString, code 115, section 11.3.1 - 3GPP-Session-AMBR-v2, OctetString, code 116, section 11.3.1 - 3GPP-IP-Address-Pool-Id, OctetString, code 118, section 11.3.1 - 3GPP-S-NSSAI, UTF8String, code 200, section 16.3.1
author Luke Mewburn <luke@mewburn.net>
date Thu, 09 Apr 2020 13:24:42 +1000
parents e457e7ac3a6d
children
line wrap: on
line source

This package uses CMake (cmake.org) as building system. You'll need the cmake tool in order 
to generate the Makefiles for your platform. You can also select which extensions must be built
with cmake. After the initial cmake configuration, you will need several tools such as make, a 
C compiler (tested mostly with gcc), flex (> 2.5.4), bison, ...

You may retrieve the source package in several ways:
 - as a pre-packaged version for your platform. Check the website for supported platforms.
 - as a tarball containing the source.
 - directly from the repository using Mercurial tool:
      hg clone http://www.freediameter.net/hg/freeDiameter
   In order to update later:
      hg pull -u

Building in a separate directory is recommended:
# mkdir build
# cd build
# cmake ../
# make

You can pass options to instruct cmake about which components to compile on the command-line.
You can also use a CMake front-end (for example ccmake or cmake-gui). 
If your cmake installation is recent, the edit_cache target is a good help as well:
# mkdir build
# cd build
# cmake ../
# make help
# make edit_cache
# make

You can disable the unit tests by doing:
# cmake -DBUILD_TESTING:BOOL=OFF ../
# make

When the tests are enabled, you can run them with:
# make test

See the INSTALL.* files for additional platform-specific information.
Note that the most up-to-date INSTALL file is the Ubuntu one. You may want to read there
in addition to your own platform file.
"Welcome to our mercurial repository"