Closed dhuv closed 6 years ago
Hi, I'm also meet this issue, later, I try to build step by step follow commands in install.sh and I found this two lines cause the problem.
When I skip these two commands (in clean build), it works...
The problem I ran into here were 2 things.
These problem are in the Kaldi repo so I will request changes to be made there.
Looks like these changes were indeed fixed in Kaldi - but the commit in the submodule of this project is out of date with those fixes. Is it possible to get a commit bump in the kaldi submodule?
Build kaldi need package gfortran And I use command "sudo apt install gfortran" then i have kaldi.mk file
Encounted the same error but none of the above works. I chose to install kaldi following kaldi's installation guid and it worked. Here is the procedure, you should first execute ./install.sh in gentle root and see the error, then go through steps below:
cd ext/kaldi/tools
sudo extras/check_denpendicies.sh
: Check dependencies. Refer to INSTALL in this directory for details.sudo make clean
: Follow gentle install_kaldi.sh guide.sudo make
: Follow kaldi installation guide.sudo extras/install_openblas.sh
: Follow gentle install_kaldi.sh. I executed sudo apt-get install python
because I got the error: extras/install_openblas.sh: line 27: python: command not found.cd ../src
sudo ./configure --static --static-math=yes --static-fst=yes --use-cuda=no --openblas-root=../tools/OpenBLAS/install
: Follow gentle install_kaldi.sh guide.sudo make depend -j 8
: Follow kaldi installation guide. Refer to INSTALL in this directory for details.sudo make -j 8
: Follow kaldi installation guide.cd ../../..
: Go back to gentle root. sudo ./install_models.sh
: Follow gentle install.sh guide.cd ext
sudo make depend
: Follow gentle install.sh guide.sudo make
: Follow gentle install.sh guide. The installation of gentle should have finished at this step.cd ../..
: Back to project root.Just in case someone else runs into the same error.
When I run install.sh on Linux, it eventually stops at this error.
Makefile:5: kaldi/src/kaldi.mk: No such file or directory Not building with cuda!!! make: *** No rule to make target 'kaldi/src/kaldi.mk'. Stop.
the ext/kaldi/src direct has a bunch of other things but is indeed missing kaldi.mk file.