Download

Get sources using the following command

svn co https://svn.kannel.org/<project>/trunk

where <project> is: gateway, sqlbox or opensmppbox.

Once you have the kannel source, navigate to source directory which typically is
[YOUR_DOWNLOAD_PATH]/trunk/

Here you can compile kannel wtih mysql support or without mysql.

Install Kannel Without Mysql Support

./configure --enable-start-stop-daemon
# make
# make install

Install Kannel With Mysql Support

./configure --with-mysql --enable-start-stop-daemon
# make
# make install

Once you have installed kannel you can locate the install directory by using following on

whereis bearerbox
bearerbox: /usr/local/sbin/bearerbox

whereis smsbox
smsbox: /usr/local/sbin/smsbox

If you face any issue in installation, please leave comments.