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

Example: Compiling the GNU Gatekeeper from CVS on Ubuntu Linux 9.04

$ sudo apt-get update
$ sudo apt-get install flex bison build-essential subversion cvs pkg-config

Get and compile ptlib 2.7 from SourceForge
$ cd ~
$ svn co http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
$ cd ptlib
$ export PTLIBDIR=~/ptlib
$ ./configure
$ make optnoshared

Get and compile h323plus:
$ cd ~
$ cvs -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus login

(just press enter when prompted for password)

$ cvs -z3 -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus co -P h323plus

$ cd h323plus
$ export OPENH323DIR=~/h323plus
$ ./configure
$ make optnoshared

Get and compile GnuGk:
$ cvs -d:pserver:anonymous@openh323gk.cvs.sourceforge.net:/cvsroot/openh323gk login

(just press enter when prompted for password)

$ cvs -z3 -d:pserver:anonymous@openh323gk.cvs.sourceforge.net:/cvsroot/openh323gk co -P openh323gk

$ cd openh323gk
$ ./configure --enable-h46018
$ make optnoshared

Once the compile is finished, the binary can be found in the 
obj_linux_x86 subdirectory.

At this time, because all libraries and GnuGk are running CVS and svn 
versions of the software, in order to stay up-to-date, run the following:

$ cd ~/ptlib
$ svn up
$ cd ~/h323plus
$ cvs up
$ cd ~/openh323gk
$ cvs up
If any of the source files are changed, you may need to recompile.

To generate the manual on Ubuntu
, install the following:

$ sudo apt-get install linuxdoc-tools linuxdoc-tools-text
$ sudo apt-get install texlive-base-bin texlive

and then the following patch.  sgml2{foo} is apparently no longer the 
way that Ubuntu wants to do things (sgml2{foo} works fine on SuSE).  There's still an issue with the pdf 
file generation that I'm working on.

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/openh323gk/openh323gk/docs/manual/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    20 Apr 2007 10:56:22 -0000      1.6
+++ Makefile    26 Aug 2009 14:48:16 -0000
@@ -1,16 +1,16 @@
  all:   html pdf

  html:
-       sgml2html -s 1 manual.sgml
+       linuxdoc -B html -s 1 manual.sgml

  html-fr:
-       cd fr ; sgml2html --language=fr -s 1 manual-fr.sgml
+       cd fr ; linuxdoc -B html --language=fr -s 1 manual-fr.sgml

  html-es:
-       cd es ; sgml2html --language=es -s 1 manual-es.sgml
+       cd es ; linuxdoc -B html --language=es -s 1 manual-es.sgml

  pdf:
-       sgml2latex --output=dvi manual.sgml ; dvipdfm manual.dvi ; rm -f 
manual.dvi
+       linuxdoc -B latex  --output=dvi manual.sgml ; dvipdfm manual.dvi 
; rm -f manual.dvi

  pdf-fr:
         cd fr ; sgml2latex --language=fr manual-fr.sgml ; dvipdfm 
manual-fr.dvi ; rm -f manual-fr.dvi
@@ -19,7 +19,7 @@
         cd es ; sgml2latex --language=es manual-es.sgml ; dvipdfm 
manual-es.dvi ; rm -f manual-es.dvi

  txt:
-       sgml2txt --charset=latin manual.sgml
+       linuxdoc -B txt --charset=latin manual.sgml

  txt-fr:
         cd fr ; sgml2txt --language=fr --charset=latin manual-fr.sgml



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