[SRILM User List] My makefile fails in cygwin?

Veton Kepuska vkepuska at fit.edu
Mon Oct 28 13:53:47 PDT 2013


Andreas,

Thank you very much for your information. I did that but I am getting this error message which hinders my installation even thought I did include (serveral times) the stddef package in Cygwin.
>>>>>>>>>>>>>>>>>>>>>

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 /usr/include/sys/reent.h:14:0,
                 from /usr/include/string.h:11,
                 from File.cc:12:
/usr/include/sys/_types.h:72:20: fatal error: stddef.h: No such file or director
y
#include <stddef.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:106: recipe for target 'release-libraries' failed
make[1]: *** [release-libraries] Error 1
make[1]: Leaving directory '/cygdrive/u/public_html/ece5527/srilm'
Makefile:55: recipe for target 'World' failed
make: *** [World] Error 2

<<<<<<<<<<<<<<<<<<<<

Thanks

--Veton

From: Andreas Stolcke [mailto:stolcke at icsi.berkeley.edu]
Sent: Monday, October 28, 2013 2:57 PM
To: Veton Kepuska; 'srilm-user at speech.sri.com'
Subject: Re: [SRILM User List] My makefile fails in cygwin?


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/20131028/4af2cd7a/attachment.html>


More information about the SRILM-User mailing list