The daemon source is under the
daemon directory. The daemon is a mandatory component of SFLphone.
sudo yum groupinstall group "Development Tools" "Development Libraries" sudo yum install alsa-lib-devel pulseaudio-libs-devel libsamplerate-devel commoncpp2-devel ccrtp-devel libzrtpcpp-devel dbus-c++-devel pcre-devel gsm-devel speex-devel celt071-devel libyaml-devel
We first need to compile to PJSIP library under the
Do not use any GCC optimisation flags, prefix or
-j options or pjproject may fail to compile.
ILBC codec is disabled by default because of the non-GPL license.
autoconf aconfigure.ac > aconfigure if you make any modifications to
cd libs/pjproject ./autogen.sh ./configure && make dep && make clean && make cd ../..
./autogen.sh ./configure --prefix=/usr make && sudo make install
You may then compile either the GNOME or the KDE client.
cd sflphone-client-gnome ./autogen.sh ./configure --prefix=/usr make && sudo make install
Be sure to configure the core and the client in the same directory ( /usr in this example ).
Use sflphone-client-gnome to run it, sflphone-client-gnome --debug to display the log messages during runtime.
cd sflphone-client-kde ./config.sh cd build make
sudo apt-get build-dep sflphone-client-kdeto install build-dependencies
Installation outside of /usr/¶
If you choose to install to a path prefix other than /usr/ you most likely have to setup DBUS to include files from the directory containing the daemon's service file. This can be done by creating a file in /etc/dbus-1/session.d/. If, for example, you are installing to your home directory, create the file /etc/dbus-1/session.d/org.sflphone.$USER.conf, with the following contents:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <servicedir>/home/$USER/share/dbus-1/services</servicedir> </busconfig>
Where you replace
$USERwith your username.