OpenWengo

kvats.net
Welcome, Guest
Please Login or Register.    Lost Password?
How to build kvats for Ubuntu (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: How to build kvats for Ubuntu
#6
ras (Admin)
Admin
Posts: 33
User Offline Click here to see the profile of this user
How to build kvats for Ubuntu 3 Years, 9 Months ago  
Here we describe how to buld a fresh kvats release, based on the latest sources from the Mercurial repository.


Tested for Kubuntu Hardy 8.04 beta 64bit, RAS 20 APR 08


# Install Tools and Libraries:

apt-get install mercurial libboost-dev libboost-date-time-dev libboost-doc libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-test-dev libboost-thread-dev libboost-wave-dev cmake qt4-designer libssl-dev libglib1.2-dev libglib2.0-dev libgnutls-dev uuid-dev libxml2-dev libspeex-dev libavcodec-dev libavformat-dev portaudio19-dev libalsaplayer-dev libasound2-dev libsndfile1-dev libsamplerate0-dev libcurl3-openssl-dev libosip2-dev gcc-3.4 g++-3.4 libswscale-dev libpostproc-dev

# Get Source Code

mkdir kvats
cd kvats

hg clone http://hg.kvats.net/kvats-2.2

cd kvats-2.2
cd build
./build_make.sh --build debug
for a debug build (~170M or for a final executable
./build_make.sh --build final

# start kvats (the executable may be also called qutecom.sh)

cd debug
./kvats.sh


Note: Cmake generates a cache file with the name CMakeCache.txt
in various directories so these should be removed when retrying a
build after a cmake failure.
./build_make.sh --clean
should probably also do this.

For updating your repository, use
hg pull
hg update
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/07 19:36 By ras.
  The administrator has disabled public write access.
#12
Oliver Hoffmann (Visitor)
Click here to see the profile of this user
Birthdate:
Re:How to build kvats for Ubuntu 3 Years, 8 Months ago  
You should also list:

sudo aptitude install mercurial cmake

in my Ubuntu (8.04) I get:
CMake Error: your C compiler: "/usr/bin/gcc-3.4" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#14
ras (Admin)
Admin
Posts: 33
User Offline Click here to see the profile of this user
Re:How to build kvats for Ubuntu 3 Years, 8 Months ago  
Hmm, mercurial cmake gcc-3.4 are all in the above list of tools you need to install first. Please check again, if they are available on your system with apt-get install packagename
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/17 10:33 By ras.
  The administrator has disabled public write access.
#15
Oliver Hoffmann (Visitor)
Click here to see the profile of this user
Birthdate:
Re:How to build kvats for Ubuntu 3 Years, 8 Months ago  
you are right, it is included in the list, I tried sudo aptitude ... before and for some strange reason it did not install mercurial, cmake..., now I tried sudo apt-get ... and that worked fine
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16
Oliver Hoffmann (Visitor)
Click here to see the profile of this user
Birthdate:
Re:How to build kvats for Ubuntu 3 Years, 8 Months ago  
instead of
"cd debug
./kvats.sh"
I did
"cd debug
./qutecom.sh"
and that started the application

I managed to set up a SIP account and get connected
(tip: If you want to get rid of settings, delete the .qutecom directory)
but something is wrong with sound, I can hear the "call ended" sound, but not the call inself, here is what qutecom/kvats told me at startup:

(info) 04:46:11 [Common] void QtLanguage::loadLanguageFromConfig(): no Qt translation available for locale ''
(info) 04:46:11 [Common] void QtLanguage::loadLanguageFromConfig(): no application translation available for locale ''
(warn) 04:46:11 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: PCM
(warn) 04:46:11 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: Capture
(warn) 04:46:11 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: PCM
(warn) 04:46:11 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: PCM
(warn) 04:46:11 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: Capture
(warn) 04:46:11 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: Capture
(warn) 04:46:12 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: PCM
(warn) 04:46:12 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: PCM
(warn) 04:46:12 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: Capture
(warn) 04:46:12 [Common] int get_mixer_level_private(snd_mixer_t*, const char*, mixer_element_type): failed to find snd_mixer_elem_t: Capture
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#17
Oliver Hoffmann (Visitor)
Click here to see the profile of this user
Birthdate:
Re:How to build kvats for Ubuntu 3 Years, 8 Months ago  
I managed to have some calls work and others not work, this is what kvats tells me on some calls:

sVoIP_phapi_handle_invite_out
srtp_init() return 5
(warn) 12:26:51 [PhApi] : osip: /home/oliver/Programme/kvats/kvats-2.2/wifo/libosip2/src/osip2/osip_dialog.c:355: Remote UA is not compliant: missing a tag in response!
(warn) 12:26:51 [PhApi] : osip: /home/oliver/Programme/kvats/kvats-2.2/wifo/libosip2/src/osip2/osip_dialog.c:401: Remote UA is not compliant: missing a contact in response!
(error) 12:26:51 [PhApi] : osip: /home/oliver/Programme/kvats/kvats-2.2/wifo/eXosip/src/eXosip.c:3611: eXosip: No call here?
(error) 12:26:51 [PhApi] : osip: /home/oliver/Programme/kvats/kvats-2.2/wifo/eXosip/src/eXosip.c:3611: eXosip: No call here?
sVoIP_phapi_handle_ok_in
incoming OK message 13 0 (nil) 0
smUpdate() return SOK::EVRB_NOCRYPTO(warn) 12:26:58 [PhApi] : osip: /home/oliver/Programme/kvats/kvats-2.2/wifo/eXosip/src/jcallback.c:1394: The dialog has been replaced with the new one fro 200ok.
(error) 12:26:58 [PhApi] : osip: /home/oliver/Programme/kvats/kvats-2.2/wifo/eXosip/src/eXosip.c:3611: eXosip: No call here?
sVoIP_phapi_handle_bye_in,
incoming BYE message 13 0 0xb76dcbb0 -1
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop