Asterisk-15.x.x

Hi everybody!
I’m Ario and I just discovered this forum.

Otherwise it’s been more than 48H that I try to install asterisk-15.xx (version 15) on a machine Debian 9 but I can not because I have this error message (see end of the comment) while with ubuntu 17.10 it works relentlessly.

So if possible, I would like you to guide me because it gnaws at me for not getting there.

Cordially.

root@debian:/usr/src/asterisk/asterisk-15.2.0-rc1# ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-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… /bin/grep
checking for egrep… /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… /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… /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) /bin/grep -E
checking for strip… strip
checking for ar… ar
checking for bison… :
checking for cmp… /usr/bin/cmp
checking for cat… /bin/cat
checking for cut… /usr/bin/cut
checking for flex… :
checking for grep… (cached) /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/bash
checking for ln… /bin/ln
checking for doxygen… /usr/bin/doxygen
checking for dot… :
checking for wget… /usr/bin/wget
checking for curl… :
checking for rubber… :
checking for catdvi… :
checking for kpsewhich… :
checking for xmllint… /usr/bin/xmllint
checking for xmlstarlet… :
checking for bash… /bin/bash
checking for git… /usr/bin/git
checking for alembic… :
checking for bzip2… /bin/bzip2
checking for tar… /bin/tar
checking for patch… /usr/bin/patch
checking for sed… (cached) /bin/sed
checking for nm… /usr/bin/nm
checking for ldconfig… /sbin/ldconfig
checking for sha1sum… /usr/bin/sha1sum
checking for openssl… /usr/bin/openssl
checking for bison that supports parse-param…
checking for soxmix… no
checking for md5… no
checking for md5sum… md5sum
checking for a sed that does not truncate output… (cached) /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.7.1/pjproject-2.7.1.tar.bz2 to /tmp/pjproject-2.7.1.tar.bz2
[pjproject] Retrying download
[pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.7.1/pjproject-2.7.1.tar.bz2 to /tmp/pjproject-2.7.1.tar.bz2
Makefile:119: recipe for target ‘/tmp/pjproject-2.7.1.tar.bz2’ failed
make: *** [/tmp/pjproject-2.7.1.tar.bz2] Error 4
make: *** Deleting file '/tmp/pjproject-2.7.1.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.
root@debian:/usr/src/asterisk/asterisk-15.2.0-rc1#

Very similar to what I’m getting with asterisk-15.1-5 on centos7.4. So, next time I downloaded pjproject-2.7.1 and put in in /tmp/downloads/ and ran ./configure --with-externals-cache=/tmp/downloads
same thing occurred again.

Thank you pbxtech714 for your quick response.

However, I am now confronted with this error:

checking for embedded pjproject (may have to download)… configuring
[pjproject] Verifying /tmp/downloads/pjproject-2.6.tar.bz2
/bin/sed: can’t read /tmp/downloads/pjproject-2.6.md5: No such file or directory
[pjproject] Verify failed

And when I try to download the file, I still have this error

root@debian:/tmp/downloads# wget https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.6/pjproject-2.6.md5
–2017-12-28 19:24:24-- https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.6/pjproject-2.6.md5
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.60.133
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|151.101.60.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2017-12-28 19:24:30 erreur 404 : Not Found.

The file is located at https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.6/MD5SUM.TXT and gets renamed to pjproject-2.6.md5