Compiling the GNU Gatekeeper
I would suggest you use version 2.10.9 of PTLib and the latest H323Plus to compile GnuGk. Only on operating systems where 2.10.9 doesn't work properly (eg. BSD), you should use the PTLib 2.11.0 from SVN (not 2.11.1 or newer!).
On most Unix distributions you should install the 'openssl-devel' package to have OpenSSL libraries and headers available. For Windows, install Win32 OpenSSL (not the 'Light' version) and add the lib and include path to your Visual Studio settings.
To include ssh support for the status port, you need libssh, at least version 0.5.0.
UnixConfigure and compile PTLib and H323Plus first.
GnuGk can be configured with "./configure" on Unix. Please type "./configure --help" for details.
Type "make debug", "make opt" or "make optnoshared" to compile (use the same command you used with PTLib and h323Plus). Then copy the resulting executable to a bin/ directory.
GCC 3.x to 4.9.x work fine for compiling GnuGk. (GCC 2.95.x is too old.) clang++ 3.0 to 3.6 also works but produces a large number of (harmless) warnings.
There is an example how to compile GnuGk from CVS on Ubuntu.
WindowsOn Windows just build the included Visual Studio project file. Visual Studio 2010, 2008, 2005 and .NET should all work; using the Express versions is enough to compile GnuGk. I'm using Visual Studio 2008 Express. Visual C++ 6.0 and 5.0 are no longer supported. Make sure you have compiled PTLib and H323Plus prior to GnuGk.
When you build the project, the auto-config (./configure) feature will automatically detect the database libraries installed on your system and configure the appropriate drivers.
"Known Good" Library Combinations
The GNU Gatekeeper depends on the H323Plus library along with the underlying PTLib and some other libraries. Some combinations produce strange results, so here are a few notes about known issues and known good combinations.
Please submit more notes.
Last updated: 17. May 2015
Page maintained by Jan Willamowius