AaronZhangL / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

Problem installing #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. At run ./configure.sh as:
 ./configure --enable-pocketsphinx-plugin
--with-pocketsphinx=/usr/local/share/pocketsphinx/
--with-sphinxbase=/usr/local/include/sphinxbase

The script tell me that options are unrecognized, and when I want to
configure with pocketsphinx I haven't got pocketsphinx.xml file.

Thanks

Original issue reported on code.google.com by abel.za...@gmail.com on 21 Jul 2009 at 9:24

GoogleCodeExporter commented 9 years ago
Please note, --with-pocketsphinx and --with-sphinxbase options should point to 
either
source or installed directories of pocketsphinx and sphinxbase libraries 
respectively.
By default, both libraries are installed in /usr/local. If you want to use the
installed dir, you should specify the options as follows
 ./configure --enable-pocketsphinx-plugin
--with-pocketsphinx=/usr/local
--with-sphinxbase=/usr/local

The ./configure will try to find appropriate pkg-config files pocketsphinx.pc 
and
sphinxbase.pc and extract the required information from them.

For more info see
build/acmacros/pocketsphinx.m4
build/acmacros/sphinxbase.m4

Original comment by achalo...@gmail.com on 21 Jul 2009 at 11:35

GoogleCodeExporter commented 9 years ago
I type this:
./configure --enable-pocketsphinx-plugin
--with-pocketsphinx=/usr/local/share/pocketsphinx/
--with-sphinxbase=/usr/local/include/sphinxbase

from $HOME/unimrcp-0.6.0 and my stderr output is:
configure: WARNING: unrecognized options: --enable-pocketsphinx-plugin,
--with-pocketsphinx, --with-sphinxbase
configure: WARNING: not found - looked for /opt/swift
configure: WARNING: unrecognized options: --enable-pocketsphinx-plugin,
--with-pocketsphinx, --with-sphinxbase

I don't understand it, so I'm going crazy with it

Thanks again

Original comment by abel.za...@gmail.com on 21 Jul 2009 at 11:40

GoogleCodeExporter commented 9 years ago
I'm afraid you are using unimrcp-0.6.0 (r930), while pocketsphinx's installation
guide clearly states >= r1030 is required.
Either use SVN trunk or wait a bit, I'm going to release the next 0.7.0 version
during the days.

Original comment by achalo...@gmail.com on 21 Jul 2009 at 12:04

GoogleCodeExporter commented 9 years ago
Yes, It's true, I was using r930. Now I'm trying with 1055 and I have another 
problem
with "sudo make install":

/usr/bin/install: no se puede efectuar `stat' sobre «/hmm/wsj1/*»: No existe 
el
fichero ó directorio
/usr/bin/install: no se puede efectuar `stat' sobre «/lm/cmudict.0.6d»: No 
existe el
fichero ó directorio

Can you help me also with this?

Thanks again

Original comment by abel.za...@gmail.com on 21 Jul 2009 at 12:31

GoogleCodeExporter commented 9 years ago
Try specifying source dirs of pocketsphinx and sphinxbase instead. I'll try to 
look 
into this closer later.

Original comment by achalo...@gmail.com on 21 Jul 2009 at 3:25

GoogleCodeExporter commented 9 years ago
Now, I can install and configure it (I think). But I don't know how to interact 
with
pocketsphinx, do you have any demo with I can work on?

Thank you

Original comment by abel.za...@gmail.com on 21 Jul 2009 at 3:35

GoogleCodeExporter commented 9 years ago
You can use demo unimrcpclient application (run recog), but you have to modify
grammar.xml file in order to supply JSGF grammar, as this is the only grammar
pocketsphinx supports.
Another option is to use FreeSWITCH IVR (www.freeswitch.org), which utilizes 
UniMRCP
client stack.

Original comment by achalo...@gmail.com on 22 Jul 2009 at 6:25

GoogleCodeExporter commented 9 years ago
I've fixed (r1097) the issue described in Comment 4, where you configured 
unimrcp to
use installed pocketsphinx. Even in this case "make install" shouldn't fail, but
install what is actually available.
I see no issue for the rest, and hope you have already managed to interact with
pocketsphinx.

Original comment by achalo...@gmail.com on 24 Aug 2009 at 6:12

GoogleCodeExporter commented 9 years ago
I think this issue has been clarified and verified now.

Original comment by achalo...@gmail.com on 5 Oct 2009 at 4:25