build.sh安装依赖包

echo "# adding additional repo tools"
installIfMissing software-properties-common
installIfMissing python-software-properties
echo "# - done"
echo

echo "# checking build dependencies"
installIfMissing autoconf
installIfMissing automake
installIfMissing libtool
installIfMissing debhelper
installIfMissing sqlite3
installIfMissing libsqlite3-dev
installIfMissing libusb-1.0-0
installIfMissing libusb-1.0-0-dev
installIfMissing libortp-dev
installIfMissing libortp9
installIfMissing libosip2-dev
installIfMissing libreadline-dev
installIfMissing libncurses5
installIfMissing libncurses5-dev
installIfMissing pkg-config
# libsqliteodbc deps
installIfMissing cdbs
installIfMissing libsqlite0-dev
# asterisk deps
installIfMissing unixodbc
installIfMissing unixodbc-dev
installIfMissing libssl-dev
installIfMissing libsrtp0
installIfMissing libsrtp0-dev
installIfMissing libsqliteodbc
installIfMissing uuid-dev
installIfMissing libjansson-dev
installIfMissing libxml2-dev
# zmq
installIfMissing libzmq3-dev
## installIfMissing libzmq5
installIfMissing python-zmq


sudo apt-get install -y software-properties-common python-software-properties autoconf automake libtool debhelper sqlite3 libsqlite3-dev libusb-1.0-0 libusb-1.0-0-dev libortp-dev libortp9 libosip2-dev libreadline-dev libncurses5 libncurses5-dev pkg-config cdbs libsqlite0-dev unixodbc unixodbc-dev libssl-dev libsrtp0 libsrtp0-dev libsqliteodbc uuid-dev libjansson-dev libxml2-dev libzmq3-dev python-zmq

posted @ 2022-02-08 15:52  寄生的鱼  阅读(163)  评论(0编辑  收藏  举报