oza.4h07 at gmail.com Guest
|
Posted: Thu Aug 14, 2014 2:53 am Post subject: [asterisk-users] Asterisk 12 on Debian Wheezy [SOLVED] |
|
|
2014-08-13 19:06 GMT+02:00 Matthew Jordan <mjordan@digium.com>:
Quote: | On Wed, Aug 13, 2014 at 12:01 PM, Olivier <oza.4h07@gmail.com> wrote:
Quote: | After installing various packages, here is what I did:
TDIR=/usr/src
cd $TDIR
PJOPTIONS="--prefix=/usr --enable-shared --disable-sound
--disable-resample --disable-video --disable-opencore-amr"
git clone https://github.com/asterisk/pjproject pjproject
cd pjproject/
./configure ${PJOPTIONS}
make dep
make
make install
ldconfig
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12.4.0.tar.gz
tar zxf asterisk-12.4.0.tar.gz
cd asterisk-12.4.0
./configure | grep -i PJPROJECT
....
checking for PJPROJECT... no
A shot with make menuselect shows PJSIP is not available for Asterisk.
How can I help Asterisk's configure script to find PJPROJECT files
(such as /usr/lib/libpjmedia.so) ?
|
Does pkg-config find libpjproject?
$ pkg-config --list-all | grep libpjproject
Asterisk's configure script uses pkg-config - so if that can't find
it, Asterisk can't find it.
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
That was it: pkg-config was not installed.
I've been compiling Asterisk from source for years without installing
pkg-config !!
May I add that alternatively installing libpjproject-dev from
Wheezy-backports (with pkg-config) also allowed me to get PJSIP
available in Asterisk, according menuselect output.
Thank you everybody for your help !
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|