Install Drachtio Server in Debian 11

sachin
edited October 18 in SIP
apt-get install build-essential git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libxml2-dev uuid-dev gcc libssl-dev libtool autoconf automake zlib1g-dev git zip unzip libcurl4-openssl-dev autoreconf libtool libtool-bin libssl-dev cmake libgoogle-perftools-dev 

apt install gcc g++ make cmake build-essential git autoconf curl libtool libssl-dev libcurl4-openssl-dev libz-dev systemd-coredump liblz4-tool automake libtool-bin 
cd /usr/src/
git clone https://github.com/drachtio/drachtio-server.git
cd drachtio-server/
git submodule update --init --recursive
./autogen.sh
mkdir build && cd $_
../configure --enable-tcmalloc=yes CPPFLAGS='-DNDEBUG'
make
make install
ll /usr/local/bin
cp ../drachtio.conf.xml /etc/
cp ../drachtio.service /etc/systemd/system/
systemctl status drachtio
systemctl start drachtio
systemctl status drachtio
history
Tagged:

Comments

  • root@VM-Dractio-221:/usr/src/drachtio-server# ./autogen.sh
    Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
    

    if encountered such error, follow steps below

    Steps:

    1. Open the nano Makefile.am file.
    2. Look for the INCLUDES variable, which might look like this:
    INCLUDES = -I/path/to/include
    
    1. Replace it with AM_CPPFLAGS like so:
    AM_CPPFLAGS = -I/path/to/include
    


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!