I had the same problem when I tried to build it on Ubuntu 8.04.&nbsp; First, you have to make sure that you have tcl/tk installed (sudo apt-get install tcl-dev), and then you&#39;ll have to tell the compiler where the tcl headers and libraries are, since the Makefile doesn&#39;t look in the right place for Ubuntu 8.04 distros.<br>
<br>Something like<br><br>&nbsp;&nbsp; ADDITIONAL_INCLUDES = -I/usr/include/tcl8.4<br><br>ought to do it.&nbsp; There&#39;s probably other little tweaks I had to do (it&#39;s been a while), so if you want to download my tarball-ed build (so you can compare it with your setup and see the diffs), just let me know.<br>
<br>Best of luck,<br>Chris<br><br><div class="gmail_quote">On Tue, Jan 6, 2009 at 5:03 PM, Mr.SpOOn <span dir="ltr">&lt;<a href="mailto:mr.spoon21@gmail.com">mr.spoon21@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">2009/1/6 Andreas Stolcke &lt;<a href="mailto:stolcke@speech.sri.com">stolcke@speech.sri.com</a>&gt;:<br>
</div><div class="Ih2E3d">&gt; They would be in the output from the &quot;make&quot; command, after the command lines<br>
&gt; that invoke the compiler (typically something starting wiht &quot;gcc&quot;. &nbsp; If you<br>
&gt; cannot make sense of your situation you should probably consult with a local<br>
&gt; person who has experience building software.<br>
<br>
</div>I did this:<br>
<br>
make World &gt; output<br>
<br>
So, in the &quot;output&quot; file I&#39;ve found this, that may be the problem:<br>
<br>
<br>
make[2]: Leaving directory `/home/carlo/ordinami/srilm/dstruct/src&#39;<br>
make[2]: Entering directory `/home/carlo/ordinami/srilm/lm/src&#39;<br>
g++ -mtune=pentium3 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES<br>
-D_FILE_OFFSET_BITS=64 &nbsp; -I/usr/include/tcl8.5 -I. -I../../include<br>
-u matherr -L../../lib/i686 &nbsp;-g -O3 -o ../bin/i686/ngram<br>
../obj/i686/ngram.o ../obj/i686/liboolm.a -lm -ldl<br>
../../lib/i686/libflm.a ../../lib/i686/libdstruct.a<br>
../../lib/i686/libmisc.a -L/usr/lib/tcl8.5 -ltcl -lm 2&gt;&amp;1 | c++filt<br>
/usr/bin/ld: cannot find -ltcl<br>
collect2: ld returned 1 exit status<br>
/home/carlo/ordinami/srilm/sbin/decipher-install 0555<br>
../bin/i686/ngram ../../bin/i686<br>
ERROR: &nbsp;File to be installed (../bin/i686/ngram) does not exist.<br>
ERROR: &nbsp;File to be installed (../bin/i686/ngram) is not a plain file.<br>
Usage: &nbsp;decipher-install &lt;mode&gt; &lt;file1&gt; ... &lt;fileN&gt; &lt;directory&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;mode: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; file permission mode, in octal<br>
 &nbsp; &nbsp; &nbsp; &nbsp;file1 ... fileN: &nbsp; &nbsp; &nbsp;files to be installed<br>
 &nbsp; &nbsp; &nbsp; &nbsp;directory: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;where the files should be installed<br>
<br>
files = &nbsp;../bin/i686/ngram<br>
directory = &nbsp;../../bin/i686<br>
mode = &nbsp;0555<br>
<br>
touch -c ../../bin/i686/ngram<br>
<br>
<br>
But I don&#39;t understand what&#39;s the problem.<br>
<br>
Besides this, in the terminal (I think it&#39;s the standard error) appeared this:<br>
<br>
mkdir: cannot create directory `include&#39;: File exists<br>
mkdir: cannot create directory `lib&#39;: File exists<br>
mkdir: cannot create directory `bin&#39;: File exists<br>
make: [dirs] Error 1 (ignored)<br>
make[2]: [../../bin/i686/ngram] Error 1 (ignored)<br>
make[2]: [../../bin/i686/ngram-count] Error 1 (ignored)<br>
make[2]: [../../bin/i686/ngram-merge] Error 1 (ignored)<br>
make[2]: [../../bin/i686/ngram-class] Error 1 (ignored)<br>
make[2]: [../../bin/i686/disambig] Error 1 (ignored)<br>
make[2]: [../../bin/i686/anti-ngram] Error 1 (ignored)<br>
make[2]: [../../bin/i686/nbest-lattice] Error 1 (ignored)<br>
make[2]: [../../bin/i686/nbest-mix] Error 1 (ignored)<br>
make[2]: [../../bin/i686/nbest-optimize] Error 1 (ignored)<br>
make[2]: [../../bin/i686/nbest-pron-score] Error 1 (ignored)<br>
make[2]: [../../bin/i686/segment] Error 1 (ignored)<br>
make[2]: [../../bin/i686/segment-nbest] Error 1 (ignored)<br>
make[2]: [../../bin/i686/hidden-ngram] Error 1 (ignored)<br>
make[2]: [../../bin/i686/multi-ngram] Error 1 (ignored)<br>
make[2]: [../../bin/i686/fngram-count] Error 1 (ignored)<br>
make[2]: [../../bin/i686/fngram] Error 1 (ignored)<br>
make[2]: [../../bin/i686/lattice-tool] Error 1 (ignored)<br>
<br>
Any suggestions?<br>
</blockquote></div><br>