[SRILM User List] Fwd: SRILM install: LM.cc error

Andreas Stolcke stolcke at icsi.berkeley.edu
Sun Feb 12 17:24:43 PST 2012

On 2/12/2012 5:27 AM, alex tudor wrote:
> ---------- Forwarded message ----------
> From: *alex tudor* <alexx.tudor at gmail.com <mailto:alexx.tudor at gmail.com>>
> Date: Sun, Feb 12, 2012 at 3:23 PM
> Subject: Re: [SRILM User List] SRILM install: LM.cc error
> To: prochva1 at fel.cvut.cz <mailto:prochva1 at fel.cvut.cz>
> Andreas, it works ! Thank you !
> Vaclav, I read it but that package fixed aren't in the cygwin install 
> yet. I'll try to download it separately.
> Now I have another problem:
> make[2]: Entering directory `/cygdrive/c/srilm13/dstruct/src'
> gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int    
> -I. -I../../include   -c -g -O2 -o ../obj/cygwin/maxalloc.o maxalloc.c
> g++ -Wall -Wno-unused-variable -Wno-uninitialized 
> -DINSTANTIATE_TEMPLATES    -I. -I../../include   -L../../lib/cygwin  
> -g -O2 -o ../bin/cygwin/maxalloc.exe ../obj/cygwin/maxalloc.o 
> ../obj/cygwin/libdstruct.a  -lm  ../../lib/cygwin/libmisc.a  -ltcl84  -lm
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: 
> cannot find -ltcl84
> collect2: ld returned 1 exit status
> /cygdrive/c/srilm13/common/Makefile.common.targets:108: recipe for 
> target `../bin/cygwin/maxalloc.exe' failed
> I suppose I need tcl-tk 8.4, but in cygwin is only 8.5.11. Any ideas ?

You should be able to build with any recent Tcl version, possibly 
adjusting the name of the library. In the worst case just disable Tcl 
support as described in the FAQ.


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

More information about the SRILM-User mailing list