<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Steve Totaro wrote:
<blockquote
id="mid_ea18e54a0906181017m231a226ew6d68cd999a47e44c_mail_gmail_com"
cite="mid:ea18e54a0906181017m231a226ew6d68cd999a47e44c@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Thu, Jun 18, 2009 at 12:46 PM, Brent
Davidson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:brent@texascountrytitle.com">brent@texascountrytitle.com</a>></span>
wrote:<br>
<blockquote id="StationeryCiteGenerated_1" class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<div class="im">John A. Sullivan III wrote:
</div>
<div>
<div class="h5">
<blockquote id="StationeryCiteGenerated_2" type="cite">
<pre>Hello, all. I am delightfully slogging my way through installing and
configuring Asterisk 1.6.1.1 on CentOS 5.3. I'm learning lots and
admiring the product but I'm having a problem getting speex to install
and I would very much like to use it. It is not available in menuselect
and the problem appears to be with speex_preprocess_ctl:
[root@pbx01 asterisk-1.6.1.1]# grep -i speex config.log
configure:43813: checking for speex_encode in -lspeex
configure:43848: gcc -o conftest -g -O2 conftest.c -lspeex -lm >&5
configure:43906: checking speex/speex.h usability
configure:43947: checking speex/speex.h presence
configure:44015: checking for speex/speex.h
configure:44076: checking for speex_preprocess_ctl in -lspeex
configure:44111: gcc -o conftest -g -O2 conftest.c -lspeex -lm >&5
/home/compuser/Asterisk/asterisk-1.6.1.1/conftest.c:306: undefined
reference to `speex_preprocess_ctl'
| #define HAVE_SPEEX 1
| #define HAVE_SPEEX_VERSION
| char speex_preprocess_ctl ();
| return speex_preprocess_ctl ();
configure:44341: checking for speex_preprocess_ctl in -lspeexdsp
configure:44376: gcc -o conftest -g -O2 conftest.c -lspeexdsp -lm
</pre>
<blockquote id="StationeryCiteGenerated_3" type="cite">
<pre>&5
</pre>
</blockquote>
<pre>/usr/bin/ld: cannot find -lspeexdsp
| #define HAVE_SPEEX 1
| #define HAVE_SPEEX_VERSION
| char speex_preprocess_ctl ();
| return speex_preprocess_ctl ();
Internet searches have only further confused the issue for me. It seems
this is part of libspeex which in the RedHat world is provided by the
speex-devel package (which I have installed):
[root@pbx01 ~]# rpm -qa | grep speex
speex-devel-1.0.5-4.el5_1.1
speex-1.0.5-4.el5_1.1
What is the magic to make speex available to Asterisk on CentOS 5.3? Or
am I stuck having to uninstall the speex packages and install speex from
source? Thanks - John
</pre>
</blockquote>
<br>
</div>
</div>
I ended up having to install from source. There are apparently bits of
speex that are not included in the RPM's. It's a farily simple install
though.<br>
<br>
Good luck,<br>
-Brent<br>
</div>
<br>
</blockquote>
<div><br>
I am curious if a "yum -y install speex*" would have worked for you? I
will give it a try on my next 5.3 box.<br>
</div>
</div>
<br>
</blockquote>
That was the first thing I tried before trying yum -y install
speex-devel There was always some link or library missing or possibly
just in a non-standard location. Installing from source I just did a
configure, make, and make install then all was good.<br>
</body>
</html>