Appendix BfreeDiameter
from Sources
B.1 Introduction
This appendix provides more details on how to build freeDiameter
. It is recommended for anyone interested in developing new features in Diameter or hacking in the existing freeDiameter
code. As a prerequisite, the reader should be familiar with software development and the Linux environment.
The general steps to compile and then run freeDiameter
are the following:
- 1. Install the required tools and dependencies.
- 2. Obtain the source code.
- 3. Set up your build environment.
- 4. Run make, which will in turn call the C compiler and other tools needed to compile
freeDiameter
. - 5. Create a
freeDiameter
configuration file. - 6. Run and test
freeDiameter
.
The following sections provide more details on these steps, which will create the environment covered in Appendix A.
B.2 Tools and Dependencies
As freeDiameter
source code is not tied to any integrated development environment, almost any system can be used as a development machine. There are, however, a few dependencies that need to be matched. Use the latest stable release for your operating system when installing or updating dependencies.
Operating System
The freeDiameter
code follows the programming interface specified by POSIX, so it can run on any UNIX® compliant system, and it has been tested successfully on several flavors of GNU/Linux, FreeBSD, and Mac OS X. See http://www.unix.org for details on the POSIX API.
Build System
freeDiameter
uses CMake for configuring its build system. CMake is a command‐line ...
Get Diameter now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.