Compiling the GNU Gatekeeper
I would suggest you use our patched 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 (1.0.2, 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. Make sure you use the latest version to get all security fixes.
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.
There is an example how to compile GnuGk from CVS on Ubuntu.
WindowsOn Windows just build the included Visual Studio project file. Visual Studio 2017, 2015, 2013, 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 compiling 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: 18. Feb 2018
Page maintained by Jan Willamowius