Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
e36baaa3
Commit
e36baaa3
authored
7 years ago
by
Jenkins2
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "install_prereq: For PJProject, point users to configure script."
parents
7ce34f4e
fd557ad0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/scripts/install_prereq
+8
-17
8 additions, 17 deletions
contrib/scripts/install_prereq
with
8 additions
and
17 deletions
contrib/scripts/install_prereq
+
8
−
17
View file @
e36baaa3
...
...
@@ -147,7 +147,7 @@ install_unpackaged() {
echo
"*** Installing NBS (Network Broadcast Sound) ***"
svn co http://svn.digium.com/svn/nbs/trunk nbs-trunk
cd
nbs-trunk
make
&&
make
install
make
all
install
cd
..
# Only install libresample if it wasn't installed via package
...
...
@@ -155,7 +155,8 @@ install_unpackaged() {
echo
"*** Installing libresample ***"
svn co http://svn.digium.com/svn/thirdparty/libresample/trunk libresample-trunk
cd
libresample-trunk
./configure
&&
make
&&
make
install
./configure
make all
install
cd
..
fi
...
...
@@ -164,7 +165,8 @@ install_unpackaged() {
echo
"*** Installing jansson ***"
wget
-O
- http://www.digip.org/jansson/releases/jansson-
${
JANSSON_VER
}
.tar.gz | zcat |
tar
-xf
-
cd
jansson-
${
JANSSON_VER
}
./configure
&&
make all
&&
make
install
./configure
make all
install
cd
..
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
...
...
@@ -177,27 +179,16 @@ install_unpackaged() {
wget
-O
- http://github.com/cisco/libsrtp/archive/v2.tar.gz | zcat |
tar
-xf
-
cd
libsrtp-2
./configure
--enable-openssl
make shared_library
uninstall
install
make shared_library
install
cd
..
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
fi
fi
# Only install pjproject if it wasn't installed via package
if
!
test
-f
/usr/include/pjlib.h
;
then
echo
"*** Installing pjproject ***"
if
[
!
-d
pjproject
]
;
then
git clone https://github.com/asterisk/pjproject.git
cd
pjproject
else
cd
pjproject
git pull
fi
./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
cd
..
echo
"/usr/local/lib"
>
/etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig
echo
"PJProject not installed, yet. Therefore, please, run"
echo
"./configure --with-pjproject-bundled"
fi
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment