Installation: failing the tests
stolcke at speech.sri.com
Mon Jan 5 20:55:00 PST 2009
> I'm new here.
> I'm trying to install SRILM on an Ubuntu 8.04. I thought I built
> everything fine, but I get errors in the test phase (point 7 of the
> INSTALL file).
> When I give the command:
> make all
> it starts the tests and appear a lot of things like this:
> *** Running test hidden-ngram ***
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed 66%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+8outputs (0major+600minor)pagefaults 0swaps
> hidden-ngram: stdout output DIFFERS.
> hidden-ngram: stderr output DIFFERS.
> When it finishes and I check the output files, I find that all .stdout
> files are empty, while in the .stderr ones there are errors like
> ./run-test: 16: ngram: not found
> ./run-test: 19: ngram-count: not found
> ./run-test: 22: ngram: not found
> Now I don't really know what to do. What can be the problem?
It looks like the executables (ngram etc.) weren't generated. Make
sure $SRILM/bin/i686 actually contains
these files. If not then examine the make output for error messages
from the compiler or linker.
> I think I set the environment variables right. I put them in the ~/.bashrc file.
> I did so:
> export PATH ALIGN_BASE MANPATH
> Can you help me?
If it looks like the executable were generated, try 'which ngram' and
see if they are found.
More information about the SRILM-User