GNU Gatekeeper Logo

Home
· Download
· Support
· Site Map

Documentation
· English Manual
· French Manual
· Spanish Manual
· Persian Manual
· Portuguese Manual
· Chinese Manual
· FAQ
· Interoperability
· Intro to H.323
· Usage Examples
· Configuration Notes
· GnuGk and SIP

Tools & Addons
· Java GUI
· ISDN Gateway
· CTI / ACD
· GnuGk Addons
· Endpoints
· Gateways
· MCUs
· IVRs
· Billing
· Commercial Addons

Development
• Compiling
· Development Version
· NAT Traversal
· Tools
· Authors

Misc
· Events
· Logos
· Recommended Books
· Success Stories

Compiling the GNU Gatekeeper

I would suggest you use the latest CVS versions of PTLib and H323Plus to compile GnuGk.

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.

Unix

Configure and compile PTLib and OpenH323/H323Plus first.

GnuGk 2.3.x on Unix can be configured with "./configure". 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.4.x work fine for compiling GnuGk. (GCC 2.95.x is too old.)

There is an example how to compile GnuGk from CVS on Ubuntu.

Windows

On Windows just build the included Visual Studio .NET (Visual C++ 7.0) project gk.sln or the Visual C++ 2005 Express project gk_2005.sln or the Visual Studio 2008 Express project gk_2008.sln. Visual C++ 6.0 and 5.0 are no longer supported.

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" Combinations

The GNU Gatekeeper depends on the OpenH323 library along with the underlying PWLib and some other libraries. Some combinations produce strange results, so here are a few notes about known issues and known good combinations.

GnuGkOpenH323PWLibNotes
2.3.1H323Plus CVS as of 2009-11-16PTLib SVN as of 2009-11-16 
2.3.1H323Plus 1.21.02.4.5see note on MD5 tokens
2.3.0H323Plus 1.21.02.4.5 
2.3.0H323Plus 1.20.22.0.1use patch for Unix Makefile
2.3.0OpenH323 1.18.01.10.3no H.460.18/.19 support, won't compile on MacOS X
2.2.8OpenH323 1.18.01.10.3 
2.2.7OpenH323 1.18.01.10.3 
2.2.7H323Plus 1.20.22.0.1ignore warnings about missing version, fixed in 2.0.1-4
2.2.7H323Plus 1.19.61.12.0 

Troubleshooting

Please submit more notes.

OSGnuGk VersionOpenH323 / PWLibNote
AllAllPTLib 2.2.x - 2.6.5won't produce compatible MD5 hashes in crypto tokens, fixed in the combination of H323Plus 1.22 and PTLib 2.7.1
AllAllPTLib 2.3.x - 2.5.2will cause GnuGk to hang on startup - bug in PIPSocket::GetRouteTable(), fixed in 2.4.5
All2.2.7H323Plus/PTLib 2.0.1gives compile warning "Can't detect PWLib/PTLib version", which can be ignored for this version of PTLib, or use OpenH323 Atlas
UnixAllOpenH323 Atlas (1.18.0)gives a few compile warnings with gcc 4.2.x that can be ignored, use patch provides in /docs/pwlib_bugs.txt
AllAllAlldo not configure PWLib with --enable-openh323; GnuGk needs some features not used by OpenH323



Last updated: 05. Dez 2009
Page maintained by Jan Willamowius