<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Tried a build with a latest GIT, with PocketSphinx enabled, and get:<div><br></div><div><div>Creating mod_pocketsphinx.la... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>/bin/sed: can't read /usr/src/freeswitch/libs/pocketsphinx-0.7/../sphinxbase/src</div><div>/libsphinxbase/libsphinxbase.la: No such file or directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>quiet_libtool: link: `/usr/src/freeswitch/libs/pocketsphinx-0.7/../sphinxbase/sr</div><div>c/libsphinxbase/libsphinxbase.la' is not a valid libtool archive &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>cat: .libs/mod_pocketsphinx.log: No such&nbsp;</div><div>make[5]: *** [mod_pocketsphinx.la] Error 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div></div><div><br></div><div>I don't pretend to fully understand the build system, but the makefile seems to be trying to go to libs/sphinxbase for files, when that directory doesn't exist. The currently downloaded version of sphinxbase has the version appended to the directory name, as in sphinxbase-0.7. The Sphinx readme warns that the root should be named sphinxbase.</div><div><br></div><div>I did:</div><div><br></div><div>ln -s sphinxbase-0.7 sphinxbase</div><div><br></div><div>and the build finished without problems.</div><div><br></div><div>PocketSphinx works fine on a hardware phone using ULAW, but, when I use a softphone with 16Khz Speex, it doesn't. Instead, I get this</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal 'Courier New'; ">2011-07-27 21:43:14.651803 [WARNING] mod_pocketsphinx.c:147 Can't open speech model /usr/local/freeswitch/grammar/model/wsj1.</div></div><div><br></div><div>The only item in the model directory is communicator. I thought wsj1 was the old model. What in Freeswitch would try to use wsj1 over communicator based on the codec/rate? The mod_pocketsphinx wiki page says that 16Khz is a supported sampling rate, so I'm guessing that there is a special reason why Speex doesn't work, or else that this is a bug.</div><div><br></div><div>Bryan</div><div><br></div></body></html>