[SRILM User List] The bug in sys/wait.h with Cygwin 4.5

trinity s trinity.sneh at gmail.com
Mon Jun 4 11:52:29 PDT 2012


Just tried using -ltcl8.5 . That worked for me too. Thanks for
pointing that out Andreas.

On Mon, Jun 4, 2012 at 2:51 PM, trinity s <trinity.sneh at gmail.com> wrote:
> Yes, I just figured out I was getting mixed up between two issues.
> Sorry for the confusion.
>  I turned off Tcl support by adding NO_TCL=X following the SRILM build
> FAQs. Hasn't messed anything for me so far.
>
> On Mon, Jun 4, 2012 at 2:37 PM, Andreas Stolcke
> <stolcke at icsi.berkeley.edu> wrote:
>> On 6/4/2012 9:34 AM, trinity s wrote:
>>>
>>> Hello
>>> I came across this post about the error in LM.cc
>>> http://www.speech.sri.com/pipermail/srilm-user/2012q1/001162.html
>>>
>>> I am facing the same issue but the fix suggested does not seem to work
>>> for me. I continue to get the exact same error message. I am trying to
>>> install SRILM 1.6 using cygwin 4.5.3 on Windows 7.
>>> Here's the error message I see:
>>>
>>> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
>>> cannot find -ltcl84
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [../bin/cygwin/maxalloc.exe] Error 1
>>> make[1]: *** [release-programs] Error 1
>>> make: *** [World] Error 2
>>
>>
>> The subject line of the message is misleading.  Your problem has nothing to
>> do with wait.h, but with setting up the proper Tcl installation.
>>
>> 1. Install tcl/tk within cygwin, Ubuntu, ..., whatever your distribution is.
>> 2. Find what the name of the installed library is:  look for
>> /usr/lib/libtcl.a, /usr/lib/libtcl8.5.a, etc.
>> 3. Assuming the library is called libtcl8.5, edit
>> common/Makefile.machine.$MACHINE_TYPE to use
>>
>>            TCL_LIBRARY = -ltcl8.5
>>
>> Andreas
>>



More information about the SRILM-User mailing list