SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
TSFOffline



Joined: Mar 17, 2010
Posts: 7

Status: Offline
Posted: Mar 18, 2010 - 06:46 PM Reply with quote Back to top
Hi,

I'm installing Kamailio for the first time and have come across some problems which hopefully somebody can help me with.

The kamdbctl and kamctl files in /usr/local/sbin are missing after I run make install.

I have been following these instructions for installing Kamailio 3.0.x from git:

http://www.kamailio.org/dokuwiki/doku.p ... x-from-git

The server that I am installing onto is running CentOS 5.2 so I have had to change some of the commands.

After installing EPEL and git (yum install git) these are the steps that I have gone through:

1) Yum install gcc
2) Yum install flex
3) Yum install bison
4) yum -y install mysql-devel ? is this correct? On Debian it is libmysqlclient15-dev.
5) Yum install make
6) Yum install openssl-devel ? is this correct? On Debian it is libcurl4-openssl-dev.
7) Yum install libxml2-devel
Cool mkdir -p /usr/local/src/kamailio-3.0.0
9) cd /usr/local/src/kamailio-3.0.0
10) Download the sources from Git:

git clone --depth 1 git://git.sip-router.org/sip-router kamailio


11) cd kamailio
12) git checkout -b kamailio_3.0 origin/kamailio_3.0

This gives the following messages:

Branch kamailio_3.0 set up to track remote branch refs/remotes/origin/kamailio_3.0.

Switched to a new branch "kamailio_3.0" ? Is this correct or an error?

13) make cfg

This gives the following:

normal Makefile.defs exec
target architecture <i386>, host architecture <i386>
making config...
rm -f modules.lst
make modules.lst
Makefile.defs defs skipped
make[1]: Entering directory `/usr/local/src/kamailio-3.0.0/kamailio'
saving modules list...
make[1]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio'

14) vi modules.lst and remove db_mysql
15) make Q=1 all
16) make install

I then cd to /usr/local/sbin to look for kamailio, sercmd, kamdbctl and kamctl but kamdbctl and kamctl are not present.

Any ideas please?

Regards
View user's profile Send private message
anomarmeOffline



Joined: Jul 14, 2005
Posts: 105
Location: http://www.asipto.com
Status: Offline
Posted: Mar 24, 2010 - 08:46 PM Reply with quote Back to top
There was an error in the Makefile. It got fixed and it should work now.
View user's profile Send private message
TSFOffline



Joined: Mar 17, 2010
Posts: 7

Status: Offline
Posted: Mar 26, 2010 - 12:22 PM Reply with quote Back to top
Thanks. The files have been installed now.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.