[Home]

Summary:ASTERISK-16152: Asterisk cannot see Jack compiled from source -- DEBIAN
Reporter:Motiejus Jakstys (motiejus)Labels:
Date Opened:2010-05-26 07:35:01Date Closed:2011-06-07 14:10:21
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Applications/app_jack
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Jack is compiled from source (0.118) in /usr (jackd ./configure --prefix=/usr), but menuselect says "XXX" for it (cannot enable it).

motiejus@pbx3:/$ strings /etc/ld.so.cache | cgrep jack
libjackserver.so.0
/usr/lib/libjackserver.so.0
libjackserver.so
/usr/lib/libjackserver.so
libjack.so.0
/usr/lib/libjack.so.0
libjack.so
/usr/lib/libjack.so


When I run in asterisk source dir: ./configure --disable-xmldoc,
output has this line:
checking for jack/jack.h... yes

however, make menuselect shows XXX app_jack

****** ADDITIONAL INFORMATION ******

Also tried the following, both did not work:
jack:
./configure --prefix=/usr && make && sudo make install
./configure --disable-xmldoc && make menuselect - same problem (XXX app_jack)

Jack installed in /usr/local/
./configure --prefix=/usr/local && make menuselect - same problem (XXX app_jack)

ran "make" without changing (and having ability to change anything) in
menuselect, but app_jack.so didn't appear:
motiejus@pbx3:/usr/src/asterisk-1.6.2.7$ ls -l `find | grep jack`
-rw-r--r-- 1 motiejus motiejus 27378 2008-12-15 16:40 ./apps/app_jack.c
-rw-r--r-- 1 motiejus motiejus     0 2010-05-26 15:12 ./apps/.app_jack.makeopts
-rw-r--r-- 1 motiejus motiejus   166 2010-05-26 15:12
./apps/.app_jack.moduleinfo
motiejus@pbx3:/usr/src/asterisk-1.6.2.7$

System information:
motiejus@pbx3:/usr/src/asterisk-1.6.2.7$ uname -a
Linux pbx3 2.6.18.8-xenU #2 SMP Thu Apr 29 15:55:34 EEST 2010 x86_64 GNU/Linux
motiejus@pbx3:/usr/src/asterisk-1.6.2.7$ cat /etc/debian_version
5.0.4

Full asterisk configure log: http://paste.ubuntu.com/439830/
P.S. jack 0.109.2 (default debian repos) works fine.
Comments:By: Leif Madsen (lmadsen) 2010-05-27 09:03:24

Do you have libresample installed? I have a feeling you have missed a dependency. If you look at the source file for app_jack.c you will see the link to the repository that has libresample.

By: Paul Belanger (pabelanger) 2010-05-27 09:20:30

I would also post your config.log for your failure.

By: Leif Madsen (lmadsen) 2010-05-27 11:04:00

I'm reasonably convinced this is not a bug and rather is a configuration error. Please utilize the asterisk-users mailing list or #asterisk IRC channel on the Freenode network.

Closing this issue.

By: Leif Madsen (lmadsen) 2010-07-22 13:05:47

Per the mailing list on asterisk-users, Re: [asterisk-users] Jack in /usr/local/ means failure for asterisk, on May 31, 2010:

"Just needed to install libresample1 and libresample1-dev and all worked great."


User was missing a dependency.