I had the same problem when I tried to build it on Ubuntu 8.04. First, you have to make sure that you have tcl/tk installed (sudo apt-get install tcl-dev), and then you'll have to tell the compiler where the tcl headers and libraries are, since the Makefile doesn't look in the right place for Ubuntu 8.04 distros.<br>
<br>Something like<br><br> ADDITIONAL_INCLUDES = -I/usr/include/tcl8.4<br><br>ought to do it. There's probably other little tweaks I had to do (it'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"><<a href="mailto:mr.spoon21@gmail.com">mr.spoon21@gmail.com</a>></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 <<a href="mailto:stolcke@speech.sri.com">stolcke@speech.sri.com</a>>:<br>
</div><div class="Ih2E3d">> They would be in the output from the "make" command, after the command lines<br>
> that invoke the compiler (typically something starting wiht "gcc". If you<br>
> cannot make sense of your situation you should probably consult with a local<br>
> person who has experience building software.<br>
<br>
</div>I did this:<br>
<br>
make World > output<br>
<br>
So, in the "output" file I've found this, that may be the problem:<br>
<br>
<br>
make[2]: Leaving directory `/home/carlo/ordinami/srilm/dstruct/src'<br>
make[2]: Entering directory `/home/carlo/ordinami/srilm/lm/src'<br>
g++ -mtune=pentium3 -Wreturn-type -Wimplicit -DINSTANTIATE_TEMPLATES<br>
-D_FILE_OFFSET_BITS=64 -I/usr/include/tcl8.5 -I. -I../../include<br>
-u matherr -L../../lib/i686 -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>&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: File to be installed (../bin/i686/ngram) does not exist.<br>
ERROR: File to be installed (../bin/i686/ngram) is not a plain file.<br>
Usage: decipher-install <mode> <file1> ... <fileN> <directory><br>
mode: file permission mode, in octal<br>
file1 ... fileN: files to be installed<br>
directory: where the files should be installed<br>
<br>
files = ../bin/i686/ngram<br>
directory = ../../bin/i686<br>
mode = 0555<br>
<br>
touch -c ../../bin/i686/ngram<br>
<br>
<br>
But I don't understand what's the problem.<br>
<br>
Besides this, in the terminal (I think it's the standard error) appeared this:<br>
<br>
mkdir: cannot create directory `include': File exists<br>
mkdir: cannot create directory `lib': File exists<br>
mkdir: cannot create directory `bin': 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>