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

Andreas Stolcke stolcke at icsi.berkeley.edu
Sat Jul 16 12:42:29 PDT 2011


In message <1310833856.85005.YahooMailClassic at web161003.mail.bf1.yahoo.com>you wrote:
> 
> Thanks, the problem was that in the first line
> #define SRILM_RELEASE "1.5.12"
> the ending quotes were on the next line
> I fixed it manually and ran make world and the build was thankfully error free.
> Thanks.
> 

Glad to hear it.  The question though is:   why did this happen?
When you regenerate the SRILMversion.h file it should run the commands:

	read version < /home/anstolck/srilm/RELEASE; echo "#define SRILM_RELEASE \"$version\"" > SRILMversion.h
	sed -f /home/anstolck/srilm/sbin/stringify-copyright /home/anstolck/srilm/Copyright >> SRILMversion.h

which, under a proper Cygwin installation, should produce the correct output.
(The first command is the one that appearently isn't working in your case.)

So you might want to experiment with you PATH and other environment settings, and let us know if you find a fix.

Andreas 



More information about the SRILM-User mailing list