[Freeswitch-users] Install on new Debian 10

David Villasmil david.villasmil.work at gmail.com
Wed Sep 25 20:34:43 UTC 2019


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
phone: +34669448337


On Wed, Sep 25, 2019 at 9:04 PM Sean Devoy <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
> 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
> 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/20190925/f794e9e7/attachment-0001.html>


More information about the FreeSWITCH-users mailing list