Errors in the manual install guide for CentOS 7

568 views
Skip to first unread message

KNERD

unread,
Feb 9, 2018, 4:01:24 PM2/9/18
to ASTPP

Following the guide exactly, I am getting an error related to FreeSwitch.


At the point of  "make all install cd-sounds-install cd-moh-install"


It is returning, "Makefile:892: *** You must install libopus-dev to build mod_opus.  Stop."

This does not even exist on CentOS 7.

The FreeSwotch documentation has an article on this, and how to get around it.

https://freeswitch.org/confluence/display/FREESWITCH/Build+libopus+RPMs+for+CentOS+7

I am not even sure why this was not included in the documentation.

Next Error:

At step 1 -

#Install dependencies for freeswitch
yum install -y wget git autoconf automake expat-devel yasm gnutls-devel libtiff-devel libX11-devel unixODBC-devel
python-devel zlib-devel alsa-lib-devel libogg-devel libvorbis-devel uuid-devel @development-tools gdbm-devel
db4-devel libjpeg libjpeg-deve compat-libtermcap ncurses ncurses-devel ntp screen sendmail sendmail-cf gcc-c++
@development-tools bison bzip2 curl curl-devel dmidecode git make mysql-connector-odbc openssl-devel unixODBC
zlib pcre-devel speex-devel sqlite-devel ldns-devel libedit-devel bc e2fsprogs-devel libcurl-devel libxml2-devel
libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbou-nd devel libuuid-devel lua-devel libsndfile-devel


A copy and paste of this results in SSH reading those lines not as a single line, but as individual lines which generates errors.

To get around this, the documentation should be fixed with back slashes at the end of each line like so:


#Install dependencies for freeswitch yum install -y wget git autoconf automake expat-devel yasm gnutls-devel libtiff-devel libX11-devel unixODBC-devel \ python-devel zlib-devel alsa-lib-devel libogg-devel libvorbis-devel uuid-devel @development-tools gdbm-devel \ db4-devel libjpeg libjpeg-deve compat-libtermcap ncurses ncurses-devel ntp screen sendmail sendmail-cf gcc-c++ \ @development-tools bison bzip2 curl curl-devel dmidecode git make mysql-connector-odbc openssl-devel unixODBC \ zlib pcre-devel speex-devel sqlite-devel ldns-devel libedit-devel bc e2fsprogs-devel libcurl-devel libxml2-devel \ libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbou-nd devel libuuid-devel lua-devel libsndfile-devel


Reply all
Reply to author
Forward
0 new messages