# HG changeset patch # User Sebastien Decugis # Date 1345892523 -7200 # Node ID edb5228bd753a4693890643dc9006e2e6e95b55a # Parent 85b3d7c8bf607d16fcea7cce24199a5f9dc6e39c Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs diff -r 85b3d7c8bf60 -r edb5228bd753 INSTALL --- a/INSTALL Fri Aug 24 21:22:41 2012 +0200 +++ b/INSTALL Sat Aug 25 13:02:03 2012 +0200 @@ -1,7 +1,7 @@ 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, bison, ... +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. diff -r 85b3d7c8bf60 -r edb5228bd753 INSTALL.pkgsrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INSTALL.pkgsrc Sat Aug 25 13:02:03 2012 +0200 @@ -0,0 +1,21 @@ +The simplest way to install on NetBSD, DragonFly, MirBSD or other +pkgsrc platforms is: + pkg_add freeDiameter + +If no binary package exists: + cd /usr/pkgsrc/net/freeDiameter + make install + +If you want to build and install freeDiameter from the repository, +you'll need to install: + pkg_add bison pkg-config libidn gnutls libgcrypt mercurial +and follow the usual installation note. + +NetBSD does not support SCTP, so you have to add + -DDISABLE_SCTP:BOOL=ON +to the cmake command line. + +For the optional extensions, you need mysql*-client, postgres*-client, +libxml2. For the debugging extensions, you also need swig and a +python -- install as usual. +