Hello,
I have problem of installing sphinx3-0.8 on my ubuntu 10.04 system. I have typed ./autogen.sh and make to compile it.
As I have typed 'make', it came out some errors:
Making all in src make: Entering directory /home/mark/sphinx_tutorial/sphinx3-0.8/src' Making all in libs3decoder make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder' Making all in libam make: Entering directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libam' make: Nothing to be done forall'. make: Leaving directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libam' Making all in libconfidence make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libconfidence' make: Nothing to be done for all'. make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libconfidence' Making all in libcommon make: Entering directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libcommon' make: Nothing to be done forall'. make: Leaving directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libcommon' Making all in libdict make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libdict' make: Nothing to be done for all'. make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libdict' Making all in libep make: Entering directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libep' make: Nothing to be done forall'. make: Leaving directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libep' Making all in liblm make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/liblm' make: Nothing to be done for all'. make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/liblm' Making all in libsearch make: Entering directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libsearch' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT vithist.lo -MD -MP -MF .deps/vithist.Tpo -c -o vithist.lo vithist.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT vithist.lo -MD -MP -MF .deps/vithist.Tpo -c vithist.c -fPIC -DPIC -o .libs/vithist.o vithist.c: In function ‘vithist_prune’: vithist.c:650: error: storage size of ‘h’ isn’t known vithist.c:650: warning: unused variable ‘h’ make: *** Error 1 make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libsearch' make: *** Error 1 make: Leaving directory /home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder' make: *** Error 1 make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src' make: *** Error 1
/home/mark/sphinx_tutorial/sphinx3-0.8/src' Making all in libs3decoder make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libam' make: Nothing to be done for
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libam' Making all in libconfidence make: Entering directory
all'. make: Leaving directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libcommon' make: Nothing to be done for
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libcommon' Making all in libdict make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libep' make: Nothing to be done for
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libep' Making all in liblm make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libsearch' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT vithist.lo -MD -MP -MF .deps/vithist.Tpo -c -o vithist.lo vithist.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT vithist.lo -MD -MP -MF .deps/vithist.Tpo -c vithist.c -fPIC -DPIC -o .libs/vithist.o vithist.c: In function ‘vithist_prune’: vithist.c:650: error: storage size of ‘h’ isn’t known vithist.c:650: warning: unused variable ‘h’ make: *** Error 1 make: Leaving directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder' make: *** Error 1 make: Leaving directory
Anyone know how to fix it?THANX
What sphinxbase are you using? How did you install it?
I have install sphinxbase-0.6 version and I have install it in the directory of sphinx3-0.8 by typing:
./autogen.sh make
and the problem came out!
Many thanks
I am having a similar issue. I have installed sphinxbase-0.7.
When I run make in the sphinx3 directory I get the following error:
make[3]: *** [vithist.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Any ideas?
Thanks, Reed
Hello
Sphinx3-0.8 is not compatible with recent sphinxbase. You either need to use older sphinxbase or download sphinx3 snapshot which compiles just fine.
What is the download link for sphinxbase which is compatible with Sphinx3-0.8
https://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.4.1/
Log in to post a comment.
Hello,
I have problem of installing sphinx3-0.8 on my ubuntu 10.04 system. I have
typed ./autogen.sh and make to compile it.
As I have typed 'make', it came out some errors:
Making all in src
make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src' Making all in libs3decoder make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder'Making all in libam
make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libam' make: Nothing to be done forall'.make: Leaving directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libam' Making all in libconfidence make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libconfidence'make: Nothing to be done for
all'. make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libconfidence'Making all in libcommon
make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libcommon' make: Nothing to be done forall'.make: Leaving directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libcommon' Making all in libdict make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libdict'make: Nothing to be done for
all'. make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libdict'Making all in libep
make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libep' make: Nothing to be done forall'.make: Leaving directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libep' Making all in liblm make: Entering directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/liblm'make: Nothing to be done for
all'. make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/liblm'Making all in libsearch
make: Entering directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libsearch' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT vithist.lo -MD -MP -MF .deps/vithist.Tpo -c -o vithist.lo vithist.c libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT vithist.lo -MD -MP -MF .deps/vithist.Tpo -c vithist.c -fPIC -DPIC -o .libs/vithist.o vithist.c: In function ‘vithist_prune’: vithist.c:650: error: storage size of ‘h’ isn’t known vithist.c:650: warning: unused variable ‘h’ make: *** Error 1 make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder/libsearch'make: *** Error 1
make: Leaving directory
/home/mark/sphinx_tutorial/sphinx3-0.8/src/libs3decoder' make: *** Error 1 make: Leaving directory/home/mark/sphinx_tutorial/sphinx3-0.8/src'make: *** Error 1
Anyone know how to fix it?THANX
What sphinxbase are you using? How did you install it?
I have install sphinxbase-0.6 version and I have install it in the directory
of sphinx3-0.8 by typing:
./autogen.sh
make
and the problem came out!
Many thanks
I am having a similar issue. I have installed sphinxbase-0.7.
When I run make in the sphinx3 directory I get the following error:
Any ideas?
Thanks,
Reed
Hello
Sphinx3-0.8 is not compatible with recent sphinxbase. You either need to use
older sphinxbase or download sphinx3 snapshot which compiles just fine.
What is the download link for sphinxbase which is compatible with Sphinx3-0.8
https://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.4.1/