hello ;
I've installed sphinx3 in cygwin to get** sphinx3_align and sphinx3_decode ** in many efforts but I face some errors
First : I installed sphinxbase (0.8 ) and sphinx3 (0.8 )
sphinxbase installed ; no any problem , but when install sphinx3 I have this error
fsg_history.c:58:21: fatal error: libutil.h: No such file or directory
#include "libutil.h"
^
compilation terminated.
Makefile:331: recipe for target 'fsg_history.lo' failed
make[3]: *** [fsg_history.lo] Error 1
make[3]: Leaving directory '/home/User/sphinx3/src/libs3decoder/libsearch'
Makefile:302: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/User/sphinx3/src/libs3decoder'
Makefile:231: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/User/sphinx3/src'
Makefile:320: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Second : I installed trunk version sphinxbase and sphinx3
sphinxbase installed , although I get this warning : libtool: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries; building static only
, But when install sphinx3 I have this error
Nickola V. Shmyrev : i downloaded sphinxbase and sphinx3 via subversion , i installed sphinxbase in cygwin everything goes fine , but when i install sphinx3 i get thise
./autogen.sh
./autogen.sh: line 3: $'\r': command not found
./autogen.sh: line 6: $'\r': command not found
./autogen.sh: line 8: $'\r': command not found
./autogen.sh: line 10: $'\r': command not found
./autogen.sh: line 12: $'echo\r': command not found Error: You must have autoconf' installed to.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/
./autogen.sh: line 17: $'}\r': command not found
./autogen.sh: line 18: $'\r': command not found
/configure.ac: No such file or directory
./autogen.sh: line 22: syntax error near unexpected tokenelif'
./autogen.sh: line 22: ` elif glibtoolize --version /dev/null 2>&1;'then
how to fix this problem ?? , although i install autoconf the problem didnt solve !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
**Note : ** when installed sphinxbase everything goes fine ,although I get this warning : libtool: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries; building static only .
Hoe to fix this peoblem ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello ;
I've installed sphinx3 in cygwin to get** sphinx3_align and sphinx3_decode ** in many efforts but I face some errors
First : I installed sphinxbase (0.8 ) and sphinx3 (0.8 )
sphinxbase installed ; no any problem , but when install sphinx3 I have this error
fsg_history.c:58:21: fatal error: libutil.h: No such file or directory
#include "libutil.h"
^
compilation terminated.
Makefile:331: recipe for target 'fsg_history.lo' failed
make[3]: *** [fsg_history.lo] Error 1
make[3]: Leaving directory '/home/User/sphinx3/src/libs3decoder/libsearch'
Makefile:302: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/User/sphinx3/src/libs3decoder'
Makefile:231: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/User/sphinx3/src'
Makefile:320: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Second : I installed trunk version sphinxbase and sphinx3
sphinxbase installed , although I get this warning : libtool: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries; building static only
, But when install sphinx3 I have this error
libtool: link: gcc -I../../include -I../../include -g -O2 -Wall -fvisibility=hidden -o .libs/sphinx3_decode.exe main_decode.o ../../src/libs3decoder/.libs/libs3decoder.a -lsphinxbase -lsphinxad
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lsphinxbase
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lsphinxad
collect2: error: ld returned 1 exit status
Makefile:493: recipe for target 'sphinx3_decode.exe' failed
make[2]: *** [sphinx3_decode.exe] Error 1
make[2]: Leaving directory '/home/User/sphinx3/src/programs'
Makefile:350: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/User/sphinx3/src'
Makefile:488: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
How to fix this errrors ??? or can anyone share sphin3_align and sphinx3_decode ???
I highly appreciate your cooperation and assistance.
Thank
sphinx3-0.8 is not compatible with sphinxbase-0.8
You need to check out latest sphinx3 and sphinxbase from subversion if you want to use them.
thank you Nickolay V. Shmyrev ; give me link contain subversion of sphinx3 and sphinxbase to download it
https://sourceforge.net/p/cmusphinx/code/HEAD/tree/trunk/
You need to use subversion to download it, check http://subversion.org
Nickola V. Shmyrev : i downloaded sphinxbase and sphinx3 via subversion , i installed sphinxbase in cygwin everything goes fine , but when i install sphinx3 i get thise
./autogen.sh
./autogen.sh: line 3: $'\r': command not found
./autogen.sh: line 6: $'\r': command not found
./autogen.sh: line 8: $'\r': command not found
./autogen.sh: line 10: $'\r': command not found
./autogen.sh: line 12: $'echo\r': command not found
Error: You must have
autoconf' installed to. Download the appropriate package for your distribution, or get the source tarball at ftp://ftp.gnu.org/pub/gnu/ ./autogen.sh: line 17: $'}\r': command not found ./autogen.sh: line 18: $'\r': command not found /configure.ac: No such file or directory ./autogen.sh: line 22: syntax error near unexpected tokenelif'./autogen.sh: line 22: ` elif glibtoolize --version /dev/null 2>&1;'then
how to fix this problem ?? , although i install autoconf the problem didnt solve !
Please make sure you do not have windows-style \r\n newlines when you checkout code in cygwin. It should be subversion setting. Also see
http://stackoverflow.com/questions/18608380/r-command-not-found
@Nickolay V.Shmyrev : Thank You , I solved problem , but when command Make i get this erore
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lsphinxbase
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lsphinxad
collect2: error: ld returned 1 exit status
Makefile:493: recipe for target 'sphinx3_decode.exe' failed
make[2]: *** [sphinx3_decode.exe] Error 1
make[2]: Leaving directory '/home/User/sphinx3/src/programs'
Makefile:350: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/User/sphinx3/src'
Makefile:488: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
**Note : ** when installed sphinxbase everything goes fine ,although I get this warning : libtool: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries; building static only .
Hoe to fix this peoblem ??