This is how I got pocketsphinx working on an Ubuntu box:

Downloaded latest SVN snapshots of sphinxbase and pocketsphinx from http://cmusphinx.sourceforge.net/wiki/download/ to the libs directory of the FreeSWITCH source.
Unpacked the files and named the directories pocketsphinx-0.7 and sphinxbase-0.7.
Run ./autogen.sh in sphinxbase-0.7
Run make mod_pocketsphinx in the root directory of the source
Run ./authogen.sh in pocketsphinx-0.7
Run make mod_pocketsphinx in the root directory of the source
cp libs/sphinxbase-0.7/src/libsphinxad/.libs/libsphinxad.so* /usr/local/freeswitch/lib/
cp libs/sphinxbase-0.7/src/libsphinxbase/.libs/libsphinxbase.so* /usr/local/freeswitch/lib/
Run make mod_pocketsphinx-install in the root directory of the source

Hope this helps.

Jan Kubr

On Mon, Jun 20, 2011 at 5:22 PM, Jan Berger <jan.berger@video24.no> wrote:

You can also use pocketsphinx through uniMRCP according to their website. I have not tried it myself yet but I will a bit later.

 

Jan

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Bryan Lemon
Sent: 19. juni 2011 22:47
To: freeswitch-users
Subject: [Freeswitch-users] Loading Pocketsphinx

 

Whenever I try to load the pocketsphinx module, either on startup, or with the load mod_pocketsphinx command, I get the following error:

freeswitch@bryanlemon-laptop> load mod_pocketsphinx

2011-06-19 15:17:04.471275 [INFO] mod_enum.c:775 ENUM Reloaded

2011-06-19 15:17:04.471275 [INFO] switch_time.c:1020 Timezone reloaded 530 definitions

 

+OK Reloading XML

-ERR [module load file routine returned an error]

 

2011-06-19 15:17:04.471275 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_pocketsphinx.so

**/usr/local/freeswitch/mod/mod_pocketsphinx.so: undefined symbol: feat_init**

 

 

I am running Ubuntu 10.04, and installed freeswitch using the git method. I tried a git pull && make current, and it runs through with no problem. 

 

Any Ideas?

Thank you,
Bryan Lemon


_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org