[SRILM User List] Fw: Problem building SRILM with cygwin

s a shamsaabid at yahoo.com
Sat Jul 16 09:30:56 PDT 2011


Thanks, the problem was that in the first line#define SRILM_RELEASE "1.5.12"the ending quotes were on the next lineI fixed it manually and ran make world and the build was thankfully error free.Thanks.    

--- On Sat, 7/16/11, Andreas Stolcke <stolcke at ICSI.Berkeley.EDU> wrote:

From: Andreas Stolcke <stolcke at ICSI.Berkeley.EDU>
Subject: Re: [SRILM User List] Fw: Problem building SRILM with cygwin
To: "s a" <shamsaabid at yahoo.com>
Cc: srilm-user at speech.sri.com
Date: Saturday, July 16, 2011, 10:50 AM


Your output shows:

    SRILMversion.h:1:23: warning: missing terminating " character

so something went wrong in the generation of this file.

Try
    % cd misc/src
    % rm SRILMversion.h
    % make SRILMversion.h

The file should look similar to this:

    #define SRILM_RELEASE "1.6.0-beta"
    #define SRILM_COPYRIGHT "\n\
    This software is subject to the SRILM Community Research License Version\n\
    1.0 (the \"License\"); you may not use this software except in compliance\n\
    with the License. A copy of the License is included in the SRILM root\n\
    directory.  Software distributed under the License is distributed on an\n\
    \"AS IS\" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.\n\
    See the License for the specific language governing rights and\n\
    limitations under the License.  This software is Copyright (c) SRI\n\
    International, 1995-2011.  All rights reserved.\n\
    \n\
    If this software was obtained under a commercial license agreement with\n\
    SRI then the provisions therein govern the use of the software and the\n\
    above notice does not apply.\n\
    "

Notice the double quotes starting and ending all string values, and the use of backslashes.
If this is not the case for you then your cygwin installation might have a problem.

In that case try fixing the file by hand, then go back to the top-level directory and run make World again.

Andreas 

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


More information about the SRILM-User mailing list