Summary: | ASTERISK-27653: asterisk 13.19.0 with the bundled pjsip installation issues | ||
Reporter: | Eddie Johnson (ejohnson) | Labels: | pjsip |
Date Opened: | 2018-02-01 14:01:37.000-0600 | Date Closed: | 2018-02-02 08:45:11.000-0600 |
Priority: | Major | Regression? | Yes |
Status: | Closed/Complete | Components: | pjproject/pjsip |
Versions: | 13.19.0 | Frequency of Occurrence | One Time |
Related Issues: | |||
Environment: | Centos 7 Server x86_64 on Google Cloud Platform | Attachments: | |
Description: | Issued the following command and received the following results:
admin@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@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 : | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-02-01 14:01:38.511-0600 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: George Joseph (gjoseph) 2018-02-02 08:45:11.334-0600 I thought there was an actual issue with install_prereq but I guess not. By: Eddie Johnson (ejohnson) 2018-02-03 11:06:56.002-0600 There is an issue. I repeated the same procedures for Ubuntu 16.04 and after running install_prereq test, it listed the missing packages and automatically installed them without me having to hit the enter key or cut plus paste the output. In Centos 7 Server this does not happen. I By: Asterisk Team (asteriskteam) 2018-02-03 11:06:56.268-0600 This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable. By: Richard Mudgett (rmudgett) 2018-02-04 16:58:45.676-0600 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@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@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@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@mudtower:~/projects/asterisk/ws1/v13 (v13)$ {noformat} You have marked this as a regression. From which version is this a regression from? By: Eddie Johnson (ejohnson) 2018-02-05 14:03:25.485-0600 Richard, If you do not see an issue then you do not. I created 4 separate instances on Google Cloud (2) of the instances are Ubuntu 16.04 and (2) are Centos 7 Server. What I know and experience is after untarring the asterisk versions and running the install_prereq test on all 4 servers. On the Ubuntu Servers after listing missing the packages the packages install automatically for me without any key input. The Centos Servers I did a cut and paste of the missing packages. After the cut and paste it still did not install all the packages simultaneously. I had to truncate the install line so all the packages could install which is what you see listed. If you write it is not an issue I am good with your comment. Personally, I am going to write my own python asterisk install script and that will take care of this issue for me personally. Kind regards, Ed By: Chris Savinovich (csavinovich) 2018-02-06 15:03:07.253-0600 This is normal behavior. Inherently it might not be possible to create an install all script. ./configure asking you occasionally for additional packages is not an unexpected behavior. By: Eddie Johnson (ejohnson) 2018-02-06 15:29:39.577-0600 Chris, That is not the issue. Issuing the ./configure line syntax command in Centos 7 Server is not accepted when doing an Ubuntu installation. This was addressed and I was asked to not use certain tags after the ./configure command and asterisk configured properly on Ubuntu 16.04. By: Asterisk Team (asteriskteam) 2018-02-06 15:29:39.783-0600 This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable. By: Richard Mudgett (rmudgett) 2018-02-06 15:35:33.317-0600 Do you have any output showing it installed modules when you ran the script in test mode? In test mode it executes the echo command with the normal command as the parameters. By: Asterisk Team (asteriskteam) 2018-02-21 12:00:01.279-0600 Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1]. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines |