Hello,
I am following the tutorial to create an acoustic model (https://cmusphinx.github.io/wiki/tutorialam/) using the sample training database, an4. I am trying to configure sphinxbase by running the configure script using the following command.
PYTHON=python3.6 ./configure LDFLAGS="-L/lib/python3.6/"
However, I obtained the following error.
configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
I am using the 64-bit version of Cygwin on Windows 7 Professional. I used the Cygwin installer to install the Python 2.7 and 3.6.
How can I solve this error?
Attached is the log file.
Cygwin is always a very bad idea. Use Linux.
Thank you for your help. I am now using Linux Mint 12. I was able to run configure without error, but I obtained the following error when I ran make.
libtool: link: cannot find the library `Sphinx/tutorial/sphinxbase/src/libsphinxbase/libsphinxbase.la' or unhandled argument `Sphinx/tutorial/sphinxbase/src/libsphinxbase/libsphinxbase.la' make[2]: *** [sphinx_pitch] Error 1 make[2]: Leaving directory `/home/xxxxxxxxxx/Documents/CMU Sphinx/tutorial/sphinxbase/src/sphinx_adtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/xxxxxxxxxx/Documents/CMU Sphinx/tutorial/sphinxbase/src' make: *** [all-recursive] Error 1
What can I do to fix this error?
I figured it out. I had a space in my directory.
Log in to post a comment.
Hello,
I am following the tutorial to create an acoustic model (https://cmusphinx.github.io/wiki/tutorialam/) using the sample training database, an4. I am trying to configure sphinxbase by running the configure script using the following command.
However, I obtained the following error.
I am using the 64-bit version of Cygwin on Windows 7 Professional. I used the Cygwin installer to install the Python 2.7 and 3.6.
How can I solve this error?
Last edit: kmc100 2018-06-27
Attached is the log file.
Cygwin is always a very bad idea. Use Linux.
Thank you for your help. I am now using Linux Mint 12. I was able to run configure without error, but I obtained the following error when I ran make.
What can I do to fix this error?
I figured it out. I had a space in my directory.