[SRILM User List] My makefile fails in cygwin?

Andreas Stolcke stolcke at icsi.berkeley.edu
Mon Oct 28 11:57:06 PDT 2013


Your cygwin installation is missing the iconv package, it seems. Fire up 
the cygwin setup.exe , and when you get to the screen where you can 
modify what's to be installed, search for "iconv" and add it.

Andreas


On 10/29/2013 12:53 AM, Veton Kepuska wrote:
>
> Here is the error message:
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> make release-libraries
>
> make[1]: Entering directory '/cygdrive/u/public_html/ece5527/srilm'
>
> for subdir in misc dstruct lm flm lattice utils; do \
>
>         (cd $subdir/src; make 
> SRILM=/cygdrive/u/public_html/ece5527/srilm MACHIN
>
> E_TYPE=cygwin OPTION= MAKE_PIC= release-libraries) || exit 1; \
>
> done
>
> make[2]: Entering directory 
> '/cygdrive/u/public_html/ece5527/srilm/misc/src'
>
> g++ -Wall -Wno-unused-variable -Wno-uninitialized 
> -DINSTANTIATE_TEMPLATES    -I.
>
> -I../../include   -c -g -O2 -o ../obj/cygwin/File.o File.cc
>
> In file included from File.cc:27:0:
>
> srilm_iconv.h:15:25: fatal error: iconv.h: No such file or directory
>
> # include_next <iconv.h>
>
>                          ^
>
> compilation terminated.
>
> /cygdrive/u/public_html/ece5527/srilm/common/Makefile.common.targets:93: 
> recipe
>
> for target '../obj/cygwin/File.o' failed
>
> make[2]: *** [../obj/cygwin/File.o] Error 1
>
> make[2]: Leaving directory 
> '/cygdrive/u/public_html/ece5527/srilm/misc/src'
>
> Makefile:105: recipe for target 'release-libraries' failed
>
> make[1]: *** [release-libraries] Error 1
>
> make[1]: Leaving directory '/cygdrive/u/public_html/ece5527/srilm'
>
> Makefile:54: recipe for target 'World' failed
>
> make: *** [World] Error 2
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> Can someone help?
>

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


More information about the SRILM-User mailing list