Re: [asterisk-users] Speex problem installing on CentOS 5.3
Steve Totaro wrote: On Thu, Jun 18, 2009 at 12:46 PM, Brent Davidson br...@texascountrytitle.com mailto:br...@texascountrytitle.com wrote: John A. Sullivan III wrote: 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: [r...@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 5 /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): [r...@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 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. Good luck, -Brent 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. 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. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Speex problem installing on CentOS 5.3
John A. Sullivan III wrote: 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: [r...@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 5 /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): [r...@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 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. Good luck, -Brent ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Speex problem installing on CentOS 5.3
On Thu, Jun 18, 2009 at 12:41:39PM -0400, John A. Sullivan III wrote: [r...@pbx01 ~]# rpm -qa | grep speex speex-devel-1.0.5-4.el5_1.1 speex-1.0.5-4.el5_1.1 That is too old a version. speex 1.1.x will happen to work. 1.0.x will not have the newer DSP interface. It does have the basic Speex codec functionality. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Speex problem installing on CentOS 5.3
On Thu, 2009-06-18 at 19:58 +0300, Tzafrir Cohen wrote: On Thu, Jun 18, 2009 at 12:41:39PM -0400, John A. Sullivan III wrote: [r...@pbx01 ~]# rpm -qa | grep speex speex-devel-1.0.5-4.el5_1.1 speex-1.0.5-4.el5_1.1 That is too old a version. speex 1.1.x will happen to work. 1.0.x will not have the newer DSP interface. It does have the basic Speex codec functionality. Ah, OK. I'll see if I can find a newer RPM so I can maintain some kind of package version control. If not, I'll install from source as Brent recommended. Thanks - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsulli...@opensourcedevel.com http://www.spiritualoutreach.com Making Christianity intelligible to secular society ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Speex problem installing on CentOS 5.3
On Thu, Jun 18, 2009 at 12:46 PM, Brent Davidson br...@texascountrytitle.com wrote: John A. Sullivan III wrote: 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: [r...@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 5 /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): [r...@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 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. Good luck, -Brent 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. -- Thanks, Steve Totaro +18887771888 (Toll Free) +12409381212 (Cell) +12024369784 (Skype) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Speex problem installing on CentOS 5.3
On Thu, 2009-06-18 at 13:17 -0400, Steve Totaro wrote: On Thu, Jun 18, 2009 at 12:46 PM, Brent Davidson br...@texascountrytitle.com wrote: John A. Sullivan III wrote: 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: [r...@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 5 /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): [r...@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 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. Good luck, -Brent 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. snip Alas not. That is, in effect, what I first tried. From what I can tell, it is against RedHat policy to issue RPMs for the newer versions (I'm guessing because it is still rc rather than ga). I just installed from source and, once I remembered to add /usr/local/lib to ldconfig, it all config'd, compiled, and loaded just fine. Thanks, all -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsulli...@opensourcedevel.com http://www.spiritualoutreach.com Making Christianity intelligible to secular society ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users