3.2. Compilation & Installation

Download the latest VoIPong tarball from EnderUNIX and uncompress it:

# tar zxvf voipong-version.tar.gz
   
There are several pre-written Makefile files in the source directory. Examine each of them and choose the one which most suits your system. If you're running one of the the BSD type Operating Systems (i.e. FreeBSD, OpenBSD, NetBSD, Mac OSX); copy Makefile.bsd as Makefile; if you're using a Linux distribution then, copy Makefile.linux as Makefile. You might need to change CFLAGS and LDFLAGS variables accordingly:
# cp Makefile.bsd Makefile
   
Type make to compile voipong, voipctl and voice decoder modules:
# make
   
Type make install to copy compiled binaries, shared modules, configuration files, manual pages and related documentation into the proper locations:
# make install