Nokia WAP and SMS gateway Network Card User Manual


 
Chapter 2. Installing the gateway
GNU autoconf, if you want to modify the configuration script.
Compiling the gateway
If you are using Kannel on a supported platform, or one that is similar enough to one, compiling Kannel
is trivial. After you have unpacked the source package of your choosing, or after you have checked out
the source code from CVS, enter the following commands:
./configure
make
The configure script investigates various things on your computer for the Kannel compilation needs,
and writes out the Makefile used to compile Kannel. make then runs the commands to actually
compile Kannel.
If either command writes out an error message and stops before it finishes its job, you have a problem,
and you either need to fix it yourself, if you can, or report the problem to the Kannel project. See Chapter
10
for details.
For detailed instruction on using the configuration script, see file INSTALL. That file is a generic
documentation for configure. Kannel defines a few additional options:
--with-defaults=type Set defaults for the other options. type is either speed or debug. The
default is debug.
--enable-docs (default) Build documentation, b.e., converting the User Guide and the
Architecture Guide from the DocBook markup language to PostScript and HTML.
--disable-docs Don’t build documentation.
--enable-drafts When building documentation, include the sections marked as draft.
--disable-drafts (default) When building documentation, don’t include the sections marked
as draft.
--enable-debug Enable non-reentrant development time debugging of WMLScript compiler.
--enable-localtime Write log file time stamps in local time, not GMT.
--disable-assertions Turn off runtime assertion checking. This makes Kannel faster, but gives
less information if it crashes.
--with-malloc=type Select memory allocation module to use: type is native, checking (the
default), or slow. For production use you probably want native. The slow module is more thorough
than checking, but much slower.
--enable-mutex-stats Produce information about lock contention.
--enable-start-stop-daemon Compile the start-stop-daemon program.
--enable-pam Enable using PAM for authentication of sendsms users for smsbox.
7