[Asterisk-code-review] Scripts: check file versions of Asterisk and dependencies (asterisk[13])

Kevin Harwell asteriskteam at digium.com
Thu Sep 17 17:55:07 CDT 2015


Kevin Harwell has posted comments on this change.

Change subject: Scripts: check file versions of Asterisk and dependencies
......................................................................


Patch Set 4: Code-Review-1

I tried running this and ran into a problem. I have asterisk installed in a non default directory.

It failed when giving it a prefix and exec path. It could not find asterisk. Here is the command and output:

./astversion.sh --prefix=/opt/asterisk/13 --exec=/opt/asterisk/13/sbin/asterisk
ERROR: the Asterisk executable is not found or not executable at opt/asterisk/13/sbin/asterisk

Also when running with just a prefix command the output seems a bit wrong as well (for instance see "Using Asterisk executable" in the following command and output):

./astversion.sh --prefix=/opt/asterisk/13
### WARNING: duplicate libraries found: /usr/lib/libasteriskssl.so.1 /opt/asterisk/13/lib/libasteriskssl.so.1
Checking Asterisk versions on triton at Thu Sep 17 17:51:52 CDT 2015
Using Asterisk executable: /usr/sbin/asterisk
Installed version: Asterisk GIT-master-e473967M
Asterisk is not running - more details are available when running.
Dahdi kernel module is not installed
Dahdi tools are not installed
Located /usr/sbin/asterisk compiled from /home/kharwell/src/asterisk/master/main
Located /usr/lib/libasteriskssl.so.1 compiled from /home/kharwell/src/asterisk/master/main
Located /opt/asterisk/13/lib/libasteriskssl.so.1 compiled from /home/kharwell/src/asterisk/13/main
Located 66 files compiled from /home/kharwell/src/asterisk/13/apps
Located 6 files compiled from /home/kharwell/src/asterisk/13/bridges
Located 10 files compiled from /home/kharwell/src/asterisk/13/cdr
Located 7 files compiled from /home/kharwell/src/asterisk/13/cel
Located 13 files compiled from /home/kharwell/src/asterisk/13/channels
Located 11 files compiled from /home/kharwell/src/asterisk/13/codecs
Located 17 files compiled from /home/kharwell/src/asterisk/13/formats
Located 52 files compiled from /home/kharwell/src/asterisk/13/funcs
Located 7 files compiled from /home/kharwell/src/asterisk/13/pbx
Located 120 files compiled from /home/kharwell/src/asterisk/13/res

WARNING: source of the following files was not found:
     ### /usr/lib/libspandsp.so.2 - /home/kharwell/src/spandsp-0.0.6/src	
     ### /usr/lib/libpjsip.so.2 - /home/kharwell/src/pjproject-asterisk/pjsip/build

-- 
To view, visit https://gerrit.asterisk.org/1197
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib0642d0fb96712476f59760d6d137a24633fe2d6
Gerrit-PatchSet: 4
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Scott Griepentrog <sgriepentrog at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Scott Griepentrog <sgriepentrog at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list