After the installs/gits and before the actual install of linphone I
found myself in /home/jervin (my subdir) where the srtp subdirectory
now is. Rather than in a linphone subdirectory.
On 06/27/2013 06:02 PM, rex wrote:
gegetel <address@hidden>
[2013-06-27 06:32]:
I can't tell you on Ubuntu since I use
Mageia, but I think the better way is to look at this page :
https://www.linphone.org/eng/documentation/guide/compiling.html
and at the INSTALL, and above all at the README file in sources.
(Attention, there are two mistakes in the "sudo apt-get"
command, I can't remember what they are because I did correct
them in my file.)
I count 6 mistakes if the omission of libasound2-del is counted,
plus
the omission of the required cd command. I'll quote the relevant
sections of the 3.6.1 README, and below them I'll post my
corrections.
But first, the showstopper for me was the omission of the
requirement
libasound2-dev (Debian) or alsa-dev (SUSE). I had spent
significant
time trying to discover what was missing that resulted in a "No
sound
card found" at run time before Ghislain threw me a rope and pulled
me out
of the swamp.
"Here is the command line to get these dependencies
installed for Ubuntu && Debian"
"$ sudo apt-get install libtool intltool libgtk2.0-dev
libosip2-dev libexosip2-dev libspeexdsp-dev libavcodec-dev
libswscale-dev libx11-dev libvx-dev ligl1-mesa-dev libglew-dev
libv4l-dev"
With two typos corrected and libasound2-dev added the line is:
$ sudo apt-get install libtool intltool libgtk2.0-dev libosip2-dev
libexosip2-dev libspeexdsp-dev libavcodec-dev libswscale-dev
libx11-dev libxv-dev libgl1-mesa-dev libglew-dev libv4l-dev
libasound2-dev
"+ for optional library
$ sudo apt-get install libreadline-dev liggsm1-dev
libtheora-dev libsoup2.4-dev libsqlit3-dev libupnp6-dev"
With two typos corrected the line is:
$ sudo apt-get install libreadline-dev libgsm1-dev libtheora-dev
libsoup2.4-dev libsqlite3-dev libupnp6-dev
+ Install srtp (optional) for call encryption :
$ git clone git://git.linphone.org/srtp.git
$ cd srtp && autoconf &&
./configure && make
$ sudo make install
+ Install zrtpcpp (optional), for unbreakable call
encryption
$ sudo apt-get install cmake libssl-dev
$ git clone git://git.linphone.org/zrtpcpp.git
$ cd zrtpcpp && cmake
-Denable-ccrtp=false . && make
$ sudo make install
The above will leave you in the linphone-3.6.1/srtp/zrtpcpp
directory
and the following commands in the README will fail. Moving up two
levels is required:
$ cd ../../
Now this should work:
Compile linphone
$ ./autogen.sh
$ ./configure $ make && sudo make install $ sudo
ldconfig
-rex
|