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

Andreas Stolcke stolcke at icsi.berkeley.edu
Fri Jul 15 22:50:17 PDT 2011


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 



More information about the SRILM-User mailing list