[SRILM User List] error compiling SRILM

Ana Montalvo Bereau amontalvo at cenatav.co.cu
Mon Apr 8 11:30:24 PDT 2013


  I've added NO_TCL = X variable to the Makefile.machine.i686 file, and 
seted empty values to TCL_INCLUDE and TCL_LIBRARY variables.
it worked!
Thanks,
ana

On 04/08/2013 12:22 PM, Anurag Singh wrote:
> This might be similar to 
> http://www.speech.sri.com/pipermail/srilm-user/2007q1/000415.html
>
>
> On Mon, Apr 8, 2013 at 8:28 AM, Ana Montalvo Bereau 
> <amontalvo at cenatav.co.cu <mailto:amontalvo at cenatav.co.cu>> wrote:
>
>     Hi all, I'm a beginner with SRILM,I'm trying to compile it but I
>     got an error.
>     I use Ubuntu 32bit, so I only had to set the SRILM variable in the
>     Makefile and run make World, then why do I get this error?
>
>     make[2]: Entering directory `/home/ana/pincha/srilm/misc/src'
>     gcc -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -D_FILE_OFFSET_BITS=64    -I. -I../../include  
>     -c -g -O3 -o ../obj/i686/option.o option.c
>     gcc -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -D_FILE_OFFSET_BITS=64    -I. -I../../include  
>     -c -g -O3 -o ../obj/i686/zio.o zio.c
>     gcc -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -D_FILE_OFFSET_BITS=64    -I. -I../../include  
>     -c -g -O3 -o ../obj/i686/fcheck.o fcheck.c
>     gcc -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -D_FILE_OFFSET_BITS=64    -I. -I../../include  
>     -c -g -O3 -o ../obj/i686/fake-rand48.o fake-rand48.c
>     g++ -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -DINSTANTIATE_TEMPLATES
>     -D_FILE_OFFSET_BITS=64    -I. -I../../include   -c -g -O3 -o
>     ../obj/i686/Debug.o Debug.cc
>     g++ -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -DINSTANTIATE_TEMPLATES
>     -D_FILE_OFFSET_BITS=64    -I. -I../../include   -c -g -O3 -o
>     ../obj/i686/File.o File.cc
>     g++ -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -DINSTANTIATE_TEMPLATES
>     -D_FILE_OFFSET_BITS=64    -I. -I../../include   -c -g -O3 -o
>     ../obj/i686/MStringTokUtil.o MStringTokUtil.cc
>     g++ -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -DINSTANTIATE_TEMPLATES
>     -D_FILE_OFFSET_BITS=64    -I. -I../../include   -c -g -O3 -o
>     ../obj/i686/tls.o tls.cc
>     g++ -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -DINSTANTIATE_TEMPLATES
>     -D_FILE_OFFSET_BITS=64    -I. -I../../include   -c -g -O3 -o
>     ../obj/i686/tserror.o tserror.cc
>     gcc -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -D_FILE_OFFSET_BITS=64    -I. -I../../include  
>     -c -g -O3 -o ../obj/i686/version.o version.c
>     g++ -m32 -mtune=pentium3 -Wall -Wno-unused-variable
>     -Wno-uninitialized -DINSTANTIATE_TEMPLATES
>     -D_FILE_OFFSET_BITS=64    -I. -I../../include   -c -g -O3 -o
>     ../obj/i686/tclmain.o tclmain.cc
>     *tclmain.cc:8:17: fatal error: tcl.h: No such file or directory*
>     compilation terminated.
>     make[2]: *** [../obj/i686/tclmain.o] Error 1
>     make[2]: Leaving directory `/home/ana/pincha/srilm/misc/src'
>     make[1]: *** [release-libraries] Error 1
>     make[1]: Leaving directory `/home/ana/pincha/srilm'
>     make: *** [World] Error 2
>
>
>     best regards
>     ana
>
>     _______________________________________________
>     SRILM-User site list
>     SRILM-User at speech.sri.com <mailto:SRILM-User at speech.sri.com>
>     http://www.speech.sri.com/mailman/listinfo/srilm-user
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20130408/47eda89c/attachment.html>


More information about the SRILM-User mailing list