[asterisk-bugs] [JIRA] (ASTERISK-27653) asterisk 13.19.0 with the bundled pjsip installation issues

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Sun Feb 4 17:00:13 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242005#comment-242005 ] 

Richard Mudgett commented on ASTERISK-27653:
--------------------------------------------

I see no issue here.  I'm using kubuntu 16.04 and running the script in test mode it listed the commands I would need to execute to install missing packages.  It did not install them:
{noformat}
rmudgett at mudtower:~/projects/asterisk/ws1/v13 (v13)$ contrib/scripts/install_prereq test
#############################################
## test: test mode.
## Use the commands here to install your system.
#############################################
aptitude update
aptitude install -y bison flex graphviz libcfg-dev libcorosync-common-dev libcpg-dev libcurl4-openssl-dev libgmime-2.6-dev libh323plus-dev liblua5.2-dev libradcli-dev liburiparser-dev
rmudgett at mudtower:~/projects/asterisk/ws1/v13 (v13)$ 
{noformat}

Note that the script *will* install aptitude on debian systems if it isn't already installed even in test mode because the *script* needs aptitude to do its job.

The install_prereq script as written can install *all* dependencies it knows about for every module available if you tell it to.
{noformat}
rmudgett at mudtower:~/projects/asterisk/ws1/v13 (v13)$ contrib/scripts/install_prereq 
contrib/scripts/install_prereq: a script to install distribution-specific prerequirement
Revision: $Id$

Usage: contrib/scripts/install_prereq:                    Shows this message.
Usage: contrib/scripts/install_prereq test                Prints commands it is about to run.
Usage: contrib/scripts/install_prereq install             Really install.
Usage: contrib/scripts/install_prereq install-unpackaged  Really install unpackaged requirements.
rmudgett at mudtower:~/projects/asterisk/ws1/v13 (v13)$ 
{noformat}

You have marked this as a regression.  From which version is this a regression from?

> asterisk 13.19.0 with the bundled pjsip installation issues
> -----------------------------------------------------------
>
>                 Key: ASTERISK-27653
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27653
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.19.0
>         Environment: Centos 7 Server x86_64 on Google Cloud Platform
>            Reporter: Eddie Johnson
>              Labels: pjsip
>
> Issued the following command and received the following results:
> admin at asterisk-cloud-13190 asterisk-13.19.0]# ./configure --prefix=/usr --libdir=/usr/lib64 --with-pjproject-bundled
> configure: error: bzip2 is required to extract the pjproject tar file
> Next after installing bzip2 reissued the ./configure statement and received the following:
> admin at asterisk-cloud-13190 asterisk-13.19.0]# ./configure --prefix=/usr --libdir=/usr/lib64 --with-pjproject-bundled
> configure: error: patch is required to configure bundled pjproject
> Since I was able to untar asterisk-13.19.0-current.tar.gz I decided to run:
> ./install-preq test and received the following:
> #############################################
> ## test: test mode.
> ## Use the commands here to install your system.
> #############################################
> yum install -y patch unixODBC-devel libcurl-devel libogg-devel libvorbis-devel speex-devel spandsp-devel freetds-devel net-snmp-devel iksemel-devel corosynclib-devel popt-devel libtool-ltdl-devel lua-devel libsqlite3x-devel radiusclient-ng-devel portaudio-devel postgresql-devel libresample-devel neon-devel libical-devel openldap-devel gmime22-devel sqlite2-devel mysql-devel bluez-libs-devel jack-audio-connection-kit-devel gsm-devel libedit-devel jansson-devel libsrtp-devel pjproject-devel libxslt-devel python-devel
> All this was missing and would not allow me to configure asterisk bundled with pjsip
> Then I did the following:
> yum install -y patch unixODBC-devel libcurl-devel libogg-devel libvorbis-devel speex-devel 
> yum install -y patch spandsp-devel freetds-devel net-snmp-devel iksemel-devel 
> yum install -y patch corosynclib-devel popt-devel libtool-ltdl-devel
> yum install -y patch lua-devel libsqlite3x-devel radiusclient-ng-devel portaudio-devel
> yum install -y patch postgresql-devel libresample-devel neon-devel libical-devel
> yum install -y patch openldap-devel gmime22-devel sqlite2-devel
> yum install -y patch mysql-devel bluez-libs-devel jack-audio-connection-kit-devel
> yum install -y patch gsm-devel libedit-devel jansson-devel pjproject-devel
> yum install -y patch libxslt-devel python-devel
> Once this was complete I received the following after issuing the ./configure command again
> ./configure --prefix=/usr --libdir=/usr/lib64 --with-pjproject-bundled
> configure: Menuselect build configuration successfully completed
>                .$$$$$$$$$$$$$$$=..      
>             .$7$7..          .7$$7:.    
>           .$$:.                 ,$7.7   
>         .$7.     7$$$$           .$$77  
>      ..$$.       $$$$$            .$$$7 
>     ..7$   .?.   $$$$$   .?.       7$$$.
>    $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
>  .777.   .$$$$$$77$$$77$$$$$7.      $$$,
>  $$$~      .7$$$$$$$$$$$$$7.       .$$$.
> .$$7          .7$$$$$$$7:          ?$$$.
> $$$          ?7$$$$$$$$$$I        .$$$7 
> $$$       .7$$$$$$$$$$$$$$$$      :$$$. 
> $$$       $$$$$$7$$$$$$$$$$$$    .$$$.  
> $$$        $$$   7$$$7  .$$$    .$$$.   
> $$$$             $$$$7         .$$$.    
> 7$$$7            7$$$$        7$$$      
>  $$$$$                        $$$       
>   $$$$7.                       $$  (TM)     
>    $$$$$$$.           .7$$$$$$  $$      
>      $$$$$$$$$$$$7$$$$$$$$$.$$$$$$      
>        $$$$$$$$$$$$$$$$.                
> configure: Package configured for: 
> configure: OS type  : linux-gnu
> configure: Host CPU : x86_64
> configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu :
> configure: host-cpu:vendor:os: x86_64 : pc : linux-gnu :



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list