[SRILM User List] Problems building SRILM

Jared Wein weinjared at gmail.com
Sat Apr 3 21:57:16 PDT 2010


>
> this time it is the SRILM variable that is not set correctly.  It appears
> to be set to ~/Downloads/srilm, but the ~ symbol is not understood by make
> or /bin/sh.
> Try
> make SRILM=/full/path/to/your/srilm/directory ....
>
> Andreas
>

Thanks Andreas. I was able to get it all built.

I set the SRILM variable, but then had an issue with multiple definitions
for some functions in one of the standard headers. I changed my machine type
to i686-gcc4 per this thread (
http://www-speech.sri.com/pipermail/srilm-user/2009q4/000796.html) and then
had issues with a missing Tcl.h header. I installed tcl-devel but it still
didn't work and thus I got to:

`make MACHINE_TYPE=i686-gcc4 SRILM=/full/path/to/my/srilm/directory NO_TCL=X
World`

I've successfully been able to use ngram-count now. Thanks again for your
help.

- jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20100404/84ab9c2d/attachment.html>


More information about the SRILM-User mailing list