Install asterisk 16.1.1


#1

hi, everyone, I am new in asterisk and Linux
I am trying to install asterisk 16.1.1 on centos 7
I install dahdi and libpri
when i ./configure asterisk cod after downloading pjproject it counter an error

[root@linux asterisk-16.1.1]# uname -a
Linux linux.asterisk 4.20.0-1.el7.elrepo.x86_64 #1 SMP Sun Dec 23 20:11:51 EST 2018 x86_64 x86_64 x86_64 GNU/Linux

output
[root@linux asterisk-16.1.1]# ./configure --libdir=/usr/lib64
checking build system type… x86_64-pc-linux-gnu
checking host system type… x86_64-pc-linux-gnu
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking whether char is unsigned… no
checking for uname… /usr/bin/uname
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking how to run the C preprocessor… gcc -E
checking how to run the C++ preprocessor… g++ -E
checking for a sed that does not truncate output… /usr/bin/sed
checking for egrep… grep -E
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for gawk… gawk
checking for a BSD-compatible install… /usr/bin/install -c
checking whether ln -s works… yes
checking for ranlib… ranlib
checking for GNU make… make
checking for egrep… (cached) /usr/bin/grep -E
checking for strip… strip
checking for ar… ar
checking for bison… /usr/bin/bison
checking for cmp… /usr/bin/cmp
checking for cat… /usr/bin/cat
checking for cut… /usr/bin/cut
checking for flex… /usr/bin/flex
checking for grep… (cached) /usr/bin/grep
checking for python… /usr/bin/python
checking for find… /usr/bin/find
checking for compress… :
checking for basename… /usr/bin/basename
checking for dirname… /usr/bin/dirname
checking for sh… /bin/sh
checking for ln… /usr/bin/ln
checking for doxygen… /usr/bin/doxygen
checking for dot… /usr/bin/dot
checking for wget… /usr/bin/wget
checking for curl… /usr/bin/curl
checking for rubber… :
checking for catdvi… :
checking for kpsewhich… :
checking for xmllint… /usr/bin/xmllint
checking for xmlstarlet… /usr/bin/xmlstarlet
checking for bash… /bin/sh
checking for git… :
checking for alembic… :
checking for bzip2… /usr/bin/bzip2
checking for tar… /usr/bin/tar
checking for patch… /usr/bin/patch
checking for sed… (cached) /usr/bin/sed
checking for nm… /usr/bin/nm
checking for ldconfig… /usr/sbin/ldconfig
checking for sha1sum… /usr/bin/sha1sum
checking for openssl… /usr/bin/openssl
checking for bison that supports parse-param… /usr/bin/bison
checking for soxmix… no
checking for md5… no
checking for md5sum… md5sum
checking for a sed that does not truncate output… (cached) /usr/bin/sed
checking whether gcc is Clang… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads… no
checking for PTHREAD_PRIO_INHERIT… yes
checking for RAII support… checking for gcc -fnested-functions… no
checking for clang strsep/strcmp optimization… no
checking for embedded pjproject (may have to download)… configuring
[pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.8/pjproject-2.8.tar.bz2 to /tmp/pjproject-2.8.tar.bz2
[pjproject] Retrying download
[pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.8/pjproject-2.8.tar.bz2 to /tmp/pjproject-2.8.tar.bz2
make: *** [/tmp/pjproject-2.8.tar.bz2] Error 4
make: *** Deleting file `/tmp/pjproject-2.8.tar.bz2’
failed
configure: Unable to configure third-party/pjproject
configure: error: Re-run the ./configure command with ‘NOISY_BUILD=yes’ appended to see error details.


#2

I made a guide for Asterisk 16 installation on Centos 7


#3

hi
i directly download pjproject to /tmp folder
and that solve my problem
thank