<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7834">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">install_prereq: For PJProject, use latest release rather than GIT.<br><br>The maintainers of PJProject (Teluu) provide a GIT mirror. However, that is just<br>a mirror of their Subversion. Furthermore recently, that mirror is updated only<br>infrequently. Finally, the state of their Subversion is sometimes incompatible<br>with Asterisk. Therefore, the last release version is used a source.<br><br>ASTERISK-27555<br><br>Change-Id: Icbf4b562f81f7c05bd24a3805bd46c0beb4ebd44<br>---<br>M contrib/scripts/install_prereq<br>1 file changed, 10 insertions(+), 12 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/34/7834/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq<br>index c4b91f6..09c56f1 100755<br>--- a/contrib/scripts/install_prereq<br>+++ b/contrib/scripts/install_prereq<br>@@ -142,7 +142,7 @@<br> echo "*** Installing NBS (Network Broadcast Sound) ***"<br> svn co http://svn.digium.com/svn/nbs/trunk nbs-trunk<br> cd nbs-trunk<br>- make && make install<br>+ make all install<br> cd ..<br> <br> # Only install libresample if it wasn't installed via package<br>@@ -150,7 +150,8 @@<br> echo "*** Installing libresample ***"<br> svn co http://svn.digium.com/svn/thirdparty/libresample/trunk libresample-trunk<br> cd libresample-trunk<br>- ./configure && make && make install<br>+ ./configure<br>+ make all install<br> cd ..<br> fi<br> <br>@@ -159,7 +160,8 @@<br> echo "*** Installing jansson ***"<br> wget -O - http://www.digip.org/jansson/releases/jansson-${JANSSON_VER}.tar.gz | zcat | tar -xf -<br> cd jansson-${JANSSON_VER}<br>- ./configure && make all && make install<br>+ ./configure<br>+ make all install<br> cd ..<br> echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf<br> /sbin/ldconfig<br>@@ -172,7 +174,7 @@<br> wget -O - http://github.com/cisco/libsrtp/archive/v2.tar.gz | zcat | tar -xf -<br> cd libsrtp-2<br> ./configure --enable-openssl<br>- make shared_library uninstall install<br>+ make shared_library install<br> cd ..<br> echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf<br> /sbin/ldconfig<br>@@ -182,14 +184,10 @@<br> # Only install pjproject if it wasn't installed via package<br> if ! test -f /usr/include/pjlib.h; then<br> echo "*** Installing pjproject ***"<br>- if [ ! -d pjproject ]; then<br>- git clone https://github.com/asterisk/pjproject.git<br>- cd pjproject<br>- else<br>- cd pjproject<br>- git pull<br>- fi<br>- ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared --with-external-speex --with-external-gsm --with-external-srtp --disable-sound --disable-resample && make && make install<br>+ wget -O - http://www.pjsip.org/release/latest/pjproject.tar.bz2 | bzip2 -d | tar -xf -<br>+ cd pjproject*<br>+ ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared --with-external-speex --with-external-gsm --with-external-srtp --disable-sound --disable-resample<br>+ make dep all install<br> cd ..<br> echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf<br> /sbin/ldconfig<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7834">change 7834</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7834"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Icbf4b562f81f7c05bd24a3805bd46c0beb4ebd44 </div>
<div style="display:none"> Gerrit-Change-Number: 7834 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>