<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>Hi,</div><div>I try to install srilm , i did this steps <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">1-  i execute <span style="font-weight:bold;">sudo ./sbin/machine-type </span> and my machine type is :<span style="font-weight:bold;"> i686-m64</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">2- in the file /home/lenovo/Documents/srilm/common/ Makefile.machine.i686-m64 i replace <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
 Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="font-weight:bold;">GCC_FLAGS = -mtune=pentium3 -Wreturn-type -Wimplicit<br>CC = /usr/local/lang/gcc-3.4.3/bin/gcc $(GCC_FLAGS)<br>CXX = /usr/local/lang/gcc-3.4.3/bin/g++ -Wno-deprecated $(GCC_FLAGS)<br>-DINSTANTIATE_TEMPLATES</span><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">by : <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"> <span style="color:rgb(156, 0, 92);"><span style="font-weight:bold;"># Use the GNU C compiler.<br>  GCC_FLAGS = -arch=i686-m64 -Wreturn-type -Wimplicit<br>CC = /usr/bin/gcc $(GCC_FLAGS)<br>CXX = /usr/bin/g++
 -Wno-deprecated $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES </span></span><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">and <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span style="font-weight:bold;">#TCL_INCLUDE =<br>#TCL_LIBRARY = -ltcl</span><br><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">by :  <br></div><div style="color:rgb(0,
 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"> <span style="font-weight:bold;"><span style="color:rgb(68, 0, 98);"># Tcl support (standard in Linux)<br> TCL_INCLUDE = -I/usr/include/tcl8.5<br>TCL_LIBRARY = -ltcl8.5</span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br></div>3- i execute <span style="font-weight:bold;">make SRILM=/home/lenovo/Documents/srilm  World</span><br> <span style="color:rgb(205, 35, 44);"><span style="font-weight:bold;">but i have this error :
 make[2]: Leaving directory `/home/lenovo/Documents/srilm/lattice/src'<br>make[2]: Entering directory `/home/lenovo/Documents/srilm/utils/src'<br>rm -f Dependencies.i686-m64<br>/home/lenovo/Documents/srilm/sbin/generate-program-dependencies ../bin/i686-m64 ../obj/i686-m64 ""  | sed -e "s&\.o&.o&g" >> Dependencies.i686-m64<br>make[2]: Leaving directory `/home/lenovo/Documents/srilm/utils/src'<br>make[1]: Leaving directory `/home/lenovo/Documents/srilm'<br>make release-libraries<br>make[1]: Entering directory `/home/lenovo/Documents/srilm'<br>for subdir in misc dstruct lm flm lattice utils; do \<br>        (cd $subdir/src; make SRILM=/home/lenovo/Documents/srilm MACHINE_TYPE=i686-m64 OPTION= MAKE_PIC= release-libraries) || exit 1; \<br>    done<br>make[2]: Entering directory `/home/lenovo/Documents/srilm/misc/src'<br>/usr/bin/gcc -arch=i686-m64 -Wreturn-type -Wimplicit  
 -I/usr/include/tcl8.5 -I. -I../../include   -c -g -O3  -o ../obj/i686-m64/option.o option.c<br>gcc: error: unrecognized option ‘-arch=i686-m64’<br>make[2]: *** [../obj/i686-m64/option.o] Error 1<br>make[2]: Leaving directory `/home/lenovo/Documents/srilm/misc/src'<br>make[1]: *** [release-libraries] Error 1<br>make[1]: Leaving directory `/home/lenovo/Documents/srilm'<br>make: *** [World] Error 2<br><br><br></span></span>can some one help me plz !! </div></body></html>