[Freeswitch-users] Install on new Debian 10

Sean Devoy sdevoy at bizfocused.com
Thu Sep 26 14:37:09 UTC 2019


I ran what you said but it has failed.  Here ios the tail of the log
Setting up dpkg-dev (1.19.7) ...
Setting up g++ (4:8.3.0-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.6) ...
Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up ruby2.5 (2.5.5-3) ...
Setting up ruby (1:2.5.1) ...
Setting up rake (12.3.1-3) ...
Setting up libruby2.5:amd64 (2.5.5-3) ...
Setting up vim-nox (2:8.1.0875-5) ...
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/ex (ex) in auto mode
Processing triggers for mime-support (3.62) ...
Processing triggers for libc-bin (2.28-10) ...

Suggestions?

From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of David Villasmil
Sent: Wednesday, September 25, 2019 4:35 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Install on new Debian 10

ON a debian 10:

apt-get update && apt-get install -yq gnupg2 wget lsb-release
apt-get -y install build-essential vim-nox sngrep screen
wget -O - https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc | apt-key add -

echo "deb http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list

apt-get update

# Install dependencies required for the build
apt-get -y build-dep freeswitch

cd /usr/src/
#git clone https://freeswitch.org/stash/scm/fs/freeswitch.git
# We should start using freeswitch's github repo
git clone https://github.com/signalwire/freeswitch.git
cd freeswitch

./bootstrap.sh -j
./configure --prefix=/usr/local/freeswitch
make && make install

Config will end up in /usr/src/freeswitch/etc/freeswitch
Binaries in /usr/src/freeswitch/bin

Hope that helps you getting started.

Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337


On Wed, Sep 25, 2019 at 9:04 PM Sean Devoy <sdevoy at bizfocused.com<mailto:sdevoy at bizfocused.com>> wrote:
Hi,

I spun up a new Debian 10 x64 system.  On this page: https://freeswitch.org/confluence/display/FREESWITCH/Installation
I did the command
FSfile=$(curl -s https://files.freeswitch.org/releases/freeswitch/ | grep -oE "freeswitch-[0-9]*\.[0-9]*\.[0-9]*\.-release\.tar\.bz2" | tail -n 1) && echo Downloading $FSfile && curl https://files.freeswitch.org/freeswitch-releases/$FSfile | tar -xj && mv ${FSfile/.tar.bz2//} freeswitch

Which failed.  I then installed curl and ran it again.  It worked I think, I now have a subfolder named freeswitch.

I tried ./configure but got the error:
no acceptable C compiler found in $PATH

I did
apt-get install build-essential
and got farther.  Then I got an error about no zlib devel
apt install zlib1g-dev
and got no usable libjpeg; please install libjpeg devel
apt install libjpeg-dev
and got   error: You need to install pkg-config to configure FreeSWITCH.
apt install pkg-config
then I got:
Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing `sqlite3.pc' to the PKG_CONFIG_PATH environment variable No package 'sqlite3' found
configure: error: Library requirements (sqlite3 >= 3.6.20) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
apt install sqlite3
and got the same error.

Is there a list of prereqs I need to install?  What do I do about this sqlite3 error?

Will there be a disto install soon?

Thanks,
Sean

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190926/6dbb83fc/attachment-0001.html>


More information about the FreeSWITCH-users mailing list